diff --git a/RPtoRFX_CarrierAppointmentCreated.ftl b/RPtoRFX_CarrierAppointmentCreated.ftl index b1a4c5c..57d2a41 100644 --- a/RPtoRFX_CarrierAppointmentCreated.ftl +++ b/RPtoRFX_CarrierAppointmentCreated.ftl @@ -61,7 +61,9 @@ "activity": "${custom.value.activity_code?json_string}", "originator_code": "${custom.value.originator_code?json_string}", "anticipated_receipt_reference": "${custom.value.anticipated_receipt_reference?json_string}", + <#if custom.value.planned_receipt_datetime?? && custom.value.planned_receipt_datetime!=""> "planned_receipt_date": "${custom.value.planned_receipt_datetime?json_string}", + "anticipated_receipt_year": "${custom.value.anticipated_receipt_year?json_string}", "anticipated_receipt_number": "${custom.value.anticipated_receipt_number?json_string}" }