Controle line_list

This commit is contained in:
2025-08-06 10:12:28 +02:00
parent db7d673b07
commit fa59170f4d
2 changed files with 79 additions and 68 deletions

View File

@@ -26,11 +26,11 @@
<#include "RFXtoRP_HsrPro_ExecutionflowDetected.ftl">
}
<#else>
<#-- no line list -->
<#-- No line -->
<#stop>
</#if>
<#else>
<#-- preparation order type not supported -->
<#-- Preparation order type not supported -->
<#stop>
</#if>
]
@@ -42,13 +42,19 @@
<#assign preparation_order = JsonUtil.jsonToMap(dataRfx)>
[
<#if preparation_order.preparation_type_code == "010" || preparation_order.preparation_type_code == "030" >
{
<#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowCancelled>
"apiReflexPlatformID" : "${apiReflexPlatformID}",
"datas" :
<#include "RFXtoRP_HsrPro_ExecutionflowCancelled.ftl">
}
<#if preparation_order.line_list??>
{
<#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowCancelled>
"apiReflexPlatformID" : "${apiReflexPlatformID}",
"datas" :
<#include "RFXtoRP_HsrPro_ExecutionflowCancelled.ftl">
}
<#else>
<#-- No line -->
<#stop>
</#if>
<#else>
<#-- Preparation order type not supported -->
<#stop>
</#if>
]