Merge branch 'version-1.2.15' into 'release/1.2'
Version 1.2.15 See merge request r-d-technique/tiers/reflex-wms-connector!24
This commit is contained in:
commit
cfe6bddf8d
@ -27,6 +27,8 @@
|
||||
<#assign priority_date = stock.priority_date?datetime(rfx_date_format_default)?iso_utc />
|
||||
<#if (stock.priority_date!="") && (stock.priority_date?starts_with("00")== false) >
|
||||
"PriorityDate" : "${priority_date}",
|
||||
<#else>
|
||||
"PriorityDate": "1970-01-01T00:00:00Z",
|
||||
</#if>
|
||||
|
||||
<#-- Segmentation keys inclusion -->
|
||||
|
||||
@ -24,7 +24,11 @@
|
||||
"Payload": {
|
||||
"Goods": {
|
||||
"ItemID": "${reflexMvtStockInterface.item_code?trim?json_string}",
|
||||
<#if (reflexMvtStockInterface.ipg_priority_date!="") && (reflexMvtStockInterface.ipg_priority_date?starts_with("00")== false) >
|
||||
"PriorityDate": "${ipg_priority_datetime}",
|
||||
<#else>
|
||||
"PriorityDate": "1970-01-01T00:00:00Z",
|
||||
</#if>
|
||||
|
||||
<#-- Segmentation keys inclusions -->
|
||||
<#include "RFXtoRP_HsaIpgMove_StockMoved_SegmentationKeys.ftl">,
|
||||
|
||||
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>
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
Loading…
x
Reference in New Issue
Block a user