You've already forked reflex-wms-connector
mise en forme
This commit is contained in:
@@ -2,42 +2,42 @@
|
||||
<#include "ReflexUtils.ftl">
|
||||
[
|
||||
<#assign receipt_confirmation_datetime = RfxDateTimetoUTC(reflexMvtStockInterface.ipg_move_creation_datetime,time_zone_offset_rfx) />
|
||||
|
||||
{
|
||||
"Header": {
|
||||
"ProjectID": "${projectRP}"
|
||||
},
|
||||
"ID": {
|
||||
"RefID": "${reflexMvtStockInterface.hd_number}"
|
||||
},
|
||||
|
||||
"Payload": {
|
||||
"ReceivedContents" :[
|
||||
{
|
||||
"DateTime": {
|
||||
"DateTime": "${receipt_confirmation_datetime}",
|
||||
"AuthorTimeZone": "${time_zone_rfx}"
|
||||
},
|
||||
"Goods": {
|
||||
"ItemID": "${reflexMvtStockInterface.item_code}",
|
||||
"LVBranchID": "${reflexMvtStockInterface.lv_code}",
|
||||
<#assign priority_date = "${Default_date}"?datetime(rfx_date_format_default)?iso_utc />
|
||||
"PriorityDate": "${priority_date}",
|
||||
|
||||
<#-- Goods received Segmentation Keys inclusion -->
|
||||
<#include "RFXtoRP_HsaIpgMove_GoodsReceived_SegmentationKeys.ftl">
|
||||
|
||||
},
|
||||
"ExecutionflowID": "R-${reflexMvtStockInterface.receipt_year_number}-${reflexMvtStockInterface.receipt_number}",
|
||||
"LineID": "${reflexMvtStockInterface.receipt_line_number}",
|
||||
"ActorID": "${reflexMvtStockInterface.physical_depot_code}",
|
||||
"Quantity": {
|
||||
"LVID": "${quantity_in_base_lv_RP_Cst}",
|
||||
"Value": ${reflexMvtStockInterface.ipg_move_quantity_in_base_lvs}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
"Header": {
|
||||
"ProjectID": "${projectRP}"
|
||||
},
|
||||
"ID": {
|
||||
"RefID": "${reflexMvtStockInterface.hd_number}"
|
||||
},
|
||||
|
||||
"Payload": {
|
||||
"ReceivedContents" :[
|
||||
{
|
||||
"DateTime": {
|
||||
"DateTime": "${receipt_confirmation_datetime}",
|
||||
"AuthorTimeZone": "${time_zone_rfx}"
|
||||
},
|
||||
"Goods": {
|
||||
"ItemID": "${reflexMvtStockInterface.item_code}",
|
||||
"LVBranchID": "${reflexMvtStockInterface.lv_code}",
|
||||
<#assign priority_date = "${Default_date}"?datetime(rfx_date_format_default)?iso_utc />
|
||||
"PriorityDate": "${priority_date}",
|
||||
|
||||
<#-- Goods received Segmentation Keys inclusion -->
|
||||
<#include "RFXtoRP_HsaIpgMove_GoodsReceived_SegmentationKeys.ftl">
|
||||
|
||||
},
|
||||
"ExecutionflowID": "R-${reflexMvtStockInterface.receipt_year_number}-${reflexMvtStockInterface.receipt_number}",
|
||||
"LineID": "${reflexMvtStockInterface.receipt_line_number}",
|
||||
"ActorID": "${reflexMvtStockInterface.physical_depot_code}",
|
||||
"Quantity": {
|
||||
"LVID": "${quantity_in_base_lv_RP_Cst}",
|
||||
"Value": ${reflexMvtStockInterface.ipg_move_quantity_in_base_lvs}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user