addition for HU labelled
This commit is contained in:
parent
edb9c99a59
commit
9ac84ae63b
@ -28,6 +28,15 @@
|
|||||||
"datas" :
|
"datas" :
|
||||||
<#include "RFXtoRP_HsrPrepa_HandlingUnitDispatched.ftl">
|
<#include "RFXtoRP_HsrPrepa_HandlingUnitDispatched.ftl">
|
||||||
}
|
}
|
||||||
|
<#if preparationOrder.preparation_line_lst.despatched_ipg.consignment_unit_id != ""> <#-- if le colis a un tracking - pb listes-->
|
||||||
|
,
|
||||||
|
{
|
||||||
|
<#assign apiReflexPlatformID = ApiReflexPlatformID.TrackingHULabeled>
|
||||||
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
|
"datas" :
|
||||||
|
<#include "RFXtoRP_HsrPrepa_TrackingHuLabelled.ftl">
|
||||||
|
}
|
||||||
|
</#if>
|
||||||
]
|
]
|
||||||
<#break>
|
<#break>
|
||||||
|
|
||||||
|
|||||||
@ -1,25 +1,25 @@
|
|||||||
<#include "HfRpConfig.ftl">
|
<#include "HfRpConfig.ftl">
|
||||||
<#include "ReflexUtils.ftl">
|
<#include "ReflexUtils.ftl">
|
||||||
[
|
[
|
||||||
|
<#assign dispatched_datetime = RfxDateTimetoUTC(preparationOrder.stock_despatch_at_preparation_datetime,time_zone_offset_rfx) />
|
||||||
<#list preparationOrder.preparation_line_lst?filter(l ->l.despatched_ipg_list??) as preparation_line>
|
<#list preparationOrder.preparation_line_lst?filter(l ->l.despatched_ipg_list??) as preparation_line>
|
||||||
<#assign preparationOrder_confirmation_datetime = RfxDateTimetoUTC(preparation_line.confirmation_datetime,time_zone_offset_rfx) />
|
<#list preparation_line.despatched_ipg_list as despatched_ipg>
|
||||||
<#list preparation_line.despatched_ipg_list as despatched_ipg>
|
{
|
||||||
{
|
"Header": {
|
||||||
"Header": {
|
"ProjectID": "${projectRP}"
|
||||||
"ProjectID": "${projectRP}"
|
},
|
||||||
},
|
"ID": {
|
||||||
"ID": {
|
<#if despatched_ipg.carton_number != "000000000000000000">
|
||||||
<#if despatched_ipg.carton_number != "000000000000000000">
|
"RefID": "${despatched_ipg.carton_number}"
|
||||||
"RefID": "${despatched_ipg.carton_number}"
|
|
||||||
<#else>
|
<#else>
|
||||||
"RefID": "${despatched_ipg.hd_number}"
|
"RefID": "${despatched_ipg.hd_number}"
|
||||||
</#if>
|
</#if>
|
||||||
|
"RefDate": {
|
||||||
},
|
"DateTime": "${dispatched_datetime}",
|
||||||
"Payload": {
|
"AuthorTimeZone": "${time_zone_rfx}"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"Payload": { }
|
||||||
}<#sep>,</#sep>
|
}<#sep>,</#sep>
|
||||||
</#list>
|
</#list>
|
||||||
<#sep>,</#sep>
|
<#sep>,</#sep>
|
||||||
|
|||||||
24
RFXtoRP_HsrPrepa_TrackingHuLabelled.ftl
Normal file
24
RFXtoRP_HsrPrepa_TrackingHuLabelled.ftl
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<#include "HfRpConfig.ftl">
|
||||||
|
<#include "ReflexUtils.ftl">
|
||||||
|
[
|
||||||
|
<#list preparationOrder.preparation_line_lst?filter(l ->l.despatched_ipg_list??) as preparation_line>
|
||||||
|
<#list preparation_line.despatched_ipg_list as despatched_ipg>
|
||||||
|
{
|
||||||
|
"Header": {
|
||||||
|
"ProjectID": "${projectRP}"
|
||||||
|
},
|
||||||
|
"ID": {
|
||||||
|
"RefID": "${despatched_ipg.consignment_unit_id}"
|
||||||
|
},
|
||||||
|
"Payload": {
|
||||||
|
<#if despatched_ipg.carton_number != "000000000000000000">
|
||||||
|
"HandlingunitID": "${despatched_ipg.carton_number}"
|
||||||
|
<#else>
|
||||||
|
"HandlingunitID": "${despatched_ipg.hd_number}"
|
||||||
|
</#if>
|
||||||
|
}
|
||||||
|
}<#sep>,</#sep>
|
||||||
|
</#list>
|
||||||
|
<#sep>,</#sep>
|
||||||
|
</#list>
|
||||||
|
]
|
||||||
Loading…
x
Reference in New Issue
Block a user