Develop > Controller layer > Integrate with back-end systems and external applications > Back-end integration legacy messages
UserData element for outbound messages
The outbound XML message Report_NC_PurchaseOrder includes the UserData XML element as an optional element. Include the UserDataField element in this message to send additional data. You can customize the fields to pass extra data that is not included in the messages.
The name of the new field to be added should be the attribute of the name for the UserDataField element.
The following DTD describes the UserData element:
<!ELEMENT UserData (UserDataField+)> <!ELEMENT UserDataField (#PCDATA)> <!ATTLIST UserDataField name CDATA #REQUIRED>
The following is an example of the UserData element:
<UserData> <UserDataField name="field_name">field_value</UserDataField> . .UserDataField repeated loop . </UserData>
Related reference
Report_NC_PurchaseOrder message