modification "lineSK" to "SK"

This commit is contained in:
Laure Pascal 2023-10-06 16:39:27 +02:00
parent 83c522383f
commit 71c2512cbb
4 changed files with 66 additions and 66 deletions

View File

@ -78,8 +78,8 @@
"PriorityDate": "${forced_priority_date}", "PriorityDate": "${forced_priority_date}",
</#if> </#if>
<#-- Line Segmentation Keys inclusion --> <#-- Segmentation Keys inclusion -->
<#include "RFXtoRP_HsrPro_ExecutionflowDetected_LineSegmentationKeys.ftl"> <#include "RFXtoRP_HsrPro_ExecutionflowDetected_SegmentationKeys.ftl">
}, },
"Quantity" : "Quantity" :

View File

@ -1,23 +1,23 @@
<#-- use protobuf of class HsrPro to find Reflex WMS fields names --> <#-- use protobuf of class HsrPro to find Reflex WMS fields names -->
<#-- <#--
"SegmentationKeys": [ "SegmentationKeys": [
{ {
"Key": "Grade", "Key": "Grade",
"Value": { "String" : "${line.grade_code_to_prepare}"} "Value": { "String" : "${line.grade_code_to_prepare}"}
}, },
{ {
"Key": "Owner", "Key": "Owner",
"Value": { "String" : "${line.owner_code_to_prepare}"} "Value": { "String" : "${line.owner_code_to_prepare}"}
}, },
{ {
"Key": "BatchNumber", "Key": "BatchNumber",
<#if reflexMvtStockInterface.batch_1 == ""> <#if reflexMvtStockInterface.batch_1 == "">
"Value": { "String" : "no batch"} "Value": { "String" : "no batch"}
<#else> <#else>
"Value": { "String" : "${line.batch_1}"} "Value": { "String" : "${line.batch_1}"}
</#if> </#if>
} }
] ]
--> -->
"SegmentationKeys": [ ] "SegmentationKeys": [ ]

View File

@ -59,8 +59,8 @@
<#else> <#else>
<#stop "line with detail"> <#stop "line with detail">
</#if> </#if>
<#-- Line Segmentation Keys inclusion --> <#-- Segmentation Keys inclusion -->
<#include "RFXtoRP_HsrReceiptList_ExecutionflowDetected_LineSegmentationKeys.ftl"> <#include "RFXtoRP_HsrReceiptList_ExecutionflowDetected_SegmentationKeys.ftl">
}, },
"Quantity" : "Quantity" :
{ {

View File

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