Forum Discussion

Former_Member's avatar
Former_Member
Ideator I
9 years ago

Product engineering - moving related model to another product

Hello, i have come across a need to move one of our used models to a different product (Change of business logic) the model i am trying to use is being used by other document/parts/ etc. by trying to delete the relationship it says it is being used by dok nr-xxxx. i have tried to copy the model to a different product using the clipboard Manager and i ended up having same model in two product, but now i get same error in both cases. Is there any way i can move the related model to another product?

1 Reply

  • Hi Eimantas, Can you clarify the data model you are working with (ex: parent ItemType, related ItemType, relationship ItemType), and what kind of item dok nr-xxxx is? Can you also confirm that you are trying to delete a relationship item and not the related item? The error you've described typically occurs when you try to delete a child item before deleting a relationship item. For example: Part A <-- source_id -- Part BOM -- related_id --> Part B     (original data) Part A <-- source_id -- Part BOM -- related_id --> Part B     (deleting child item, Part B, will cause described error) Part A <-- source_id -- Part BOM -- related_id --> Part B      (deleting the relationship item, Part BOM, does not throw error*) * You may encounter the error you described when deleting a relationship item if the relationship item itself has a non-null relationship, but that scenario isn't very common. Eli
    Eli Donahue Aras Labs Software Engineer