This commit is contained in:
Laurie MONTANT 2025-12-15 15:15:04 +01:00
parent 84bb2ca294
commit c15b087c68

View File

@ -36,11 +36,15 @@
"physical_receipt_list": [ "physical_receipt_list": [
<#list eventRP.executionflowCustomFields.entrySet()?filter(l ->l.value?? && l.value?has_content) as custom> <#list eventRP.executionflowCustomFields.entrySet()?filter(l ->l.value?? && l.value?has_content) as custom>
{ {
"receipt_activity": "${custom.value.activity_code?json_string}", <#if appointment.Commissions.OrderID ?? && appointment.Commissions.OrderID!="">
"originator_code": "${custom.value.originator_code?json_string}", "receipt_activity": "${custom.value.activity_code?json_string}",
"physical_receipt_reference": "${custom.value.reference?json_string}", "originator_code": "${custom.value.originator_code?json_string}",
"receipt_year": "${custom.value.order_year?json_string}", "physical_receipt_reference": "${custom.value.reference?json_string}",
"receipt_number": "${custom.value.order_number?json_string}" "receipt_year": "${custom.value.order_year?json_string}",
"receipt_number": "${custom.value.order_number?json_string}"
<#else>
"appointment_designation":"${appointment.Reason?json_string}+" "+${appointment.Commissions.Quantities.Value}${appointment.Commissions.Quantities.UnitID}"
</#if>
} }
<#sep>,</#sep> <#sep>,</#sep>
</#list> </#list>
@ -50,6 +54,7 @@
"appointment_designation":"LOADING", "appointment_designation":"LOADING",
</#if> </#if>
</#if> </#if>
</#if> </#if>
"constant_appointment": "false" "constant_appointment": "false"