27 lines
853 B
Java
27 lines
853 B
Java
<#include "HfRpConfig.ftl">
|
|
<#include "ReflexUtils.ftl">
|
|
<#include "ActorPrefix.ftl">
|
|
[
|
|
<#assign dispatched_datetime5 = RfxDateTimetoUTCWithTimezone(preparationOrder.stock_despatch_at_preparation_datetime,time_zone_rfx) />
|
|
{
|
|
"Header": {
|
|
"ProjectID": "${projectRP}"
|
|
},
|
|
"ID": {
|
|
"RefID":"${despatched_ipg.hd_number}",
|
|
"RefDate": {
|
|
"DateTime": "${dispatched_datetime5}",
|
|
"AuthorTimeZone": "${time_zone_rfx}"
|
|
}
|
|
},
|
|
"Payload": {
|
|
"HandlingunitID": "${despatched_ipg.hd_number}"
|
|
<#if preparationOrder.load_data?? && preparationOrder.load_data.carrier_code?? && preparationOrder.load_data.carrier_code!="" >
|
|
,
|
|
"HUCarrier":{
|
|
"ActorID": "${RFXtoRPprefixCarrier(preparationOrder.load_data.carrier_code?trim?json_string)}"
|
|
}
|
|
</#if>
|
|
}
|
|
}
|
|
] |