AddTrustedEntity | Adds a trusted entity. |
AuthenticateUser | Checks whether a pair of username and password exist and match in the current SAP Business One company .
Note: this method is for superuser only. |
ChangePassword | Changes the password of the actual user connected to SAP Business One. The system verifies whether the new password complies to the company password policy and if not, the system returns an error. |
Connect | Connects to the SAP Business One company database. |
DeleteTrustedEntity | Deletes a trusted entity. |
Disconnect | Disconnects an active connection with the company database. |
EndTransaction | Ends a global transaction that started with the StartTransaction method. |
GetBusinessObject | Creates a new business object. |
GetBusinessObjectFromXML | Creates a new business object based on a valid XML file. |
GetBusinessObjectXmlSchema | Retrieves the XML schema that is used by the object to validate the input XML files. |
GetCompanyDate | Get Company DATE |
GetCompanyList | Retrieves a list of the company databases located on the specified server. |
GetCompanyService | Creates a new CompanyService. |
GetCompanyTime | Get Company Time |
GetContextCookie | Creates a cookie that consists of the current DI API session for Sign-on Procedure. |
GetDBServerDate | method GetDBServerDate |
GetDBServerTime | method GetDBServerTime |
GetLastError | Retrieves the error code and message for the last error for any object tied to the Company object. |
GetLastErrorCode | Retrieves the last error code issued by any object related to the Company object. |
GetLastErrorContext | method GetLastErrorContext |
GetLastErrorDescription | Retrieves the description of the last error issued by any object related to the Company object. |
GetNewObjectCode | Retrieves the key of the last added record. |
GetNewObjectKey | Retrieves the key of the last added record. |
GetNewObjectType | Gets the last added object type. |
GetRegisteredServersList | Retrieves a list of servers registered with the System Landscape Directory (SLD) server.
Use this method when creating a window for logging into SAP Business One. Create a dropdown list of servers and allow the user to select the server to which to connect. |
GetTenantList | method GetTenantList |
GetTrustedEntitiesAllowedList | method GetTrustedEntitiesAllowedList |
GetXMLelementCount | Retrieves the number of business objects described in an XML file. |
GetXMLobjectType | Retrieves the type of business object described in an XML file on a specific offset specified by the Index parameter. |
IsDTCTransactionObjectSet | Checks whether or not the DTCTransactionObject is set. |
SetSboLoginContext | Decodes the encrypted connection information received from the UI API -- based on the cookie created by the GetContextCookie method -- and then sets the connection information for log on to the Company database.
See Sign-on Procedure. |
StartTransaction | Starts a transaction, allowing you to perform data operations on several business objects.
Use the EndTransaction method to end the transaction and free locked records, allowing other users to access them. |