<#--
   ******************************************************
   *
   *                       NOTICE
   *
   *  THIS SOFTWARE IS THE PROPERTY OF AND CONTAINS
   *  CONFIDENTIAL INFORMATION OF INFOR, AND SHALL NOT BE
   *  COPIED, USED, NOR DISCLOSED WITHOUT EXPRESS WRITTEN
   *  AUTHORIZATION.  ALTHOUGH PUBLICATION IS NOT
   *  INTENDED, IN THE EVENT OF PUBLICATION, THE
   *  FOLLOWING NOTICE IS APPLICABLE:
   *
   *  Copyright © 2009 Infor. All rights reserved.
   *  The word and design marks set forth herein are
   *  trademarks and/or registered trademarks of Infor
   *  and/or related affiliates and subsidiaries.
   *  All rights reserved. All other trademarks listed
   *  herein are the property of their respective owners.
   *  www.infor.com.
   *
   ******************************************************
  -->
<#--
	Contains all naming definitions
  -->
<#assign applicationName>${object.application.idref.name}</#assign>
<#assign applicationRelease>${object.application.idref.release}</#assign>
<#assign applicationBackendRelease>${object.application.idref.backendRelease}</#assign>
<#assign packageName>${object.implementationIdentifier[0..1]}</#assign>
<#assign moduleName>${object.implementationIdentifier[2..4]}</#assign>
<#assign businessObjectID>${object.implementationIdentifier[5..7]}</#assign>
<#assign businessInterfaceDesc=""/>
<#if object.businessInterfaceDefinition.idref.type=="bod">
	<#if object.businessInterfaceDefinition.idref.parent?has_content>
		<#assign noun=object.businessInterfaceDefinition.idref.parent.value/>	
	<#else>
		<#assign noun=object.businessInterfaceDefinition.idref.name/>
	</#if>
<#else>
	<#assign noun=""/>
</#if><#--if object.businessInterfaceDefinition.idref.type=="bod"-->
<#if object.visibility=="public">
<#-- For public BDEs we use the BID name, but for BODs we never use the BID name, but always the BII name.
For public BOD BIIs the BII name will be equal to the BID name + "BOD". -->
	<#if object.businessInterfaceDefinition.idref.type=="bod">
		<#assign businessInterfaceName=object.name/>
	<#else>
		<#assign businessInterfaceName=object.businessInterfaceDefinition.idref.name/>
	</#if><#--if object.businessInterfaceDefinition.idref.type=="bod"-->
	<#if object.businessInterfaceDefinition.idref.description?exists>  
		<#assign businessInterfaceDesc=object.businessInterfaceDefinition.idref.description/> 
	</#if> 
<#else><#--if object.visibility=="public"-->
	<#assign businessInterfaceName=object.name/>  
	<#if object.description?exists>  
		<#assign businessInterfaceDesc=object.description/> 
	</#if> 
</#if><#--if object.visibility=="public"-->
<#assign baseVRC>${properties.majorVersion}_${properties.minorVersion}_${properties.subordinateVersion}</#assign>

<#macro BDE_Code>${packageName}${moduleName}${businessObjectID}</#macro>
<#macro SB_DLLCode>${packageName}${moduleName}.bl${businessObjectID}sb00</#macro>
<#macro SC_DLLCode>${packageName}${moduleName}.bl${businessObjectID}sc00</#macro>
<#macro SF_DLLCode>${packageName}${moduleName}.bl${businessObjectID}sf00</#macro>
<#macro SM_DLLCode>${packageName}${moduleName}.bl${businessObjectID}sm00</#macro>
<#macro ST_DLLCode>${packageName}${moduleName}.bl${businessObjectID}st00</#macro>
<#macro SF_DLLCode>${packageName}${moduleName}.bl${businessObjectID}sf00</#macro>

<#macro SB_Object>o${packageName}${moduleName}bl${businessObjectID}sb00</#macro>
<#macro SC_Object>o${packageName}${moduleName}bl${businessObjectID}sc00</#macro>
<#macro SF_Object>o${packageName}${moduleName}bl${businessObjectID}sf00</#macro>
<#macro SM_Object>o${packageName}${moduleName}bl${businessObjectID}sm00</#macro>
<#macro ST_Object>o${packageName}${moduleName}bl${businessObjectID}st00</#macro>
<#macro SF_Object>o${packageName}${moduleName}bl${businessObjectID}sf00</#macro>