diff --git a/RFXtoRP_HsrPrepa.ftl b/RFXtoRP_HsrPrepa.ftl index b86c521..1f889a6 100644 --- a/RFXtoRP_HsrPrepa.ftl +++ b/RFXtoRP_HsrPrepa.ftl @@ -59,13 +59,8 @@ <#if despatched_ipg.carton_number != "000000000000000000" && despatched_ipg.carton_number!=despatched_ipg.hd_number > , { - <#assign includeHU = []> - <#--<#list preparation_line.despatched_ipg_list as despatched_ipg2> - <#if despatched_ipg.hd_number == despatched_ipg2.hd_number > - <#assign includeHU += ["${despatched_ipg2.carton_number}"]> - - --> - <#assign includeHU += ["${despatched_ipg.carton_number}"]> + + <#assign apiReflexPlatformID = ApiReflexPlatformID.HandlingunitHUsAdded> "apiReflexPlatformID" : "${apiReflexPlatformID}", "datas" : diff --git a/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl b/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl index 1461312..93c49ff 100644 --- a/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl +++ b/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl @@ -12,7 +12,7 @@ "Payload": { -"IncludedHandlingunitIDs": [ <#list includeHU as hu> "${hu}"<#sep>,] +"IncludedHandlingunitIDs": [ "${despatched_ipg.carton_number}" ] <#if preparation_line.despatched_hds_list?? > , "Information": {