From d85abf82351ab545c9b8c28be26a2107bd1ddfaf Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Tue, 19 Nov 2024 11:17:59 +0100 Subject: [PATCH] Correction priority date (cherry picked from commit e41309e74488f41991896cced6f285904dce6f7a) --- RFXtoRP_HsaIpgMove_GoodsReceived.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RFXtoRP_HsaIpgMove_GoodsReceived.ftl b/RFXtoRP_HsaIpgMove_GoodsReceived.ftl index c2de1cd..c74a760 100644 --- a/RFXtoRP_HsaIpgMove_GoodsReceived.ftl +++ b/RFXtoRP_HsaIpgMove_GoodsReceived.ftl @@ -20,7 +20,7 @@ "Goods": { "ItemID": "${reflexMvtStockInterface.item_code?trim?json_string}", "LVBranchID": "${reflexMvtStockInterface.lv_code?json_string}", - <#if (priority_date!="") && (priority_date?starts_with("00")== false) > + <#if (reflexMvtStockInterface.ipg_priority_date!="") && (reflexMvtStockInterface.ipg_priority_date?starts_with("00")== false) > "PriorityDate": "${priority_date}", <#else> "PriorityDate": "1970-01-01T00:00:00Z",