#WITH(#Parent.Parent)
#IF(#BillingAddress) #WITH(#BillingAddress)

{BillingAddress}

#FUNCTION("LocaleInclude", "Address", #Country.Code2)
#ENDWITH #ENDIF #IF(#ShippingAddress)
#WITH(#ShippingAddress)

{ShippingAddress}

#FUNCTION("LocaleInclude", "Address", #Country.Code2)
#ENDWITH #ENDIF
{Order}
{OrderNo}: #Alias {CustomerNoShort}: #Customer.Alias
{OrderDate}: #CreationDate[date_tz]  
#WITH(#BillingAddress) #INCLUDE("CustomerInfo") #ENDWITH #ENDWITH

{Product}

#Product.Name (#Product.Alias)
#IF(#LocalizedVariationString)#LocalizedVariationString
#ENDIF {Quantity}: #Quantity

{Customization}

#LOCAL("CustomizationOptions","" ) #IF(#DEFINED(#Product.SuperProduct))#SET("CustomizationOptions",#Product.SuperProduct.CustomizationOptions) #ELSE #SET("CustomizationOptions",#Product.CustomizationOptions)#ENDIF #LOOP(#CustomizedTexts) #LOCAL("OptionName","{Text}" ) #LOOP(#CustomizationOptions) #IF(#OptionID == #ID)#SET("OptionName",#NameOrAlias)#ENDIF #ENDLOOP #OptionName:
#Text[preline]
{Font}: #FontName, #FontSize[integer] pt, #IF(#Orientation)#Orientation°, #ENDIF     (#Color)
#ENDLOCAL #ENDLOOP
#LOOP(#CustomizedFiles) #LOCAL("OptionName","{File}" ) #LOOP(#CustomizationOptions) #IF(#OptionID == #ID)#SET("OptionName",#NameOrAlias)#ENDIF #ENDLOOP #OptionName: #FileName #IF(#Orientation)(#Orientation°)#ENDIF

#ENDLOCAL #ENDLOOP #ENDLOCAL