Creates an empty CATProduct dedicated to ENOVIAvpm V4 import.
Role:This method creates a new empty CATProduct document in session and
valuates the storage name of the corresponding CATDocument
with the input identifier iRootPartId.
This method takes as input the root part identifier iRootPartId.
Only the 42 first character of the string are relevant and are structured as followed:
the Coid of the root part (database binary 8 crc long)
the Compid of the root part (database binary 8 crc long)
the VPM environment name of the root part (8 crc long).
For instance, "VPMENV "
the VPM PART table name of the root Part (18 crc long).
For instance "PART_LIST "
The 8 crc long server name might be present in the string but will be ignored.
Parameters:
iLgId
length of the iRootPartId string(should be 42)
iRootPartId
ENOVIAvpm Root Id
oDoc
the new document is session only if the method is successful
Returns:
S_OK: The CATProduct document has been created successfuly
E_FAIL: ENOVIAvpm server cannot be detected
E_FAIL: The method has failed
This object is included in the file: CATBatchServices.h