SCPN1-8729
This commit is contained in:
parent
871648ca6d
commit
6b1d598a75
@ -27,6 +27,7 @@
|
||||
},
|
||||
"payload" :
|
||||
{
|
||||
<#include "RPtoRFX_PrepOrder_HeaderMetadata.ftl">
|
||||
"originator_reference": "${executionflow.OrderID?json_string}",
|
||||
"preparation_type_code": "${preparation_type_code}",
|
||||
"end_consignee_code": "${actorID}",
|
||||
@ -88,6 +89,7 @@
|
||||
</#if>
|
||||
<#include "RPtoRFX_PrepOrder_DefaultLineData.ftl">
|
||||
{
|
||||
<#include "RPtoRFX_PrepOrder_LineMetadata.ftl">
|
||||
"originator_reference_line_number": ${line.LineID?number},
|
||||
"item_code": "${line.RequestedContent.Goods.ItemID!""}",
|
||||
"item_lv_code": "${line.RequestedContent.Goods.LVBranchID!""}",
|
||||
@ -105,6 +107,7 @@
|
||||
"substitution_possible": "false"
|
||||
-->
|
||||
|
||||
|
||||
}
|
||||
<#sep>,</#sep>
|
||||
</#list>
|
||||
|
||||
17
RPtoRFX_PrepOrder_HeaderMetadata.ftl
Normal file
17
RPtoRFX_PrepOrder_HeaderMetadata.ftl
Normal file
@ -0,0 +1,17 @@
|
||||
<#-- Vous pouvez mapper les métadonnées avec des informations complémentaires, des commentaires... -->
|
||||
<#-- You can map metadata with additional information,comments... -->
|
||||
|
||||
<#--
|
||||
<#if Header_MetaData_Map["Color"]??>
|
||||
<#assign COLOR = Header_MetaData_Map["Color"].String/>
|
||||
<#if COLOR??>
|
||||
,
|
||||
"additional_data_value_list":
|
||||
[
|
||||
{
|
||||
"code": "Color",
|
||||
"value": "${COLOR}"
|
||||
}
|
||||
]
|
||||
</#if>,
|
||||
-->
|
||||
17
RPtoRFX_PrepOrder_LineMetadata.ftl
Normal file
17
RPtoRFX_PrepOrder_LineMetadata.ftl
Normal file
@ -0,0 +1,17 @@
|
||||
<#-- Vous pouvez mapper les métadonnées avec des informations complémentaires, des commentaires... -->
|
||||
<#-- You can map metadata with additional information,comments... -->
|
||||
|
||||
<#--
|
||||
<#if Header_MetaData_Map["Color"]??>
|
||||
<#assign COLOR = Header_MetaData_Map["Color"].String/>
|
||||
<#if COLOR??>
|
||||
,
|
||||
"additional_data_value_list":
|
||||
[
|
||||
{
|
||||
"code": "Color",
|
||||
"value": "${COLOR}"
|
||||
}
|
||||
]
|
||||
</#if>,
|
||||
-->
|
||||
@ -13,6 +13,7 @@
|
||||
},
|
||||
"payload" :
|
||||
{
|
||||
<#include "RPtoRFX_Receipt_HeaderMetadata.ftl">
|
||||
"receipt_reference": "${executionflow.OrderID?json_string}",
|
||||
"receipt_type": "${receipt_type}",
|
||||
"receipt_reason_code": "${receipt_reason_code}",
|
||||
@ -43,6 +44,7 @@
|
||||
</#if>
|
||||
<#include "RPtoRFX_Receipt_DefaultLineData.ftl">
|
||||
{
|
||||
<#include "RPtoRFX_Receipt_LineMetadata.ftl">
|
||||
"receipt_reference_line_no": ${line.LineID?number},
|
||||
"item_code": "${line.RequestedContent.Goods.ItemID!""}",
|
||||
"item_lv_code": "${line.RequestedContent.Goods.LVBranchID!""}",
|
||||
|
||||
17
RPtoRFX_Receipt_HeaderMetadata.ftl
Normal file
17
RPtoRFX_Receipt_HeaderMetadata.ftl
Normal file
@ -0,0 +1,17 @@
|
||||
<#-- Vous pouvez mapper les métadonnées avec des informations complémentaires, des commentaires... -->
|
||||
<#-- You can map metadata with additional information,comments... -->
|
||||
|
||||
<#--
|
||||
<#if Header_MetaData_Map["Color"]??>
|
||||
<#assign COLOR = Header_MetaData_Map["Color"].String/>
|
||||
<#if COLOR??>
|
||||
,
|
||||
"additional_data_value_list":
|
||||
[
|
||||
{
|
||||
"code": "Color",
|
||||
"value": "${COLOR}"
|
||||
}
|
||||
]
|
||||
</#if>,
|
||||
-->
|
||||
17
RPtoRFX_Receipt_LineMetadata.ftl
Normal file
17
RPtoRFX_Receipt_LineMetadata.ftl
Normal file
@ -0,0 +1,17 @@
|
||||
<#-- Vous pouvez mapper les métadonnées avec des informations complémentaires, des commentaires... -->
|
||||
<#-- You can map metadata with additional information,comments... -->
|
||||
|
||||
<#--
|
||||
<#if Header_MetaData_Map["Color"]??>
|
||||
<#assign COLOR = Header_MetaData_Map["Color"].String/>
|
||||
<#if COLOR??>
|
||||
,
|
||||
"additional_data_value_list":
|
||||
[
|
||||
{
|
||||
"code": "Color",
|
||||
"value": "${COLOR}"
|
||||
}
|
||||
]
|
||||
</#if>,
|
||||
-->
|
||||
Loading…
x
Reference in New Issue
Block a user