You've already forked reflex-wms-connector
Addition of example in SK inclusions
This commit is contained in:
@@ -1,24 +1,42 @@
|
||||
<#-- **** file included in RFXtoRP_HsaItm_ItemCreated.ftl ***** -->
|
||||
<#-- use protobuf of class HfDtlStockLs to find Reflex WMS fields names -->
|
||||
|
||||
<#--"SegmentationKeys": [
|
||||
{
|
||||
<#--
|
||||
|
||||
"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>
|
||||
</#if>
|
||||
},
|
||||
{
|
||||
"Key": "Grade",
|
||||
"Value": { "String" : "${SegmentationKeys_KV[stock.grade_code]!Default_Value_Grade_SegmentationKey}"}
|
||||
{
|
||||
"Key": "HeldForSpecificCode",
|
||||
"Value": { "Bool" : "${stock.held_for_specific_code}"}
|
||||
},
|
||||
{
|
||||
"Key": "Owner",
|
||||
"Value": { "String" : "${stock.owner_code}"}
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
{
|
||||
<#assign manufacturing_datetime = RfxDateTimetoUTC(stock.Date_of_manufacture,time_zone_offset_rfx) />
|
||||
"Key": "ManufacturingDate",
|
||||
"Value": "Timestamp": {
|
||||
"AuthorTimeZone": "${time_zone_rfx}",
|
||||
"DateTime": "${manufacturing_datetime}"
|
||||
}
|
||||
}
|
||||
]
|
||||
-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"SegmentationKeys": [ ]
|
||||
Reference in New Issue
Block a user