📚 SAP Business One SDK Help

GetXMLobjectType Method
See Also 
FileName

Specifies the full path and file name of the XML file containing the Business objects.

Index

Specifies the offset of the Business object within the file, when using an XML file containing more the one Business object. Otherwise, you can enter the value 0.

Description

Retrieves the type of business object described in an XML file on a specific offset specified by the Index parameter.

Syntax

Visual Basic
Public Function GetXMLobjectType( _
   ByVal FileName As String, _
   ByVal Index As Long _
) As BoObjectTypes

Parameters

FileName

Specifies the full path and file name of the XML file containing the Business objects.

Index

Specifies the offset of the Business object within the file, when using an XML file containing more the one Business object. Otherwise, you can enter the value 0.

Remarks

Before using the GetXMLobjectType method, use the GetXMLelementCount to find out the number of business objects described in the XML file.

Example

See Also