<#-- --------------------------------------------------------------------------------------- --> <#-- Actor Prefix 4 cars --> <#-- --------------------------------------------------------------------------------------- --> <#-- For Depot --> <#function RFXtoRPprefixDepot depot> <#if uniqueness > <#local actor = depot> <#else> <#if text_language_rfx ="fr"> <#local actor = "DEP_"+depot> <#else> <#if text_language_rfx ="it"> <#local actor = "DEP_"+depot> <#else> <#if text_language_rfx ="es"> <#local actor = "DEP_"+depot> <#else> <#if text_language_rfx ="pl"> <#local actor = "MAG_"+depot> <#else> <#if text_language_rfx ="nl"> <#local actor = "DEP_"+depot> <#else> <#local actor = "DEP_"+depot> <#return (actor)> <#function RPtoRFXprefixDepot actor> <#if uniqueness> <#local depot = actor> <#else> <#local depot = actor[4..]> <#return (depot)> <#-- For Supplier --> <#function RFXtoRPprefixSupplier supplier> <#if uniqueness> <#local actor = supplier> <#else> <#if text_language_rfx ="fr"> <#local actor = "FOU_"+supplier> <#else> <#if text_language_rfx ="it"> <#local actor = "FOR_"+supplier> <#else> <#if text_language_rfx ="es"> <#local actor = "PRO_"+supplier> <#else> <#if text_language_rfx ="pl"> <#local actor = "DOS_"+supplier> <#else> <#if text_language_rfx ="nl"> <#local actor = "LEV_"+supplier> <#else> <#local actor = "SUP_"+supplier> <#return (actor)> <#function RPtoRFXprefixSupplier actor> <#if uniqueness> <#local supplier = actor> <#else> <#local supplier = actor[4..]> <#return (supplier)> <#-- For Carrier --> <#function RFXtoRPprefixCarrier carrier> <#if uniqueness> <#local actor = carrier> <#else> <#if text_language_rfx ="fr"> <#local actor = "TRA_"+carrier> <#else> <#if text_language_rfx ="it"> <#local actor = "VET_"+carrier> <#else> <#if text_language_rfx ="es"> <#local actor = "TRA_"+carrier> <#else> <#if text_language_rfx ="pl"> <#local actor = "PRZ_"+carrier> <#else> <#if text_language_rfx ="nl"> <#local actor = "VER_"+carrier> <#else> <#local actor = "CAR_"+carrier> <#return (actor)> <#function RPtoRFXprefixCarrier actor> <#if uniqueness> <#local carrier = actor> <#else> <#local carrier = actor[4..]> <#return (carrier)> <#-- For Consignee --> <#function RFXtoRPprefixConsignee consignee> <#if uniqueness> <#local actor = consignee> <#else> <#if text_language_rfx ="fr"> <#local actor = "DES_"+consignee> <#else> <#if text_language_rfx ="it"> <#local actor = "DES_"+consignee> <#else> <#if text_language_rfx ="es"> <#local actor = "DES_"+consignee> <#else> <#if text_language_rfx ="pl"> <#local actor = "ODB_"+consignee> <#else> <#if text_language_rfx ="nl"> <#local actor = "ONT_"+consignee> <#else> <#local actor = "CON_"+consignee> <#return (actor)> <#function RPtoRFXprefixConsignee actor> <#if uniqueness> <#local consignee = actor> <#else> <#local consignee = actor[4..]> <#return (consignee)>