You've already forked reflex-wms-connector
Compare commits
25 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 14f4eff9ff | |||
| d8c1be1a94 | |||
| b5200d1843 | |||
| e8028e20f1 | |||
| 8183beae61 | |||
| 30807bc840 | |||
| 6aafd2f6e9 | |||
| 8011a7f2ea | |||
| f829a02d98 | |||
| 11c928e257 | |||
| 7c9321002f | |||
| d4e5910933 | |||
| 65fca99577 | |||
| 89be22e1e1 | |||
| a4b5a1dbf0 | |||
| e3f829683f | |||
| 2512bdda84 | |||
| 9618f5bffb | |||
| 7563a1e932 | |||
| e73a2ccd83 | |||
| e75658e7ac | |||
| e1981b8fbd | |||
| 285d5ff330 | |||
| 51fdb6d382 | |||
| d96c2c73c1 |
@@ -12,6 +12,7 @@
|
|||||||
"RefID": "${reflexMvtStockInterface.hd_number?trim?json_string}"
|
"RefID": "${reflexMvtStockInterface.hd_number?trim?json_string}"
|
||||||
},
|
},
|
||||||
"Payload": {
|
"Payload": {
|
||||||
|
"Reference":"${reflexMvtStockInterface.hd_number?trim?json_string}",
|
||||||
"ReceivedContents" :[
|
"ReceivedContents" :[
|
||||||
{
|
{
|
||||||
"DateTime": {
|
"DateTime": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
"SegmentationSelections": [
|
"SegmentationKeys": [
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,11 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"Payload": {
|
"Payload": {
|
||||||
|
<#if despatched_ipg.carton_number != "000000000000000000">
|
||||||
|
"Reference": "${despatched_ipg.carton_number}",
|
||||||
|
<#else>
|
||||||
|
"Reference": "${despatched_ipg.hd_number}",
|
||||||
|
</#if>
|
||||||
"Information" :{
|
"Information" :{
|
||||||
<#if despatched_ipg.carton_number != "000000000000000000">
|
<#if despatched_ipg.carton_number != "000000000000000000">
|
||||||
"ContainerType": "${despatched_ipg.carton_type_code?json_string}"
|
"ContainerType": "${despatched_ipg.carton_type_code?json_string}"
|
||||||
|
|||||||
@@ -27,6 +27,11 @@
|
|||||||
<#case "Updated">
|
<#case "Updated">
|
||||||
<#assign AddComma = false />
|
<#assign AddComma = false />
|
||||||
<#assign appointment = eventRP.data />
|
<#assign appointment = eventRP.data />
|
||||||
|
|
||||||
|
<#-- processing is stopped because the Updated event contains no relevant change to forward to the WMS. -->
|
||||||
|
<#if !(eventRP.commissionsUpdated!false) && !(eventRP.reasonUpdated!false) && !(eventRP.slotUpdated!false) && !(eventRP.carrierInformationUpdated!false)>
|
||||||
|
<#stop>
|
||||||
|
</#if>
|
||||||
[
|
[
|
||||||
<#if appointment?? && (!(appointment.WMSCreated??) || !appointment.WMSCreated) && appointment.Status?? && appointment.Status.Current?? && appointment.Status.Current.StatusCode?? && appointment.Status.Current.StatusCode == AppointmentStatusCode.APPOINTMENT_0150_ALLOCATION_ERROR>
|
<#if appointment?? && (!(appointment.WMSCreated??) || !appointment.WMSCreated) && appointment.Status?? && appointment.Status.Current?? && appointment.Status.Current.StatusCode?? && appointment.Status.Current.StatusCode == AppointmentStatusCode.APPOINTMENT_0150_ALLOCATION_ERROR>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -37,15 +37,15 @@
|
|||||||
"requested_delivery_start_datetime": "${DateTimeUTCtoRfxLocale(.now?iso_utc?string,time_zone_rfx)}",
|
"requested_delivery_start_datetime": "${DateTimeUTCtoRfxLocale(.now?iso_utc?string,time_zone_rfx)}",
|
||||||
</#if>
|
</#if>
|
||||||
"requested_delivery_date_type": "${requested_delivery_date_type}",
|
"requested_delivery_date_type": "${requested_delivery_date_type}",
|
||||||
"consolidated_delivery": "${consolidated_delivery_flag}",
|
"consolidated_delivery": "false",
|
||||||
"pick_sequence_code": "${pick_sequence_code}",
|
"pick_sequence_code": "${pick_sequence_code}",
|
||||||
"intermediate_consignee": "false",
|
"intermediate_consignee": "false",
|
||||||
"protected": "${protected_flag}",
|
"protected": "false",
|
||||||
"automatic_generation": "${automatic_generation_flag}",
|
"automatic_generation": "true",
|
||||||
"deactivate": "false",
|
"deactivate": "false",
|
||||||
"optional_attributes": {
|
"optional_attributes": {
|
||||||
<#include "RPtoRFX_PrepOrder_OptionalAttributes.ftl">
|
<#include "RPtoRFX_PrepOrder_OptionalAttributes.ftl">
|
||||||
"apt_with_end_consignee": "${apt_with_end_consignee_flag}",
|
"apt_with_end_consignee": "false",
|
||||||
"apt_with_intermediate": "false",
|
"apt_with_intermediate": "false",
|
||||||
"load_grouping": "${load_grouping}"
|
"load_grouping": "${load_grouping}"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,11 +18,7 @@
|
|||||||
<#assign originator_code = ""/>
|
<#assign originator_code = ""/>
|
||||||
<#assign preparation_type_code = ""/>
|
<#assign preparation_type_code = ""/>
|
||||||
<#assign requested_delivery_date_type = ""/>
|
<#assign requested_delivery_date_type = ""/>
|
||||||
<#assign consolidated_delivery_flag ="false"/>
|
|
||||||
<#assign pick_sequence_code = ""/>
|
<#assign pick_sequence_code = ""/>
|
||||||
<#assign protected_flag ="false"/>
|
|
||||||
<#assign automatic_generation_flag ="false"/>
|
|
||||||
<#assign apt_with_end_consignee_flag="false"/>
|
|
||||||
|
|
||||||
<#-- A supprimer si utilisation de la table de correspondance-->
|
<#-- A supprimer si utilisation de la table de correspondance-->
|
||||||
<#--To be deleted if using the correspondence table-->
|
<#--To be deleted if using the correspondence table-->
|
||||||
|
|||||||
Reference in New Issue
Block a user