Addition of example in SK inclusions

This commit is contained in:
2023-09-06 16:43:31 +02:00
parent 7a46793fe7
commit d050ade2b9
7 changed files with 180 additions and 103 deletions

View File

@@ -1,24 +1,39 @@
<#-- use protobuf of class HsaIpgMove to find Reflex WMS fields names -->
<#--"SegmentationKeys":
[
{
"Key": "Grade",
"Value": {"String": "${reflexMvtStockInterface.grade_code}"}
},
{
"Key": "Owner",
"Value": {"String": "${reflexMvtStockInterface.owner_code}"}
},
{
"Key": "BatchNumber",
<#if reflexMvtStockInterface.batch_1 == "">
<#--
"SegmentationKeys": [
{
"Key": "Grade",
"Value": { "String" : "${reflexMvtStockInterface.grade_code}"}
},
{
"Key": "Owner",
"Value": { "String" : "${reflexMvtStockInterface.owner_code}"}
},
{
"Key": "BatchNumber",
<#if reflexMvtStockInterface.batch_1 == "">
"Value": { "String" : "no batch"}
<#else>
<#else>
"Value": { "String" : "${reflexMvtStockInterface.batch_1}"}
</#if>
}
],
</#if>
},
{
"Key": "HeldForSpecificCode",
"Value": { "Bool" : "${reflexMvtStockInterface.ipg_specific_code_held}"}
},
{
<#assign manufacturing_date = reflexMvtStockInterface.manufacture_date?datetime(rfx_date_format_default)?iso_utc />
"Key": "ManufacturingDate",
"Value": "Timestamp": {
"AuthorTimeZone": "${time_zone_rfx}",
"DateTime": "${manufacturing_date}"
}
}
]
-->
"SegmentationKeys": [ ]