diff --git a/RFXtoRP_HsrPrepa.ftl b/RFXtoRP_HsrPrepa.ftl index 04eadad..2ceab30 100644 --- a/RFXtoRP_HsrPrepa.ftl +++ b/RFXtoRP_HsrPrepa.ftl @@ -30,7 +30,7 @@ "datas" : <#include "RFXtoRP_HsrPrepa_HandlingUnitDispatched.ftl"> }, - <#if preparationOrder.load_data.carrier_code?? && preparationOrder.load_data.carrier_code!=""> + <#if preparationOrder.load_data?? && preparationOrder.load_data.carrier_code?? && preparationOrder.load_data.carrier_code!="" > { <#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowCarrierUpdated> "apiReflexPlatformID" : "${apiReflexPlatformID}",