Modif 2011231720 HsrPro
This commit is contained in:
parent
293a4fb65c
commit
0485a637af
@ -54,14 +54,14 @@
|
|||||||
</#if>
|
</#if>
|
||||||
},
|
},
|
||||||
|
|
||||||
<#if preparation_order_line_list??>
|
<#if preparation_order.line_list??>
|
||||||
"Lines" : [
|
"Lines" : [
|
||||||
<#list preparation_order_line_list >
|
<#list preparation_order.line_list as preparation_order_line >
|
||||||
{
|
{
|
||||||
<#if (preparation_order_line_list.originator_reference_line_number!0) != 0>
|
<#if (preparation_order_line.originator_reference_line_number!0) != 0>
|
||||||
"LineID": "${preparation_order_line_list.originator_reference_line_number}",
|
"LineID": "${preparation_order_line.originator_reference_line_number}",
|
||||||
<#else>
|
<#else>
|
||||||
"LineID": "${preparation_order_line_list.preparation_order_line_number!0}",
|
"LineID": "${preparation_order_line.preparation_order_line_number!0}",
|
||||||
</#if>
|
</#if>
|
||||||
<#-- Line Metadata inclusion -->
|
<#-- Line Metadata inclusion -->
|
||||||
<#include "RFXtoRP_HsrPro_ExecutionflowDetected_LineMetadata.ftl">,
|
<#include "RFXtoRP_HsrPro_ExecutionflowDetected_LineMetadata.ftl">,
|
||||||
@ -70,10 +70,10 @@
|
|||||||
{
|
{
|
||||||
"Goods":
|
"Goods":
|
||||||
{
|
{
|
||||||
"ItemID": "${preparation_order_line_list.item_code!"0"}",
|
"ItemID": "${preparation_order_line.item_code!"0"}",
|
||||||
"LVBranchID": "${preparation_order_line_list.item_lv_code!"0"}",
|
"LVBranchID": "${preparation_order_line.item_lv_code!"0"}",
|
||||||
<#if (preparation_order_line_list.optional_attributes.forced_priority_date?length != 0) && (preparation_order_line_list.optional_attributes.forced_priority_date?starts_with("00") == false)>
|
<#if (preparation_order_line.optional_attributes.forced_priority_date?length != 0) && (preparation_order_line.optional_attributes.forced_priority_date?starts_with("00") == false)>
|
||||||
<#assign forced_priority_date = preparation_order_line_list.optional_attributes.forced_priority_date?datetime(rfx_date_format_default)?iso_utc />
|
<#assign forced_priority_date = preparation_order_line.optional_attributes.forced_priority_date?datetime(rfx_date_format_default)?iso_utc />
|
||||||
"PriorityDate": "${forced_priority_date}",
|
"PriorityDate": "${forced_priority_date}",
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
@ -84,7 +84,7 @@
|
|||||||
"Quantity" :
|
"Quantity" :
|
||||||
{
|
{
|
||||||
"LVID": "${quantity_in_base_lv_RP_Cst}",
|
"LVID": "${quantity_in_base_lv_RP_Cst}",
|
||||||
"Value": "${preparation_order_line_list.base_lv_quantity_to_prepare!0}"
|
"Value": "${preparation_order_line.base_lv_quantity_to_prepare!0}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}<#sep>,</#sep>
|
}<#sep>,</#sep>
|
||||||
|
|||||||
@ -4,18 +4,18 @@
|
|||||||
"SegmentationKeys": [
|
"SegmentationKeys": [
|
||||||
{
|
{
|
||||||
"Key": "Grade",
|
"Key": "Grade",
|
||||||
"Value": { "String" : "${preparation_order_line_list.grade_code_to_prepare}"}
|
"Value": { "String" : "${preparation_order_line.grade_code_to_prepare}"}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Key": "Owner",
|
"Key": "Owner",
|
||||||
"Value": { "String" : "${preparation_order_line_list.owner_code_to_prepare}"}
|
"Value": { "String" : "${preparation_order_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" : "${preparation_order_line_list.batch_1}"}
|
"Value": { "String" : "${preparation_order_line.batch_1}"}
|
||||||
</#if>
|
</#if>
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user