40 lines
1.3 KiB
Java
40 lines
1.3 KiB
Java
<#-- use protobuf of class Hsrprepa to find Reflex WMS fields names -->
|
|
<#--
|
|
"SegmentationKeys": [
|
|
{
|
|
"Key": "Grade",
|
|
"Value": { "String" : "${preparation_line.grade_code}"}
|
|
},
|
|
{
|
|
"Key": "Owner",
|
|
"Value": { "String" : "${preparation_line.owner_code}"}
|
|
},
|
|
{
|
|
"Key": "BatchNumber",
|
|
<#if reflexMvtStockInterface.batch_1 == "">
|
|
"Value": { "String" : "no batch"}
|
|
<#else>
|
|
"Value": { "String" : "${despatched_ipg.batch_number}"}
|
|
</#if>
|
|
},
|
|
{
|
|
"Key": "HeldForSpecificCode",
|
|
<#if despatched_ipg.ipg_held == "true">
|
|
"Value": { "Bool" : "True"}
|
|
<#else>
|
|
"Value": { "Bool" : "False"}
|
|
},
|
|
{
|
|
<#assign manufacturing_date = despatched_ipg.ipg_manufacture_date?datetime(rfx_date_format_default)?iso_utc />
|
|
"Key": "ManufacturingDate",
|
|
"Value": "Timestamp": {
|
|
"AuthorTimeZone": "${time_zone_rfx}",
|
|
"DateTime": "${manufacturing_date}"
|
|
}
|
|
}
|
|
]
|
|
|
|
|
|
|
|
-->
|
|
"SegmentationKeys": [ ] |