You've already forked reflex-wms-connector
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 15bd095feb | |||
| c0dd029d1f | |||
| 2e0d61310b | |||
| f62ccadba5 | |||
| 2c29166ccb | |||
| 4534155f2e | |||
| 5948467818 |
@@ -2,8 +2,11 @@
|
|||||||
<#include "ReflexUtils.ftl">
|
<#include "ReflexUtils.ftl">
|
||||||
[
|
[
|
||||||
<#assign dispatched3_datetime = RfxDateTimetoUTC(preparationOrder.stock_despatch_at_preparation_datetime,time_zone_offset_rfx) />
|
<#assign dispatched3_datetime = RfxDateTimetoUTC(preparationOrder.stock_despatch_at_preparation_datetime,time_zone_offset_rfx) />
|
||||||
|
<#assign generatedComa = false>
|
||||||
<#list preparationOrder.preparation_line_lst?filter(l ->l.despatched_ipg_list??) as preparation_line3>
|
<#list preparationOrder.preparation_line_lst?filter(l ->l.despatched_ipg_list??) as preparation_line3>
|
||||||
<#list preparation_line3.despatched_ipg_list?filter(j ->j.carton_number!="000000000000000000") as despatched_ipg3>
|
<#list preparation_line3.despatched_ipg_list?filter(j ->j.carton_number!="000000000000000000") as despatched_ipg3>
|
||||||
|
|
||||||
|
<#if generatedComa >,</#if>
|
||||||
{
|
{
|
||||||
"Header": {
|
"Header": {
|
||||||
"ProjectID": "${projectRP}"
|
"ProjectID": "${projectRP}"
|
||||||
@@ -16,10 +19,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Payload": { }
|
"Payload": { }
|
||||||
}<#sep>,</#sep>
|
}
|
||||||
|
<#assign generatedComa = true>
|
||||||
</#list>
|
</#list>
|
||||||
<#if preparation_line3.despatched_ipg_list?filter(j ->j.carton_number!="000000000000000000")?size!=0 >
|
|
||||||
<#sep>,</#sep>
|
|
||||||
</#if>
|
|
||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<#if despatched_ipg.carton_number != "000000000000000000">
|
<#if despatched_ipg.carton_number != "000000000000000000">
|
||||||
"ContainerType": "${despatched_ipg.carton_type_code}"
|
"ContainerType": "${despatched_ipg.carton_type_code}"
|
||||||
<#if preparation_line.despatched_cartons_list?? >
|
<#if preparation_line.despatched_cartons_list?? >
|
||||||
<#list preparation_line.despatched_cartons_list?filter(l ->l.carton_number==despatched_ipg.carton_number) as dimensionCarton>
|
<#list preparation_line.despatched_cartons_list?filter(l -> l?? && l.carton_number==despatched_ipg.carton_number) as dimensionCarton>
|
||||||
,
|
,
|
||||||
"Length": {
|
"Length": {
|
||||||
"Unit": "${length_unit_rfx}",
|
"Unit": "${length_unit_rfx}",
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
<#else>
|
<#else>
|
||||||
"ContainerType": "${despatched_ipg.hd_type_code?json_string}"
|
"ContainerType": "${despatched_ipg.hd_type_code?json_string}"
|
||||||
<#if preparation_line.despatched_hds_list??>
|
<#if preparation_line.despatched_hds_list??>
|
||||||
<#list preparation_line.despatched_hds_list?filter(j ->j.handling_device_number==despatched_ipg.hd_number) as dimensionHU>
|
<#list preparation_line.despatched_hds_list?filter(j -> j?? && j.handling_device_number==despatched_ipg.hd_number) as dimensionHU>
|
||||||
,
|
,
|
||||||
"Length": {
|
"Length": {
|
||||||
"Unit": "${length_unit_rfx}",
|
"Unit": "${length_unit_rfx}",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"Payload": {
|
"Payload": {
|
||||||
|
|
||||||
"IncludedHandlingunitIDs": [ "${despatched_ipg.carton_number}" ]
|
"IncludedHandlingunitIDs": [ "${despatched_ipg.carton_number}" ]
|
||||||
<#if preparation_line.despatched_hds_list?? >
|
<#if preparation_line.despatched_hds_list?? && preparation_line.despatched_hds_list[0]??>
|
||||||
,
|
,
|
||||||
"Information": {
|
"Information": {
|
||||||
"ContainerType": "${preparation_line.despatched_hds_list[0].hd_type_code}",
|
"ContainerType": "${preparation_line.despatched_hds_list[0].hd_type_code}",
|
||||||
|
|||||||
Reference in New Issue
Block a user