Procedure LINK_DOC_TO_PO_VDR - Intergraph Smart Materials - Version 2020 (10.0) - Help - Hexagon PPM

Intergraph Smart Materials Classic Help (2020)

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

After the login environment is set successfully, this procedure must be executed for the purchase order or order line item that has the VDR assigned. For proper identification of the document, it is required to pass the SmartPlant Foundation document UID and corresponding version UID.

Each call to this interface is a single transaction and is committed to the database or rolled back in case of an error.

The SET_LOGIN_ENV procedure must be called each time this procedure is executed.

Procedure Parameters

Parameter

Description

p_ proj_id

Identifies a valid Smart Materials project.

p_poh_id

Number (12,0). Smart Materials internal purchase order ID.

p_poli_id

Number (12,0). Smart Materials internal purchase order line item ID.

p_v_id

Number (12,0). Smart Materials internal VDR ID.

p_spf_uid

Character (128). Document UID from SmartPlant Foundation.

p_spf_version_uid

Character (128). Document version UID from SmartPlant Foundation.

Link Results

After the API procedures are executed, a new document is linked to the VDR as shown in the picture below.