Part With Document

If a document attached to the part in XPDMXML does not exist in 3DEXPERIENCE platform, then it is created else existing document attributes and life cycle states are updated.

Behavior in case a Part-Document relationship comes in XPDMXML:

  • If Part-Document relationship does not exist in database then a new relationship is created with this document.
  • If Part-Document relationship exists in database:
    • If XPDMXML has P1-D1 relation which is also in 3DEXPERIENCE platform, the attributes of the existing relationship is updated.
    • If XPDMXML has P1-D1 relation but in 3DEXPERIENCE platform we have P1-D2 then a new relationship (P1-D1) is created and the existing relationship (P1-D2) will be removed. D2 is not deleted from database.
    • If XPDMXML has P1 but no Part-Document relationship and 3DEXPERIENCE platform has P1-D1, the existing relationship (P1-D1) is removed. D1 is not deleted from database.
  • Also if a DocFile Relationship exist between Doc and incoming file,
    • if the file is present in database then a Checkout of the file is performed and a Checkin of the new file revision is performed,
    • otherwise a Checkin of the new file is performed.