SCPN1-10706

This commit is contained in:
2026-04-30 15:02:26 +02:00
parent d8a38fc908
commit 1f9a8c5894

View File

@@ -11,7 +11,11 @@
<#-- If you are using unreferenced actors, you will need to create a "VIZ" consignee in HARDIS WMS to use this feature -->
<#assign defaultactor ="VIZ">
<#if executionflow.ShipTo.ActorID?? && executionflow.ShipTo.ActorID!="">
<#assign actorID = "${RPtoRFXprefixConsignee(executionflow.ShipTo.ActorID)}" >
<#if uniqueness && (executionflow.ShipTo.ActorID?number >4) >
<#assign actorID = "${RPtoRFXprefixConsignee(executionflow.ShipTo.ActorID)}" >
<#else>
<#assign actorID = "${executionflow.ShipTo.ActorID}" >
</#if>
<#else>
<#assign actorID = defaultactor >
</#if>
@@ -22,7 +26,13 @@
"method" : "POST",
"uri_substitutions": {
"activity_code": "${activity_code}",
"physical_depot_code": "${RPtoRFXprefixDepot(executionflow.ShipFrom.ActorID)}",
<#if executionflow.ShipFrom.ActorID?? && executionflow.ShipFrom.ActorID!="">
<#if uniqueness && (executionflow.ShipFrom.ActorID?number >4) >
"physical_depot_code": "${RPtoRFXprefixDepot(executionflow.ShipFrom.ActorID)}",
<#else>
"physical_depot_code": "${executionflow.ShipFrom.ActorID}",
</#if>
</#if>
"originator_code": "${originator_code}"
},
"payload" :