reflex-wms-connector/RFXtoRP_HfDtlStockLs_StockSnapshotted_SegmentationKeys.ftl
frea 45a31fb33f SCPN1-8401
(cherry picked from commit 724d4dd0c756a8c2f5b461874b36cd513feafbbd)
2025-02-27 17:56:42 +01:00

42 lines
1.1 KiB
Java

<#-- use protobuf of class HfDtlStockLs to find Reflex WMS fields names -->
<#--
"SegmentationKeys": [
{
"Key": "Grade",
"Value": { "String" : "${stock.grade_code}"}
},
{
"Key": "Owner",
"Value": { "String" : "${stock.owner_code}"}
},
{
"Key": "BatchNumber",
<#if stock.batch_1 == "">
"Value": { "String" : "no batch"}
<#else>
"Value": { "String" : "${stock.batch_1}"}
</#if>
},
{
"Key": "HeldForSpecificCode",
"Value": { "Bool" : "${stock.held_for_specific_code}"}
},
{
<#assign manufacturing_datetime = RfxDateTimetoUTCWithTimezone(stock.Date_of_manufacture,time_zone_rfx) />
"Key": "ManufacturingDate",
"Value": "Timestamp": {
"AuthorTimeZone": "${time_zone_rfx}",
"DateTime": "${manufacturing_datetime}"
}
}
]
-->
"SegmentationKeys": [ ]