RetailTransactionService::record2XmlNode Method [AX 2012]

Converts a table record to an XmlElement.

client server public static XmlElement record2XmlNode(
    Common _common, 
    XmlDocument _xml, 
   [Set _includeFields])

Run On



Type: Common Table
The record buffer.
Type: XmlDocument Class
The XmlDocument to which the XmlElement is added.
Type: Set Class
A Set containing fields to include. Leave null to include all fields.

Return Value

Type: XmlElement Class
The XmlElement representing the record.

This is a generic function which can be modified to handle more scenarios.