Overwriting documents with Add to Teamcenter
The Add to Teamcenter program compares the item number, revision, and dataset values of a document with those existing in the Teamcenter database. As a result, you can import files over files that already exist in the Teamcenter database. Add to Teamcenter adds the import time to the original file, and on subsequent loads it checks to see if the modified date is after the import date. If the document being imported has not been modified since the last import, it is recognized as already being in the database and is not re-added to Teamcenter on subsequent imports. However, if the unmanaged file is modified after its initial import into the database, on subsequent imports you are given the options to:
-
Check out the document and overwrite it.
-
Check out all files that exist and overwrite them.
-
Leave the file and use the file already in the database.
-
Leave all files and use the ones that already exist in the database.
-
Cancel the import process.
In the event the Add to Teamcenter comparison discovers an item number that already exists in the database, it compares the file being imported to all revisions, datasets, and files that comprise the dataset. If a match is found, you are given the opportunity to determine the action on the file being imported. If no match is found, the file is assigned a new item number and a record of the action will be placed in the log file.
For example, if the following information exists in Teamcenter:
Item ID 000100
Revision A
Dataset SE Part 000100/A
Named Reference part1_04112007.par
Revision B
Dataset SE part 000100/B
Named Reference 000100.par
Then when you import a file with 000100 as the document number, a comparison is made between the file name of the file being imported against all named references (ie., part1_04112007.par and 000100.par in this example). If it matches, you are given the option to overwrite the file. If you choose not to overwrite, the file is assigned a new item ID, which is recorded in the log file.
During an overwrite condition, BOM precision is not changed.
© 2021 UDS