Update template commodity codes - Intergraph Smart Reference Data - 2020 (10.0) - Help - Hexagon

Intergraph Smart Reference Data Plus Help (2020)

Language
English
Product
Intergraph Smart Reference Data
Search by Category
Help
Smart Materials/Smart Reference Data Version
2020 (10.0)

You can use the exposed public method “UpdateContractCommodityCode” in order to update 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

CommodityCode

Template commodity code

CommodityCodeShortDescription

Short description of the template commodity code

CommodityCodeDescription

Long description of the template commodity code

GroupCode

Group code

PartCode

Part code

LinkCommodityCode

Link commodity code (CMS Details)

LinkCommodityCodeGroupCode

Link commodity code's group code (CMS Details)

LinkCommodityCodePartCode

Link commodity code's part code (CMS Details)

ITRName

Initial Technical Requirement name (CMS Details)

Commodity Values

Attribute

Attribute code

AttributeValue

Attribute value

DigitFrom

Digit from

DigitTo

Digit to

Description

Description

Link ITR Commodity Code

CommodityCode

Commodity code

GroupCode

Commodity group code

PartCode

Commodity part code

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."