Loads a given version of a catalog document from ENOVIA V5 database in session.
Role:This method loads a given version of a catalog document from the ENOVIA V5 database in the session.
It performs the attribute mapping on the document. This method returns a pointer on the document loaded
in session.
If needed, your Imakefile.mk should include the module: CATPDMBaseEnoviaV5CAA
Parameters:
iV_ID
V_ID attribute value of the document master
iV_version
V_version attribute value of the document version
opDocument
pointer to the Document loaded in session
Returns:
S_OK: catalog document is successfully loaded
E_FAIL: The method has failed. Possible reasons of error are:
Invalid argument
No catalog found for iV_ID and iV_version
Document to load is not a catalog
Connection to ENOVIA V5 database doesn't exist
This object is included in the file: CATPDMInteropServices.h