API Command
Command Object


The Command object enables to run SQL stored procedures located in the company database. This object is called by the Recordset object.

Object Model

See Also

SAP® B1 DI-API C# definition

public class CommandClass : ICommand, Command { public virtual string Name { get; set; } public virtual CommandParams Parameters { get; } public extern CommandClass(); public virtual extern void Execute(); }

Related information

Command Params CommandParams Collection
CommandParams is a collection of CommandParam objects.
   Parent: Command Command Object

Command Param CommandParam Object
CommandParam is a child object of the Command object and used to retrieve single parameter of the stored procedure.
   Parent: Command Params CommandParams Collection

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