From f5b20c2ac3a31b8cccb0923847513dd7b236860e Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Mon, 8 Dec 2025 14:59:56 +0100 Subject: [PATCH] RDV --- RPtoRFX_CarrierAppointmentCreated.ftl | 34 ++++++--------------------- 1 file changed, 7 insertions(+), 27 deletions(-) diff --git a/RPtoRFX_CarrierAppointmentCreated.ftl b/RPtoRFX_CarrierAppointmentCreated.ftl index 6c9d802..cd043a7 100644 --- a/RPtoRFX_CarrierAppointmentCreated.ftl +++ b/RPtoRFX_CarrierAppointmentCreated.ftl @@ -34,37 +34,17 @@ <#if appointment.Commissions??> "physical_receipt_list": [ <#list appointment.Commissions as commission> - <#-- { - "receipt_activity": "str", - "originator_code": "string", - "physical_receipt_reference": "string", - "receipt_year": 0, - "receipt_number": 0, - "comment_list": [ - { - "line_number": 999, - "group_code": "str", - "text": "string" - } - ] + { + "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}" - { - "ProjectID": "recette-rfxdev", - "OrderID": "SPA-121125-02", - "Quantities": [ - { - "UnitID": "PAL", - "Value": 1.0 - } - ], - "OrganisationID": "recette", - "PartnerAppID": "recette-rfxdev-rfxdev", - "ExecutionflowID": "DPFALIDEPT ALIMSPA-121125-02" - } } <#sep>, - --> + ],