From 122122db8c5a7ca165aa0f0f1921e022bde7e537 Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Wed, 11 Jun 2025 12:09:43 +0200 Subject: [PATCH] SCPN1-8864 --- RFXtoRP_HsrPrepa.ftl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RFXtoRP_HsrPrepa.ftl b/RFXtoRP_HsrPrepa.ftl index 4ed821c..27e4d38 100644 --- a/RFXtoRP_HsrPrepa.ftl +++ b/RFXtoRP_HsrPrepa.ftl @@ -18,6 +18,7 @@ <#assign preparationOrder = JsonUtil.jsonToMap(dataRfx)> <#if preparationOrder.total_lv_validated !=0> + <#if preparationOrder.preparation_type_code=="010" || (preparationOrder.preparation_type_code=="030" && preparationOrder.preparation_line_lst[0].preparation_order_originator_reference!="")> [ { <#assign apiReflexPlatformID = ApiReflexPlatformID.HandlingunitGoodsPrepared> @@ -89,6 +90,9 @@ <#assign refIDHmap ={}> ] + <#else> + <#stop> <#-- Preparation Type not supported--> + <#else> <#stop "no confirmed quantity for the preparation - preparation closed">