From be2229d184be65bf34c4724bd1bf628ebd5b3d05 Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Mon, 18 Mar 2024 17:19:26 +0100 Subject: [PATCH] Modifs --- RFXtoRP_HsaIpgMove.ftl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/RFXtoRP_HsaIpgMove.ftl b/RFXtoRP_HsaIpgMove.ftl index 03cbfb8..c1a22d7 100644 --- a/RFXtoRP_HsaIpgMove.ftl +++ b/RFXtoRP_HsaIpgMove.ftl @@ -39,10 +39,9 @@ ] <#else> <#-- IPG moves translated into goods received (all type of receipt) --> - <#if reflexMvtStockInterface.receipt_reference?? && reflexMvtStockInterface.receipt_reference!=""> - <#if reflexMvtStockInterface.ipg_move_type == "100" || - reflexMvtStockInterface.ipg_move_type == "110" || - reflexMvtStockInterface.ipg_move_type == "120"> + <#if (reflexMvtStockInterface.ipg_move_type == "100" || + reflexMvtStockInterface.ipg_move_type == "110" || + reflexMvtStockInterface.ipg_move_type == "120") && reflexMvtStockInterface.receipt_reference?? && reflexMvtStockInterface.receipt_reference!=""> [ { <#assign apiReflexPlatformID = ApiReflexPlatformID.HandlingunitGoodsReceived> @@ -52,13 +51,14 @@ } ] <#else> - <#-- Case of IPG move type volontarilly ignored--> - <#stop> + <#if reflexMvtStockInterface.receipt_reference?? && reflexMvtStockInterface.receipt_reference!=""> + <#-- Case of IPG move type volontarilly ignored--> + <#stop " Reference receipt is empty"> + <#else> + <#stop> + - <#else> - <#stop "Receipt reference is empty"> - - + <#else> <#-- cases of an IPG move with quantity = 0 (weight modification)--> <#stop>