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

Called

Parameters

_common
Type: Common Table
The record buffer.
_xml
Type: XmlDocument Class
The XmlDocument to which the XmlElement is added.
_includeFields
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.

Show: