From bb20aae908d4cba9704ecebe1c8539e939d1488d Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Wed, 10 Dec 2025 10:48:08 +0100 Subject: [PATCH] RDV --- RPtoRFX_CarrierAppointmentCreated.ftl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/RPtoRFX_CarrierAppointmentCreated.ftl b/RPtoRFX_CarrierAppointmentCreated.ftl index 1d06058..613ed38 100644 --- a/RPtoRFX_CarrierAppointmentCreated.ftl +++ b/RPtoRFX_CarrierAppointmentCreated.ftl @@ -35,11 +35,14 @@ "physical_receipt_list": [ <#list appointment.Commissions as commission> { - "receipt_activity": "${eventRP.executionflowCustomFields.activity_code?json_string}", - "originator_code": "${eventRP.executionflowCustomFields.originator_code?json_string}", - "physical_receipt_reference": "${eventRP.executionflowCustomFields.reference?json_string}", - "receipt_year": "${eventRP.executionflowCustomFields.order_year?json_string}", - "receipt_number": "${eventRP.executionflowCustomFields.order_number?json_string}" + <#list eventRP.executionflowCustomFields.entrySet() as custom> + ${custom} + "receipt_activity": "${custom.value.activity_code?json_string}", + "originator_code": "${custom.value.originator_code?json_string}", + "physical_receipt_reference": "${custom.value.reference?json_string}", + "receipt_year": "${custom.value.order_year?json_string}", + "receipt_number": "${custom.value.order_number?json_string}" + } <#sep>,