Example for Update Status of Linked Document - Intergraph Smart Materials - Version 2016 R4 (8.4.0) - Help - Hexagon PPM

Intergraph Smart Materials Classic Help (2016)

PPMProduct
Intergraph Smart Materials
PPMCategory_custom
Help
Version_SPMat
2016 R4 (8.4)

DECLARE

p_proj_id VARCHAR2(10) := 'RS';

p_poh_id NUMBER := 15764;

p_poli_id NUMBER := NULL;

p_v_id NUMBER := 12670;

p_spf_uid m_doc_imports.spf_uid%TYPE

:= '643c1565-75db-4059-bde7-3fcd3c74298f';

p_spf_version_uid m_doc_imports.spf_version_UID%TYPE

:= 'd14811d6-06d0-43a8-b5dd-43826f2b5367';

p_doc_status VARCHAR2(10) := 'NOT APPR';

p_approve_date VARCHAR2(12) := '2014-02-01';

BEGIN

m_api_doc.set_login_env('RS','VDR_UPDATE', -1);

m_api_doc.upd_PO_VDR_DOC ( p_proj_id

,p_poh_id

,p_poli_id

,p_v_id

,p_spf_uid

,p_spf_version_uid

,'NOT APPR'

,p_approve_date );

END;