From 91c589f4d56b69e932d7a19bf4a3d3f7d0481d93 Mon Sep 17 00:00:00 2001 From: Francis Reat Date: Tue, 7 Jul 2026 14:00:14 +0200 Subject: [PATCH] SCPN1-10996 --- RPtoRFX_AppointmentEvent.ftl | 4 ++-- ..._CarrierAppointmentPhysicalReceiptDissociationByNumber.ftl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RPtoRFX_AppointmentEvent.ftl b/RPtoRFX_AppointmentEvent.ftl index 439faec..c2c4756 100644 --- a/RPtoRFX_AppointmentEvent.ftl +++ b/RPtoRFX_AppointmentEvent.ftl @@ -28,8 +28,8 @@ <#assign AddComma = false /> <#assign appointment = eventRP.data /> - <#-- processing is stopped because the Updated event contains no relevant change to forward to the WMS. --> - <#if !eventRP.commissionsUpdated!false && !eventRP.reasonUpdated!false && !eventRP.slotUpdated!false && !eventRP.carrierInformationUpdated!false> + <#-- processing is stopped because the Updated event contains no relevant change to forward to the WMS. --> + <#if !(eventRP.commissionsUpdated!false) && !(eventRP.reasonUpdated!false) && !(eventRP.slotUpdated!false) && !(eventRP.carrierInformationUpdated!false)> <#stop> [ diff --git a/RPtoRFX_CarrierAppointmentPhysicalReceiptDissociationByNumber.ftl b/RPtoRFX_CarrierAppointmentPhysicalReceiptDissociationByNumber.ftl index 2f70e6c..0fcec0b 100644 --- a/RPtoRFX_CarrierAppointmentPhysicalReceiptDissociationByNumber.ftl +++ b/RPtoRFX_CarrierAppointmentPhysicalReceiptDissociationByNumber.ftl @@ -17,7 +17,7 @@ "physical_receipt_list": [ - <#list removedCommissions?filter(l -> l.ExecutionflowID??) as removedCommission> + <#list removedCommissions?filter(l -> (l.ExecutionflowID?? && l.ExecutionflowID != "")) as removedCommission> { "receipt_activity": "${executionflowCustomFields[removedCommission.ExecutionflowID].activity_code?json_string}", "originator_code": "${executionflowCustomFields[removedCommission.ExecutionflowID].originator_code?json_string}",