DTW Administration / Setup / Inventory / Customs Groups
API Data Browser


The DataBrowser enables to navigate between records that are selected from the database or from XML formatted data. All business objects can call the DataBrowser object using the Browser property. You must use a Recordset object to initialize the DataBrowser object.

You cannot create a new DataBrowser object, it is invoked as a Browser property of a business object.

Object Model


To use the DataBrowser object, first create a new Recordset object, preform the required query, and then assign the Recordset object to the Recordset property of the DataBrowser object.

See Selecting Information Using the Recordset and DataBrowser Objects sample.


See Also

SAP® B1 DI-API C# definition

public class DataBrowserClass : IDataBrowser, DataBrowser { public virtual bool BoF { get; } public virtual bool EoF { get; } public virtual int RecordCount { get; } public virtual SAPbobsCOM.Recordset Recordset { set; } public extern DataBrowserClass(); public virtual extern bool GetByKeys( string keysStr); public virtual extern void MoveFirst(); public virtual extern void MoveLast(); public virtual extern void MoveNext(); public virtual extern void MovePrevious(); public virtual extern void ReadXml( string XmlFileStr, int Index); public virtual extern void Refresh(); }

Related information

Recordset Recordset Object
Recordset is a raw data access object that enables you to select data from the database, navigate through the result set, and manipulate user tables, which are not exposed by the DI API. The main method of this object is DoQuery that enables you...
   Parent: Data Browser DataBrowser Object

SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates