diff --git a/oagis/webapp/oagis/message/ConfirmBod.ftl b/oagis/webapp/oagis/message/ConfirmBod.ftl
index da05fb112..8cefba9ea 100644
--- a/oagis/webapp/oagis/message/ConfirmBod.ftl
+++ b/oagis/webapp/oagis/message/ConfirmBod.ftl
@@ -56,8 +56,8 @@
<#if errorMapList?exists>
<#list errorMapList as errorMap>
- ${errorMap.description?if_exists}
- ${errorMap.reasonCode?if_exists}
+ ${errorMap.description?if_exists?xml}
+ ${errorMap.reasonCode?if_exists?xml}
#list>
#if>
diff --git a/oagis/webapp/oagis/message/ProcessShipment.ftl b/oagis/webapp/oagis/message/ProcessShipment.ftl
index 0c8c28928..75696ebd9 100644
--- a/oagis/webapp/oagis/message/ProcessShipment.ftl
+++ b/oagis/webapp/oagis/message/ProcessShipment.ftl
@@ -67,8 +67,8 @@ under the License.
<#else>
PREPAID
#if>
- ${orderItemShipGroup.shippingInstructions?if_exists}
- ${shipnotes?if_exists}<#-- if order was a return replacement order (associated with return), then set to RETURNLABEL otherwise leave blank -->
+ ${orderItemShipGroup.shippingInstructions?if_exists?xml}
+ ${shipnotes?if_exists?xml}<#-- if order was a return replacement order (associated with return), then set to RETURNLABEL otherwise leave blank -->
${orderItemShipGroup.shipmentMethodTypeId?if_exists}
<#if address?has_content>
@@ -79,40 +79,40 @@ under the License.
<#-- NOTE: this is the to name -->
<#assign toName = (address.toName)?default(partyName)?if_exists/>
<#if (toName?length > partnerNameSize)><#assign toName = (toName?substring(0,partnerNameSize))?if_exists/>#if>
- ${toName?if_exists}
+ ${toName?if_exists?xml}
SHIPTO
USD
<#assign address1 = address.address1?if_exists/>
<#if (address1?length > partnerAddressLineSize)><#assign address1 = (address1?substring(0,partnerAddressLineSize))?if_exists/>#if>
- ${address1?if_exists}
+ ${address1?if_exists?xml}
<#if address.address2?exists>
<#assign address2 = address.address2?if_exists/>
<#if (address2?length > partnerAddressLineSize)><#assign address2 = (address2?substring(0,partnerAddressLineSize))?if_exists/>#if>
- ${address2}
+ ${address2?xml}
#if>
<#assign city = address.city?if_exists/>
<#if (city?length > partnerAddressCitySize)><#assign city = (city?substring(0,partnerAddressCitySize))?if_exists/>#if>
- ${city?if_exists}
+ ${city?if_exists?xml}
<#assign countryGeoId = address.countryGeoId?if_exists/>
<#if (countryGeoId?length > partnerAddressCountrySize)><#assign countryGeoId = (countryGeoId?substring(0,partnerAddressCountrySize))?if_exists/>#if>
${countryGeoId?if_exists}
<#--
-->
- ${address.postalCode?if_exists}
+ ${address.postalCode?if_exists?xml}
${address.stateProvinceGeoId?if_exists}
<#if telecomNumber?has_content>
- <#if telecomNumber.countryCode?has_content>${telecomNumber.countryCode}-#if>${telecomNumber.areaCode?if_exists}-${telecomNumber.contactNumber?if_exists}
+ <#if telecomNumber.countryCode?has_content>${telecomNumber.countryCode?xml}-#if>${telecomNumber.areaCode?if_exists?xml}-${telecomNumber.contactNumber?if_exists?xml}
#if>
<#-- NOTE: this is the attention name -->
<#assign attnName = (address.attnName)?default(partyName)?if_exists/>
<#if (attnName?length > partnerContactNameSize)><#assign attnName = (attnName?substring(0,partnerContactNameSize))?if_exists/>#if>
- ${attnName?if_exists}
- ${emailString?if_exists}
+ ${attnName?if_exists?xml}
+ ${emailString?if_exists?xml}
<#---->
- <#if telecomNumber.countryCode?has_content>${telecomNumber.countryCode}-#if>${telecomNumber.areaCode?if_exists}-${telecomNumber.contactNumber?if_exists}
+ <#if telecomNumber.countryCode?has_content>${telecomNumber.countryCode?xml}-#if>${telecomNumber.areaCode?if_exists?xml}-${telecomNumber.contactNumber?if_exists?xml}
#if>
@@ -140,13 +140,13 @@ under the License.
<#list externalIdSet?if_exists as externalId>
PARTNER_SO
- ${externalId?if_exists}
+ ${externalId?if_exists?xml}
#list>
<#list correspondingPoIdSet?if_exists as correspondingPoId>
CUST_PO
- ${correspondingPoId?if_exists}
+ ${correspondingPoId?if_exists?xml}
#list>
<#-- data preparation code to create the replacementReturnId; this is the returnId if the order is a return replacement order -->
diff --git a/oagis/webapp/oagis/message/ReceiveDelivery.ftl b/oagis/webapp/oagis/message/ReceiveDelivery.ftl
index dda2a028e..6e7ac86ab 100644
--- a/oagis/webapp/oagis/message/ReceiveDelivery.ftl
+++ b/oagis/webapp/oagis/message/ReceiveDelivery.ftl
@@ -54,26 +54,26 @@ under the License.
<#if (partyNameView.firstName)?has_content><#assign partyName = partyNameView.firstName/>#if>
<#if (partyNameView.middleName)?has_content><#assign partyName = partyName + " " + partyNameView.middleName/>#if>
<#if (partyNameView.lastName)?has_content><#assign partyName = partyName + " " + partyNameView.lastName/>#if>
- ${postalAddress.toName?default(partyName)?if_exists}
+ ${postalAddress.toName?default(partyName)?if_exists?xml}
SHIPFROM
USD
- ${postalAddress.address1?if_exists}
+ ${postalAddress.address1?if_exists?xml}
<#if postalAddress.address2?has_content>
- ${postalAddress.address2?if_exists}
+ ${postalAddress.address2?if_exists?xml}
#if>
- ${postalAddress.city?if_exists}
+ ${postalAddress.city?if_exists?xml}
${postalAddress.countryGeoId?if_exists}
<#-- -->
- ${postalAddress.postalCode?if_exists}
+ ${postalAddress.postalCode?if_exists?xml}
${postalAddress.stateProvinceGeoId?if_exists}
- <#if telecomNumber.countryCode?has_content>${telecomNumber.countryCode}-#if>${telecomNumber.areaCode?if_exists}-${telecomNumber.contactNumber?if_exists}
+ <#if telecomNumber.countryCode?has_content>${telecomNumber.countryCode?xml}-#if>${telecomNumber.areaCode?if_exists?xml}-${telecomNumber.contactNumber?if_exists?xml}
- ${postalAddress.attnName?default(partyName)?if_exists}
- ${emailString?if_exists}
+ ${postalAddress.attnName?default(partyName)?if_exists?xml}
+ ${emailString?if_exists?xml}
<#-- -->
- <#if telecomNumber.countryCode?has_content>${telecomNumber.countryCode}-#if>${telecomNumber.areaCode?if_exists}-${telecomNumber.contactNumber?if_exists}
+ <#if telecomNumber.countryCode?has_content>${telecomNumber.countryCode?xml}-#if>${telecomNumber.areaCode?if_exists?xml}-${telecomNumber.contactNumber?if_exists?xml}
#if>
@@ -96,15 +96,15 @@ under the License.
EACH
${returnItem.productId?if_exists}
- ${returnReason.description?if_exists}
+ ${returnReason.description?if_exists?xml}
RMA
- ${returnId?if_exists}
+ ${returnItem.returnId}
${returnItem.returnItemSeqId}
<#list serialNumberList?if_exists as serialNumber>
- ${serialNumber}
+ ${serialNumber?xml}
#list>