From 380b6ea116371e6b2ae62cbe0a052a2515705ccc Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Tue, 16 Jan 2024 14:48:17 +0100 Subject: [PATCH] Modifs Hsrprepa 1601241448 --- RFXtoRP_HsrPrepa.ftl | 6 +++--- RFXtoRP_HsrPrepa_HandlingUnitDispatched.ftl | 8 ++++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/RFXtoRP_HsrPrepa.ftl b/RFXtoRP_HsrPrepa.ftl index 2f2720f..c2fd0a2 100644 --- a/RFXtoRP_HsrPrepa.ftl +++ b/RFXtoRP_HsrPrepa.ftl @@ -63,13 +63,13 @@ "apiReflexPlatformID" : "${apiReflexPlatformID}", "datas" : <#include "RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl"> - }, - { + } + <#-- { <#assign apiReflexPlatformID = ApiReflexPlatformID.HandlingunitDispatched> "apiReflexPlatformID" : "${apiReflexPlatformID}", "datas" : <#include "RFXtoRP_HsrPrepa_HUsAdded_HandlingUnitDispatched.ftl"> - } + } --> <#sep>, diff --git a/RFXtoRP_HsrPrepa_HandlingUnitDispatched.ftl b/RFXtoRP_HsrPrepa_HandlingUnitDispatched.ftl index 6105a16..cca110c 100644 --- a/RFXtoRP_HsrPrepa_HandlingUnitDispatched.ftl +++ b/RFXtoRP_HsrPrepa_HandlingUnitDispatched.ftl @@ -9,11 +9,15 @@ "ProjectID": "${projectRP}" }, "ID": { - <#if despatched_ipg.carton_number != "000000000000000000"> + + "RefID": "${despatched_ipg.hd_number}", + + + <#-- <#if despatched_ipg.carton_number != "000000000000000000"> "RefID": "${despatched_ipg.carton_number}", <#else> "RefID": "${despatched_ipg.hd_number}", - + --> "RefDate": { "DateTime": "${dispatched_datetime}", "AuthorTimeZone": "${time_zone_rfx}"