GetConnectionContext | Returns a connection string you can use to connect to the DI API with the same company and with the same user, enabling single sign-on. |
GetDICompany | Returns the DI company object.
Use this method to reduce memory consumption when running multiple DI API add-ons. For more information, see Improve Add-On Performance. |
GetExtensionProperty | Returns the shared parameters and parameters of your extension.
The shared parameters and parameters are in the Parameters tab of the Extension Registration Data Generator window. To access the window, in …\SAP\SAP Business One SDK\Tools\ExtensionPackage, run the ExtensionPackage file.
|
GetExtensionSharedFolderPath | Get extension shared folder in current company |
GetExtensionSharedFolderPathEx | Get extension shared folder in current company by connection string |
GetFormLicenseStatus | Returns the access rights for the currently connected user for the specified form type. |
GetServiceLayerConnectionContext | Used for Single Sign On (SSO) to a Service Layer company. |
GetServiceLayerURLs | Returns the Service Layer URL for the currently connected company in both on-premise and cloud environments. When multiple Service Layer instances are registered in the System Landscape Directory (on-premise) or Cloud Control Center (cloud), the method returns the URLs separated by commas. |
GetUserStorage | Get user storage for company on cloud |
SetExtensionProperty | Sets the shared parameters and parameters of your extension. |
AccessToken | Gets the Access Token |
CompanyID | Gets the Company ID |
CurrentPeriod | The period enabled for data entry and posting.
Prior to release 2007 A, there is a current period setting that indicates the period enabled for data entry and posting. As of release 2007 A, all periods are enabled and the current period setting is no longer used. The value of this property is always -1. |
DatabaseName | The name of the database for the current company. |
EnableAlerts | Indicates whether to enable alerts. |
InstallationId | The installation ID (license-related). |
Localization | The localization currently set for the SAP Business One application. |
Name | The display name of the company. |
ServerDate | The date on the server to which the SAP Business One application is connected. |
ServerName | The server to which the SAP Business One application is connected. |
ServerTime | The time on the server to which the SAP Business One application is connected. |
SystemId | The system ID of the SAP Business One application. The ID is taken from the license data of the application. |
UserName | The user logged into the SAP Business One application. |