You've already forked reflex-wms-connector
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 201e58ed16 |
37
RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl
Normal file
37
RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
<#include "HfRpConfig.ftl">
|
||||||
|
<#include "ReflexUtils.ftl">
|
||||||
|
[
|
||||||
|
|
||||||
|
{
|
||||||
|
"Header": {
|
||||||
|
"ProjectID": "${projectRP}"
|
||||||
|
},
|
||||||
|
"ID": {
|
||||||
|
"RefID": "${despatched_ipg.hd_number}"
|
||||||
|
},
|
||||||
|
|
||||||
|
"Payload": {
|
||||||
|
|
||||||
|
"IncludedHandlingunitIDs": [ "${despatched_ipg.carton_number}" ]
|
||||||
|
<#if preparation_line.despatched_hds_list?? >
|
||||||
|
,
|
||||||
|
"Information": {
|
||||||
|
"ContainerType": "${preparation_line.despatched_hds_list[0].hd_type_code}",
|
||||||
|
"Length": {
|
||||||
|
"Unit": "${length_unit_rfx}",
|
||||||
|
"Value": ${preparation_line.despatched_hds_list[0].hd_type_depth}
|
||||||
|
},
|
||||||
|
"Weight": {
|
||||||
|
"Unit": "${weight_unit_rfx}",
|
||||||
|
"Value": ${preparation_line.despatched_hds_list[0].hd_gross_weight}
|
||||||
|
},
|
||||||
|
"Width": {
|
||||||
|
"Unit": "${length_unit_rfx}",
|
||||||
|
"Value": ${preparation_line.despatched_hds_list[0].hd_type_width}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</#if>
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user