GetSystemConfiguration [UTIL006]
DATASCOPE.SDK.BusinessObjects.Utilities.Tools.GetSystemConfiguration()
This Business Object will allow for querying the System Configuration details. These details are pulled directly from the Registry on the WMS server and are the same settings that are configured from the DATASCOPE System Manager. This object is typically used to fetch the System Details when writing a Plugin or 3rd Party application, allowing the configuration of the Plugin or Application to be maintained along with the WMS Configuration.
For a detailed overview on working with DATASCOPE PREMIUM WMS Business Objects, refer to E.Net Business Objects
If you don’t like reading, you can watch the video.
None
No Specification
Description
This Business Object is used to fetch the System Configuration details (Based on System Manager)
Code | UTIL006 |
---|---|
Name | GetSystemConfiguration |
Module | Utilities |
Functional Area | Tools |
Name Space/Class | DATASCOPE.SDK.BusinessObjects.Tools |
Release Date | 22/07/2020 |
Release Version | 5.0.14.93 |
Prerequisites | None |
---|---|
SYSPRO Objects | None |
Parameters
Name | Description | Mandatory field | Data Type | Default Value |
---|---|---|---|---|
pGUID | A valid SYSPRO GUID for the logged in operator | Yes | string | N/A |
Return Values
Name | Description | Mandatory field | Data Type | Default Value |
---|---|---|---|---|
COMPANIES | List of configured companies | SystemConfiguration | List<Company> | Â |
COMPANY_ID | SYSPRO/WMS Company ID/Letter | SystemConfiguration.Company | string | Â |
COMPANY_PASSWORD | SYSPRO Password if any | SystemConfiguration.Company | string | Â |
SYSPRO_MAIN_CATALOG | SYSPRO Main Database Name | SystemConfiguration.Company | string | Â |
SYSPRO_INVENTORY_CATALOG | SYSPRO Inventory Database Name, if Shared Inventory in use. If not used then typically same as SYSPRO_MAIN_CATALOG | SystemConfiguration.Company | string |  |
WMS__MAIN_CATALOG | WMS Main Database Name | SystemConfiguration.Company | string | Â |
SQL_SERVER | SQL Server Name/IP. Configured in the DATASCOPE System Manager | SystemConfiguration | string | Â |
SQL_USERNAME | SQL Server Username configured in System Manager for WMS to communicate with the SQL Server | SystemConfiguration | string | Â |
SQL_PASSWORD | SQL Server Password configured in System Manager for the SQL_USERNAME above (shpuld be Unencrypted) | SystemConfiguration | string | Â |
WMS_CONTROL_CATALOG | WMS Control Database Name. Configured in the DATASCOPE System Manager | SystemConfiguration | string | Â |
SYSPRO_SERVER | SYSPRO Server Name/IP. Configured in the DATASCOPE System Manager | SystemConfiguration | string | Â |
SYSPRO_SERVICE_TYPE | SYSPRO E.Net communication method (WCF/WebServices). Configured in System Manager. Returns DATASCOPE.SDK.Enum | SystemConfiguration | eSYSPROServiceType | Â |
SYSPRO_SERVICE_ADDRESS | SYSPRO E.Net endpoint address. Configured in the DATASCOPE System Manager | SystemConfiguration | string | Â |
SYSPRO_SERVICE__PORT | SYSPRO E.Net WCF Port number if using WCF. Configured in the DATASCOPE System Manager | SystemConfiguration | string | Â |
WMS_SERVER | WMS Server Name/IP. Configured in the DATASCOPE System Manager | SystemConfiguration | string | Â |
WEBAPI_PORT | WMS WebAPI Port Number. Configured in the DATASCOPE System Manager | SystemConfiguration | string | 8081 |
Technical Specification
<sample code>