From 64c35417b3c0c012fe7a14b19e4437fd24f783ea Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Wed, 27 Dec 2023 16:22:25 +0100 Subject: [PATCH] Modifs 2712231622 --- RFXtoRP_HsrPrepa.ftl | 2 +- RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/RFXtoRP_HsrPrepa.ftl b/RFXtoRP_HsrPrepa.ftl index 1ffa770..4f4e04f 100644 --- a/RFXtoRP_HsrPrepa.ftl +++ b/RFXtoRP_HsrPrepa.ftl @@ -62,7 +62,7 @@ <#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_ipg2.carton_number}"]> <#assign apiReflexPlatformID = ApiReflexPlatformID.HandlingunitHUsAdded> diff --git a/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl b/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl index aa6e765..d0d5ded 100644 --- a/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl +++ b/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl @@ -12,8 +12,7 @@ "Payload": { - <#-- "IncludedHandlingunitIDs": [ <#list includeHU as hu> "${hu}"<#sep>,], --> - "IncludedHandlingunitIDs": [ includeHU <#sep>,<#sep>], +"IncludedHandlingunitIDs": [ <#list includeHU as hu> "${hu}"<#sep>,], "Information": { "ContainerType": "${preparation_line.despatched_hds_list[0].hd_type_code}", "Length": {