Modifs HsrPro

This commit is contained in:
Laurie MONTANT 2024-02-15 10:30:51 +01:00
parent feee703166
commit f25f664b9a

View File

@ -17,9 +17,9 @@
<#assign preparation_order = JsonUtil.jsonToMap(dataRfx)> <#assign preparation_order = JsonUtil.jsonToMap(dataRfx)>
[ [
{ {
<#if preparation_order.originator_reference?? && preparation_order.originator_reference!="">
<#-- check preparation type code (internal order and reservation are ignored) --> <#-- check preparation type code (internal order and reservation are ignored) -->
<#if preparation_order.preparation_type_code == "010" || order.preparation_type_code == "030"> <#if preparation_order.preparation_type_code == "010" || order.preparation_type_code == "030">
<#-- Only if preparation order not confirmed --> <#-- Only if preparation order not confirmed -->
<#if preparation_order.preparation_order_confirmed == "false" > <#if preparation_order.preparation_order_confirmed == "false" >
<#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowDetected> <#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowDetected>
@ -33,6 +33,9 @@
<#else> <#else>
<#stop "preparation order type not supported"> <#stop "preparation order type not supported">
</#if> </#if>
<#else>
<#stop "PRO reference is null">
</#if>
} }
] ]