All Frameworks  Class Hierarchy  This Framework  Indexes

CATPDMBase Global Function SaveCatalogDocument


HRESULT SaveCatalogDocument(CATDocument* iDoc)
Saves a catalog document in ENOVIA V5 database.
Role:This method enables save a catalog document in the ENOVIA V5 database with document kept in vault.
The save transaction is automatically commited if no error occurs. Otherwise a complete rollback is performed.

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

Parameters:
ipDocument
Document in session
Returns:
  • S_OK: catalog document is successfully saved in database
  • E_FAIL: The method has failed. Possible reasons of error are:
    • Invalid argument
    • Input document is not a catalog
    • catalog document is pointing to other document of type CATProduct
    • Connection to ENOVIA V5 database doesn't exist

This object is included in the file: CATPDMInteropServices.h

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