From 61753efabe81ede69362bf6c71039583bf941f5b Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Tue, 9 Jan 2024 17:01:45 +0100 Subject: [PATCH] Modifs JsonString 0901241701 --- RPtoRFX_PrepOrder.ftl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/RPtoRFX_PrepOrder.ftl b/RPtoRFX_PrepOrder.ftl index 8d8c1de..eba3211 100644 --- a/RPtoRFX_PrepOrder.ftl +++ b/RPtoRFX_PrepOrder.ftl @@ -36,13 +36,13 @@ }, <#if executionflow.ShipTo.ActorID == ""> "address": { - "first_name": "${executionflow.ShipTo.Contact.FirstName}", - "last_name" :"${executionflow.ShipTo.Contact.Lastname}", + "first_name": "${executionflow.ShipTo.Contact.FirstName!""?json_string}", + "last_name" :"${executionflow.ShipTo.Contact.Lastname!""?json_string}", "mail_address": "${executionflow.ShipTo.Actor.Emails[0]!""}", "mobile_phone_number": "${executionflow.ShipTo.Actor.Phones[0]!""}", - "street_and_number_and_po_box": "${executionflow.ShipTo.Actor.Address.StreetAddressOne}", - "additional_address_data_1": "${executionflow.ShipTo.Actor.Address.StreetAddressTwo}", - "additional_address_data_2": "${executionflow.ShipTo.Actor.Address.StreetAddressThree}", + "street_and_number_and_po_box": "${executionflow.ShipTo.Actor.Address.StreetAddressOne!""?json_string}", + "additional_address_data_1": "${executionflow.ShipTo.Actor.Address.StreetAddressTwo!""?json_string}", + "additional_address_data_2": "${executionflow.ShipTo.Actor.Address.StreetAddressThree!""?json_string}", "postal_code": "${executionflow.ShipTo.Actor.Address.PostalCode!""}", "iso_country_code": "${executionflow.ShipTo.Actor.Address.CountryCode!""}" },