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,20 +1,23 @@
<#-- **** file included in RFXtoRP_HsaItm_ItemCreated.ftl ***** -->
<#-- use protobuf of class HsrPro to find Reflex WMS fields names -->
<#--
"SegmentationKeys": [ {
"Key": "BatchNumber",
<#if line.batch_1 == "">
"Value": { "String" : "no batch"}
<#else>
"Value": { "String" : "${line.batch_1}"}
</#if>
},
{
"Key": "Grade",
"Value": { "String" : "${SegmentationKeys_KV[line.grade_code_to_prepare]!Default_Value_Grade_SegmentationKey}"}
}
]
"SegmentationKeys": [
{
"Key": "Grade",
"Value": { "String" : "${line.grade_code_to_prepare}"}
},
{
"Key": "Owner",
"Value": { "String" : "${line.owner_code_to_prepare}"}
},
{
"Key": "BatchNumber",
<#if reflexMvtStockInterface.batch_1 == "">
"Value": { "String" : "no batch"}
<#else>
"Value": { "String" : "${line.batch_1}"}
</#if>
}
]
-->
"SegmentationKeys": [ ]