Format date from Reflex

This commit is contained in:
2023-09-06 15:13:47 +02:00
parent d263897eb7
commit 7a46793fe7
16 changed files with 25 additions and 51 deletions

View File

@@ -2,7 +2,7 @@
<#include "ReflexUtils.ftl">
[
<#assign receipt_confirmation_datetime = RfxDateTimetoUTC(reflexMvtStockInterface.ipg_move_creation_datetime,time_zone_offset_rfx) />
<#assign priority_date = RfxDateTimetoUTC(reflexMvtStockInterface.ipg_priority_datetime,time_zone_offset_rfx) />
{
"Header": {
"ProjectID": "${projectRP}"
@@ -21,12 +21,10 @@
"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}",