📚 SAP Business One SDK Help

GetFixedXML Method
See Also 
xmlMode
The data to be included in the XML

Description

Returns the query data as XML based on a fixed schema.

The GetAsXML also returns the data as XML, but the schema is dynamic and based on the specific query. With the GetFixedXML, the schema is fixed and is available with the GetFixedSchema method. You can use the schema, for example, to create a .NET object for handling the query XML.

For more information, see Exchanging Data Using the DI API XML Capabilities.

Syntax

Visual Basic
Public Function GetFixedXML( _
   ByVal xmlMode As RecordsetXMLModeEnum _
) As String

Parameters

xmlMode
ValueDescription
rxmDataReturns the fields specified in the query.
rxmDataWithPrimaryKeysReturns the fields specified in the query, plus the primary keys.
rxmOnlyPrimaryKeysReturns only the primary keys.
The data to be included in the XML

See Also