This commit is contained in:
2024-10-07 14:52:28 +02:00
parent 25011e68e6
commit 65601133f1
20 changed files with 155 additions and 137 deletions

View File

@@ -26,29 +26,16 @@
"ShipFrom":
{
<#if uniqueness?? && uniqueness!="" >
"ActorID": "${receipt.original_code?trim?json_string}"
<#else>
"ActorID": "${prefixsupplier}${receipt.original_code?trim?json_string}"
</#if>
"ActorID": "${RFXtoRPprefixSupplier(receipt.original_code?trim?json_string)}"
},
"ShipTo" :
{
<#if uniqueness?? && uniqueness!="" >
"ActorID": "${receipt.physical_depot_code?trim?json_string}"
<#else>
"ActorID": "${prefixdepot}${receipt.physical_depot_code?trim?json_string}"
</#if>
"ActorID": "${RFXtoRPprefixDepot(receipt.physical_depot_code?trim?json_string)}"
},
"ShipToAcked": true,
<#if receipt.carrier_informations.carrier_code != "">
<#if uniqueness?? && uniqueness!="" >
"Carrier" : {"ActorID": "${receipt.carrier_informations.carrier_code?trim?json_string}"},
<#else>
"Carrier" : {"ActorID": "${prefixcarrier}${receipt.carrier_informations.carrier_code?trim?json_string}"},
</#if>
"Carrier": "${RFXtoRPprefixCarrier(receipt.carrier_informations.carrier_code?trim?json_string)}",
</#if>
<#if receipt.line_list??>