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}"