Merge branch 'SCPN1-11090' into 'release/2.0'

SCPN1-11090

See merge request r-d-technique/tiers/reflex-wms-connector!308
This commit is contained in:
2026-07-29 12:46:48 +00:00
2 changed files with 14 additions and 11 deletions

View File

@@ -358,7 +358,7 @@
]
</#switch>
<#break>
<#-- *********************************************** ApiRestID = canceled ******************** -->
<#-- *********************************************** ApiRestID = status ******************** -->
<#case "status_appointment_put_update_by_ref">
<#case "status_appointment_put_update_by_number">
<#switch restResponsetMsg.status!no_status>

View File

@@ -38,7 +38,11 @@
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING >
<#if appointment.Unloading?? && appointment.Unloading.Projects?? &&
appointment.Unloading.Projects[0]?? &&
appointment.Unloading.Projects[0].Commissions??>
appointment.Unloading.Projects[0].Commissions?? >
<#if (appointment.Unloading.Projects[0].Commissions[0].ExecutionflowID!"") == "" &&
(appointment.Unloading.Projects[0].Commissions[0].OrderID!"") == "">
"appointment_designation":"${(appointment.Reason!"")!?json_string}",
<#else>
"physical_receipt_list": [
<#list appointment.Unloading.Projects[0].Commissions?filter(l ->l.ExecutionflowID?? && l.ExecutionflowID !="") as commission>
<#list eventRP.executionflowCustomFields.entrySet()?filter(l ->l.key == commission.ExecutionflowID && l.value?? && l.value?has_content) as custom>
@@ -70,8 +74,7 @@
<#sep>,</#sep>
</#list>
],
<#else>
"appointment_designation":"${(appointment.Reason!"")!?json_string}",
</#if>
</#if>
<#else>
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_LOADING>