All Frameworks  Class Hierarchy  This Framework  Indexes

PSNInteroperability Global Function CATComputeDocId


HRESULT CATComputeDocId(CATIDocId** oDocId,
const CATUnicodeString& iCoid,
const CATUnicodeString& iCompid,
const CATUnicodeString& iCatenv,
const CATUnicodeString& iCatab,
const CATUnicodeString& iCnxString= CATUnicodeString())
Creates a DocId for a ENOVIAvpm V4 document.
Role:This method computes a ENOVIAvpm V4 DocId from the input parameters.

If needed, your Imakefile.mk should include the module: CATPinServices

Parameters:
oDocId
The DocId object.
iCoid
the Coid of the entity in ENOVIAvpm V4(Hexadecimal 16 crc long)
iCompid
the Compid of the entity in ENOVIAvpm V4(Hexadecimal 16 crc long)
iCatenv
the VPM environment name of the entity (8 crc long).
For instance "VPMENV "
iCatab
the VPM PART table name of the entity (18 crc long).
For instance "PART_LIST " for a part or "DOCUMENT " for a V5 document
iCnxString
(optional) if needed, in order to avoid a manual connection.
The connection string of the entity in VPM can be furnished here.
Returns:
  • S_OK: The DocID has been successfuly computed
  • E_FAIL: The method has failed

This object is included in the file: CATBatchServices.h

Copyright © 2003, Dassault Systèmes. All rights reserved.