Valuates the ENOVIAvpm V4 DocID of a document in session.
Role:This method computes a ENOVIAvpm V4 DocId from the input parameters and
valuates it on the CATDocument given in input.
If needed, your Imakefile.mk should include the module: CATPinServices
Parameters:
iDocument
The Document
iCoid
the Coid of the document (8 crc long)
iCompid
the Compid of the document (8 crc long)
iCaenv
the Caenv of the document (8 crc long)
For instance "VPMENV "
iCatab
the Catab of the document (18 crc long)
For instance "DOCUMENT "
iCnxString
(optional) if needed, in order to avoid a manual connection.
The connection string of the database can be furnished here.
Returns:
S_OK: The DocId has been successfuly computed and valuated on the document
E_FAIL: the connection to the database was not previously done
E_FAIL: some input parameters are incorrect
This object is included in the file: CATBatchServices.h