You've already forked reflex-wms-connector
SCPN1-10882
This commit is contained in:
@@ -130,6 +130,29 @@
|
|||||||
"ProjectID" : "${projectRP}"
|
"ProjectID" : "${projectRP}"
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
<#else>
|
||||||
|
<#if carrier_apt.anticipated_receipt_list?? && (carrier_apt.anticipated_receipt_list?filter(l ->l??)?size != 0)>
|
||||||
|
"Unloading" :
|
||||||
|
{
|
||||||
|
"Projects" : [{
|
||||||
|
"Commissions": [
|
||||||
|
<#list carrier_apt.anticipated_receipt_list?filter(l ->l??) as anticipated_receipt>
|
||||||
|
{
|
||||||
|
"ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
|
||||||
|
<#if anticipated_receipt.anticipated_receipt_reference?? && anticipated_receipt.anticipated_receipt_reference!="">
|
||||||
|
"OrderID": "${anticipated_receipt.anticipated_receipt_reference?json_string}",
|
||||||
|
<#else>
|
||||||
|
"OrderID": "AR${carrier_apt.physical_depot?json_string}${anticipated_receipt.activity?json_string}${anticipated_receipt.originator_code?json_string}${anticipated_receipt.anticipated_receipt_year}${anticipated_receipt.anticipated_receipt_number}",
|
||||||
|
</#if>
|
||||||
|
"ProjectID": "${projectRP}",
|
||||||
|
"PartnerAppID": "${partnerApplicationRP}",
|
||||||
|
"OrganisationID": "${organisationRP}"
|
||||||
|
}<#sep>,</#sep>
|
||||||
|
</#list>
|
||||||
|
],
|
||||||
|
"ProjectID" : "${projectRP}"
|
||||||
|
}]
|
||||||
|
},
|
||||||
<#else>
|
<#else>
|
||||||
<#if appointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING>
|
<#if appointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING>
|
||||||
"Unloading" :
|
"Unloading" :
|
||||||
@@ -161,6 +184,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
|
</#if>
|
||||||
"Slot": {
|
"Slot": {
|
||||||
<#-- calcul de de la durée en fonction des start et end time-->
|
<#-- calcul de de la durée en fonction des start et end time-->
|
||||||
"DurationInSeconds": "${duration}",
|
"DurationInSeconds": "${duration}",
|
||||||
|
|||||||
@@ -115,6 +115,29 @@
|
|||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
"Reason": "",
|
"Reason": "",
|
||||||
|
<#else>
|
||||||
|
<#if carrier_apt.anticipated_receipt_list?? && (carrier_apt.anticipated_receipt_list?filter(l ->l??)?size != 0)>
|
||||||
|
"Unloading" :
|
||||||
|
{
|
||||||
|
"Projects" : [{
|
||||||
|
"Commissions": [
|
||||||
|
<#list carrier_apt.anticipated_receipt_list?filter(l ->l??) as anticipated_receipt>
|
||||||
|
{
|
||||||
|
"ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
|
||||||
|
<#if anticipated_receipt.anticipated_receipt_reference?? && anticipated_receipt.anticipated_receipt_reference!="">
|
||||||
|
"OrderID": "${anticipated_receipt.anticipated_receipt_reference?json_string}",
|
||||||
|
<#else>
|
||||||
|
"OrderID": "AR${carrier_apt.physical_depot?json_string}${anticipated_receipt.activity?json_string}${anticipated_receipt.originator_code?json_string}${anticipated_receipt.anticipated_receipt_year}${anticipated_receipt.anticipated_receipt_number}",
|
||||||
|
</#if>
|
||||||
|
"ProjectID": "${projectRP}",
|
||||||
|
"PartnerAppID": "${partnerApplicationRP}",
|
||||||
|
"OrganisationID": "${organisationRP}"
|
||||||
|
}<#sep>,</#sep>
|
||||||
|
</#list>
|
||||||
|
],
|
||||||
|
"ProjectID" : "${projectRP}"
|
||||||
|
}]
|
||||||
|
},
|
||||||
<#else>
|
<#else>
|
||||||
<#if appointmentType == AppointmentType.APPOINTMENT_TYPE_LOADING>
|
<#if appointmentType == AppointmentType.APPOINTMENT_TYPE_LOADING>
|
||||||
"Loading" :
|
"Loading" :
|
||||||
@@ -165,6 +188,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
|
</#if>
|
||||||
"Slot": {
|
"Slot": {
|
||||||
<#-- calcul de de la durée en fonction des start et end time-->
|
<#-- calcul de de la durée en fonction des start et end time-->
|
||||||
"DurationInSeconds": "${duration}",
|
"DurationInSeconds": "${duration}",
|
||||||
|
|||||||
Reference in New Issue
Block a user