You've already forked reflex-wms-connector
Addition of example in SK inclusions
This commit is contained in:
@@ -1,24 +1,41 @@
|
||||
<#-- use protobuf of class Hsrprepa to find Reflex WMS fields names -->
|
||||
|
||||
<#--
|
||||
"SegmentationKeys" :[
|
||||
{
|
||||
"Key": "BatchNumber",
|
||||
<#if despatched_ipg.batch_number == "">
|
||||
"Value": { "String" : "no batch"}
|
||||
<#else>
|
||||
"Value": { "String" : "${despatched_ipg.batch_number}"}
|
||||
</#if>
|
||||
},
|
||||
"SegmentationKeys": [
|
||||
{
|
||||
"Key": "Grade",
|
||||
"Value": { "String" : "${preparation_line.grade_code}"}
|
||||
"Key": "Grade",
|
||||
"Value": { "String" : "${preparation_line.grade_code}"}
|
||||
},
|
||||
{
|
||||
"Key": "Owner",
|
||||
"Value": { "String" : "${preparation_line.owner_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": [ ]
|
||||
Reference in New Issue
Block a user