reflex-wms-connector/RFXtoRP_HsrPro_ExecutionflowDetected_SegmentationKeys.ftl
2025-10-30 14:52:38 +01:00

29 lines
990 B
Java

<#-- use protobuf of class HsrPro to find HARDIS WMS fields names -->
<#--
<#-- Best practices:
If the SK is of type:
- string: add ?json_string (e.g. "${stock.batch_1?json_string}")
- boolean: possible values: true and false
- datetime: expected format: 2025-10-30T10:12:10.000Z
- decimal number: the separator is a point (e.g. 10.5)
"SegmentationKeys": [
{
"Key": "Grade",
"Value": { "String" : "${preparation_order_line.grade_code_to_prepare}"}
},
{
"Key": "Owner",
"Value": { "String" : "${preparation_order_line.owner_code_to_prepare}"}
},
{
"Key": "BatchNumber",
<#if reflexMvtStockInterface.batch_1 == "">
"Value": { "String" : "no batch"}
<#else>
"Value": { "String" : "${preparation_order_line.batch_1}"}
</#if>
}
]
-->
"SegmentationKeys": [ ]