You've already forked reflex-wms-connector
Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8011a7f2ea | ||
| f829a02d98 | |||
| 11c928e257 | |||
| 7c9321002f | |||
| d4e5910933 | |||
| 65fca99577 | |||
| 89be22e1e1 | |||
| a4b5a1dbf0 | |||
| 5e3633aaa1 | |||
| abe628a3b0 | |||
| 779b4d0596 | |||
| e3f829683f | |||
| 2512bdda84 | |||
| 9618f5bffb | |||
| 7563a1e932 | |||
| e73a2ccd83 | |||
| e75658e7ac | |||
| e1981b8fbd | |||
| 285d5ff330 | |||
| 51fdb6d382 | |||
| d96c2c73c1 |
@@ -38,7 +38,7 @@
|
||||
<#local depot = actor>
|
||||
<#else>
|
||||
<#if actor?length gt 4>
|
||||
<#local depot = actor[4..]>
|
||||
<#local depot = actor[4..]>
|
||||
<#else>
|
||||
<#local depot = actor>
|
||||
</#if>
|
||||
@@ -83,7 +83,7 @@
|
||||
<#local supplier = actor>
|
||||
<#else>
|
||||
<#if actor?length gt 4>
|
||||
<#local supplier = actor[4..]>
|
||||
<#local supplier = actor[4..]>
|
||||
<#else>
|
||||
<#local supplier = actor>
|
||||
</#if>
|
||||
@@ -126,7 +126,7 @@
|
||||
<#local carrier = actor>
|
||||
<#else>
|
||||
<#if actor?length gt 4>
|
||||
<#local carrier = actor[4..]>
|
||||
<#local carrier = actor[4..]>
|
||||
<#else>
|
||||
<#local carrier = actor>
|
||||
</#if>
|
||||
@@ -169,7 +169,7 @@
|
||||
<#local consignee = actor>
|
||||
<#else>
|
||||
<#if actor?length gt 4>
|
||||
<#local consignee = actor[4..]>
|
||||
<#local consignee = actor[4..]>
|
||||
<#else>
|
||||
<#local consignee = actor>
|
||||
</#if>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<#assign desPatch = JsonUtil.jsonToMap(dataRfx)>
|
||||
|
||||
<#stop>
|
||||
<#break>
|
||||
<#break>
|
||||
|
||||
<#case "D">
|
||||
<#-- *********************************************** Action = DELETE ******************** -->
|
||||
@@ -25,7 +25,7 @@
|
||||
<#assign desPatch = JsonUtil.jsonToMap(dataRfx)>
|
||||
|
||||
<#stop>
|
||||
<#break>
|
||||
<#break>
|
||||
<#default>
|
||||
<#stop >
|
||||
</#switch>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<#assign despNt = JsonUtil.jsonToMap(dataRfx)>
|
||||
|
||||
<#stop>
|
||||
<#break>
|
||||
<#break>
|
||||
|
||||
<#case "D">
|
||||
<#-- *********************************************** Action = DELETE ******************** -->
|
||||
@@ -25,7 +25,7 @@
|
||||
<#assign despNt = JsonUtil.jsonToMap(dataRfx)>
|
||||
|
||||
<#stop>
|
||||
<#break>
|
||||
<#break>
|
||||
<#default>
|
||||
<#stop >
|
||||
</#switch>
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
|
||||
<#assign depot = JsonUtil.jsonToMap(dataRfx)>
|
||||
<#stop>
|
||||
<#break>
|
||||
<#break>
|
||||
|
||||
<#case "D">
|
||||
<#-- *********************************************** Action = DELETE *************************** -->
|
||||
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
|
||||
<#assign depot = JsonUtil.jsonToMap(dataRfx)>
|
||||
<#stop>
|
||||
<#break>
|
||||
<#break>
|
||||
|
||||
<#default>
|
||||
<#stop >
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<#assign packBranch = JsonUtil.jsonToMap(dataRfx)>
|
||||
|
||||
<#stop>
|
||||
<#break>
|
||||
<#break>
|
||||
|
||||
<#case "D">
|
||||
<#-- *********************************************** Action = DELETE ******************** -->
|
||||
@@ -25,7 +25,7 @@
|
||||
<#assign packBranch = JsonUtil.jsonToMap(dataRfx)>
|
||||
|
||||
<#stop>
|
||||
<#break>
|
||||
<#break>
|
||||
<#default>
|
||||
<#stop >
|
||||
</#switch>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<#assign packOrder = JsonUtil.jsonToMap(dataRfx)>
|
||||
|
||||
<#stop>
|
||||
<#break>
|
||||
<#break>
|
||||
|
||||
<#case "D">
|
||||
<#-- *********************************************** Action = DELETE ******************** -->
|
||||
@@ -25,7 +25,7 @@
|
||||
<#assign packOrder = JsonUtil.jsonToMap(dataRfx)>
|
||||
|
||||
<#stop>
|
||||
<#break>
|
||||
<#break>
|
||||
<#default>
|
||||
<#stop >
|
||||
</#switch>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
},
|
||||
"UserMessage": {
|
||||
"Code": "${restResponsetMsg.status!"no Code"}",
|
||||
"Label": ${strJsonBody?truncate(32000,'...'),
|
||||
"Label": ${strJsonBody?truncate(32000,'...')},
|
||||
"Params": []
|
||||
},
|
||||
"DetailElements": [],
|
||||
|
||||
@@ -27,6 +27,10 @@
|
||||
<#case "Updated">
|
||||
<#assign AddComma = false />
|
||||
<#assign appointment = eventRP.data />
|
||||
|
||||
<#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>
|
||||
{
|
||||
|
||||
@@ -37,15 +37,15 @@
|
||||
"requested_delivery_start_datetime": "${DateTimeUTCtoRfxLocale(.now?iso_utc?string,time_zone_rfx)}",
|
||||
</#if>
|
||||
"requested_delivery_date_type": "${requested_delivery_date_type}",
|
||||
"consolidated_delivery": "${consolidated_delivery_flag}",
|
||||
"consolidated_delivery": "false",
|
||||
"pick_sequence_code": "${pick_sequence_code}",
|
||||
"intermediate_consignee": "false",
|
||||
"protected": "${protected_flag}",
|
||||
"automatic_generation": "${automatic_generation_flag}",
|
||||
"protected": "false",
|
||||
"automatic_generation": "true",
|
||||
"deactivate": "false",
|
||||
"optional_attributes": {
|
||||
<#include "RPtoRFX_PrepOrder_OptionalAttributes.ftl">
|
||||
"apt_with_end_consignee": "${apt_with_end_consignee_flag}",
|
||||
"apt_with_end_consignee": "false",
|
||||
"apt_with_intermediate": "false",
|
||||
"load_grouping": "${load_grouping}"
|
||||
}
|
||||
|
||||
@@ -18,11 +18,7 @@
|
||||
<#assign originator_code = ""/>
|
||||
<#assign preparation_type_code = ""/>
|
||||
<#assign requested_delivery_date_type = ""/>
|
||||
<#assign consolidated_delivery_flag ="false"/>
|
||||
<#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-->
|
||||
<#--To be deleted if using the correspondence table-->
|
||||
|
||||
Reference in New Issue
Block a user