From 3d585203ef29061eafc03856fcbdd003302f4f9e Mon Sep 17 00:00:00 2001 From: Francis Reat Date: Tue, 31 Mar 2026 08:53:18 +0200 Subject: [PATCH] SCPN1-10402 --- RPtoRFX_AppointmentEvent.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RPtoRFX_AppointmentEvent.ftl b/RPtoRFX_AppointmentEvent.ftl index 8c17b0a..703fc1b 100644 --- a/RPtoRFX_AppointmentEvent.ftl +++ b/RPtoRFX_AppointmentEvent.ftl @@ -28,7 +28,7 @@ <#assign AddComma = false /> <#assign appointment = eventRP.data /> [ - <#if appointment?? && appointment.Status?? && appointment.Status.Current?? && appointment.Status.Current.StatusCode?? && appointment.Status.Current.StatusCode == AppointmentStatusCode.APPOINTMENT_0150_ALLOCATION_ERROR> + <#if appointment?? && (!(appointment.WMSCreated??) || !appointment.WMSCreated) && appointment.Status?? && appointment.Status.Current?? && appointment.Status.Current.StatusCode?? && appointment.Status.Current.StatusCode == AppointmentStatusCode.APPOINTMENT_0150_ALLOCATION_ERROR> { <#assign apiRestReflexID = ApiRestReflexID.appointment_post_create> "apiRestReflexID" : "${apiRestReflexID}",