Saves a document in session and all its pointed documents in ENOVIAvpm V4 database.
Role:This method saves the input document back to the ENOVIAvpm V4 database.
Its pointed documents already loaded in session are also saved in the database.
If the document already exists in the database it is replaced.
The saved documents can be removed from the session at once
according to UnloadAfterSave value.
Always use
CATCommitVPM after to commit the changes in the ENOVIAvpm V4 database.
If needed, your Imakefile.mk should include the module: CATPinServices
Parameters:
iDoc
the main document
UnloadAfterSave
TRUE: the documents are removed from session after beeing saved in database
FALSE: the saved documents are kept in session
Returns:
S_OK: The document(s) are successfuly saved
E_FAIL: The method has failed
This object is included in the file: CATBatchServices.h