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

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

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>