diff --git a/RPtoRFX_PrepOrder.ftl b/RPtoRFX_PrepOrder.ftl index 53f3dcb..9c2d2c3 100644 --- a/RPtoRFX_PrepOrder.ftl +++ b/RPtoRFX_PrepOrder.ftl @@ -11,7 +11,7 @@ <#-- 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!=""> - <#if (executionflow.ShipTo.ActorID?number >4) > + <#if (executionflow.ShipTo.ActorID?length gt 4) > <#assign actorID = "${RPtoRFXprefixConsignee(executionflow.ShipTo.ActorID)}" > <#else> <#assign actorID = "${executionflow.ShipTo.ActorID}" > @@ -27,7 +27,7 @@ "uri_substitutions": { "activity_code": "${activity_code}", <#if executionflow.ShipFrom.ActorID?? && executionflow.ShipFrom.ActorID!=""> - <#if (executionflow.ShipFrom.ActorID?number >4) > + <#if (executionflow.ShipFrom.ActorID?length gt 4) > "physical_depot_code": "${RPtoRFXprefixDepot(executionflow.ShipFrom.ActorID)}", <#else> "physical_depot_code": "${executionflow.ShipFrom.ActorID}",