You've already forked reflex-wms-connector
SCPN1-10996
(cherry picked from commit 23e7d05ae8b7f2e62dc9d8748ce727d4e6c82eab)
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
}
|
||||
<#else>
|
||||
<#if eventRP.commissionsUpdated>
|
||||
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING && eventRP.addedUnloadCommissions?? && eventRP.addedUnloadCommissions != "" && eventRP.addedUnloadCommissions?filter(x -> x.ExecutionflowID != "")?size != 0>
|
||||
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING && eventRP.addedUnloadCommissions?? && eventRP.addedUnloadCommissions != "" && eventRP.addedUnloadCommissions?filter(x -> (x.ExecutionflowID?? && x.ExecutionflowID != ""))?size != 0>
|
||||
<#if eventRP.appointmentCustomFields?has_content>
|
||||
{
|
||||
<#assign apiRestReflexID = ApiRestReflexID.appointment_post_physical_receipt_associations_by_number>
|
||||
@@ -59,7 +59,7 @@
|
||||
</#if>
|
||||
<#assign AddComma = true />
|
||||
</#if>
|
||||
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING && eventRP.removedUnloadCommissions?? && eventRP.removedUnloadCommissions!="" && eventRP.removedUnloadCommissions?filter(x -> x.ExecutionflowID != "")?size != 0>
|
||||
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING && eventRP.removedUnloadCommissions?? && eventRP.removedUnloadCommissions!="" && eventRP.removedUnloadCommissions?filter(x -> (x.ExecutionflowID?? && x.ExecutionflowID != ""))?size != 0>
|
||||
<#if AddComma == true>
|
||||
,
|
||||
</#if>
|
||||
@@ -82,7 +82,7 @@
|
||||
<#assign AddComma = true />
|
||||
</#if>
|
||||
|
||||
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING && eventRP.addedUnloadCommissions?? && eventRP.addedUnloadCommissions != "" && eventRP.addedUnloadCommissions?filter(x -> x.ExecutionflowID == "")?size != 0>
|
||||
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING && eventRP.addedUnloadCommissions?? && eventRP.addedUnloadCommissions != "" && eventRP.addedUnloadCommissions?filter(x -> (!x.ExecutionflowID?? || x.ExecutionflowID == ""))?size != 0>
|
||||
<#if AddComma == true>
|
||||
,
|
||||
</#if>
|
||||
@@ -96,7 +96,7 @@
|
||||
</#if>
|
||||
<#assign AddComma = true />
|
||||
</#if>
|
||||
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING && eventRP.removedUnloadCommissions?? && eventRP.removedUnloadCommissions!="" && eventRP.removedUnloadCommissions?filter(x -> x.ExecutionflowID == "")?size != 0>
|
||||
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING && eventRP.removedUnloadCommissions?? && eventRP.removedUnloadCommissions!="" && eventRP.removedUnloadCommissions?filter(x -> (!x.ExecutionflowID?? || x.ExecutionflowID == ""))?size != 0>
|
||||
<#if AddComma == true>
|
||||
,
|
||||
</#if>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</#if>
|
||||
|
||||
"anticipated_receipt_list": [
|
||||
<#list addedCommissions?filter(l -> l.OrderID??) as addedCommission>
|
||||
<#list addedCommissions?filter(l -> (l.OrderID?? && (!l.ExecutionflowID?? || l.ExecutionflowID == ""))) as addedCommission>
|
||||
{
|
||||
"activity": "${orderCustomFields[addedCommission.OrderID].activity_code?json_string}",
|
||||
"originator_code": "${orderCustomFields[addedCommission.OrderID].originator_code?json_string}",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</#if>
|
||||
|
||||
"anticipated_receipt_list": [
|
||||
<#list removedCommissions?filter(l -> l.OrderID??) as removedCommission>
|
||||
<#list removedCommissions?filter(l -> (l.OrderID?? && (!l.ExecutionflowID?? || l.ExecutionflowID == ""))) as removedCommission>
|
||||
{
|
||||
"activity": "${orderCustomFields[removedCommission.OrderID].activity_code?json_string}",
|
||||
"originator_code": "${orderCustomFields[removedCommission.OrderID].originator_code?json_string}",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</#if>
|
||||
|
||||
"physical_receipt_list": [
|
||||
<#list addedCommissions?filter(l -> l.ExecutionflowID??) as addedCommission>
|
||||
<#list addedCommissions?filter(l -> (l.ExecutionflowID?? && l.ExecutionflowID != "")) as addedCommission>
|
||||
{
|
||||
"receipt_activity": "${executionflowCustomFields[addedCommission.ExecutionflowID].activity_code?json_string}",
|
||||
"originator_code": "${executionflowCustomFields[addedCommission.ExecutionflowID].originator_code?json_string}",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</#if>
|
||||
|
||||
"physical_receipt_list": [
|
||||
<#list addedCommissions?filter(l -> l.ExecutionflowID??) as addedCommission>
|
||||
<#list addedCommissions?filter(l -> (l.ExecutionflowID?? && l.ExecutionflowID != "")) as addedCommission>
|
||||
{
|
||||
"receipt_activity": "${executionflowCustomFields[addedCommission.ExecutionflowID].activity_code?json_string}",
|
||||
"originator_code": "${executionflowCustomFields[addedCommission.ExecutionflowID].originator_code?json_string}",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</#if>
|
||||
|
||||
"physical_receipt_list": [
|
||||
<#list removedCommissions?filter(l -> l.ExecutionflowID??) as removedCommission>
|
||||
<#list removedCommissions?filter(l -> (l.ExecutionflowID?? && l.ExecutionflowID != "")) as removedCommission>
|
||||
{
|
||||
"receipt_activity": "${executionflowCustomFields[removedCommission.ExecutionflowID].activity_code?json_string}",
|
||||
"originator_code": "${executionflowCustomFields[removedCommission.ExecutionflowID].originator_code?json_string}",
|
||||
|
||||
Reference in New Issue
Block a user