Query for template commodity codes - Intergraph Smart Reference Data - Help - Hexagon

Intergraph Smart Reference Data Help (10.1)

Language
English
Product
Intergraph Smart Reference Data
Search by Category
Help
Smart Materials/Smart Reference Data Version
10.1

You can use the exposed public method “GetTemplateCommodityCodes” in order to query for template commodity codes. You can also provide the filter criteria for the set of template commodity codes.

Input

Here is the object structure for the input object:

The following table lists the input parameters that you provide through the consuming application.

Parameter Name

Remarks

GroupCode

[Optional] Smart Reference Data group code. You can use the wildcards '_' or '%.'

PartCode

[Optional] Smart Reference Data part code. You can use the wildcards '_' or '%.'

CommodityCode

[Optional] Smart Reference Data commodity code. You can use the wildcards '_' or '%.'

ITRName

[Optional] Initial Technical Requirement name.

Status

[Optional] Status from CMS Details.

TagNumber

[Optional] Tag number from CMS Details.

Version

[Optional] Version from CMS Details.

Output

The output from the service is an array of .NET objects. The output is transmitted through the http channel in the SOAP format. The output has the following object structure:

Consume service methods in client

Now you can use the generated class to call the public methods exposed by the service so that it can be consumed in the client application. Example source code from a sample application is shown below.

Note that the return message on a successful transaction is always “Success."