Using Null Values

Null values in XML messages are usually represented by the absence of the corresponding element. However, when the desire is to change an elements current value to null a different approach is required.

In Transportation and Global Trade Management Cloud XML messages, to delete (null out) values from certain fields in a record (without deleting the whole record), you can specify the (~) character in the element. For example, if a value was entered for the External System ID field in the TransOrderHeader, and that value needed to be removed in a subsequent TransOrder update, the following would be specified for the XML:

<ExternalSystemId>~</ExternalSystemId>