Tracking HU labelled
This commit is contained in:
parent
9ac84ae63b
commit
d9f9a4762a
@ -28,15 +28,21 @@
|
|||||||
"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-->
|
|
||||||
,
|
<#list preparationOrder.preparation_line_lst?filter(l ->l.despatched_ipg_list??) as preparation_line>
|
||||||
{
|
<#list preparation_line.despatched_ipg_list as despatched_ipg>
|
||||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.TrackingHULabeled>
|
<#if despatched_ipg.consignment_unit_id != "">
|
||||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
,
|
||||||
"datas" :
|
{
|
||||||
<#include "RFXtoRP_HsrPrepa_TrackingHuLabelled.ftl">
|
<#assign apiReflexPlatformID = ApiReflexPlatformID.TrackingHULabeled>
|
||||||
}
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
</#if>
|
"datas" :
|
||||||
|
<#include "RFXtoRP_HsrPrepa_TrackingHuLabelled.ftl">
|
||||||
|
}
|
||||||
|
</#if>
|
||||||
|
|
||||||
|
</#list>
|
||||||
|
</#list>
|
||||||
]
|
]
|
||||||
<#break>
|
<#break>
|
||||||
|
|
||||||
|
|||||||
@ -1,24 +1,20 @@
|
|||||||
<#include "HfRpConfig.ftl">
|
<#include "HfRpConfig.ftl">
|
||||||
<#include "ReflexUtils.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": {
|
||||||
"Header": {
|
"ProjectID": "${projectRP}"
|
||||||
"ProjectID": "${projectRP}"
|
},
|
||||||
},
|
"ID": {
|
||||||
"ID": {
|
"RefID": "${despatched_ipg.consignment_unit_id}"
|
||||||
"RefID": "${despatched_ipg.consignment_unit_id}"
|
},
|
||||||
},
|
"Payload": {
|
||||||
"Payload": {
|
<#if despatched_ipg.carton_number != "000000000000000000">
|
||||||
<#if despatched_ipg.carton_number != "000000000000000000">
|
"HandlingunitID": "${despatched_ipg.carton_number}"
|
||||||
"HandlingunitID": "${despatched_ipg.carton_number}"
|
<#else>
|
||||||
<#else>
|
"HandlingunitID": "${despatched_ipg.hd_number}"
|
||||||
"HandlingunitID": "${despatched_ipg.hd_number}"
|
</#if>
|
||||||
</#if>
|
}
|
||||||
}
|
}
|
||||||
}<#sep>,</#sep>
|
|
||||||
</#list>
|
|
||||||
<#sep>,</#sep>
|
|
||||||
</#list>
|
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user