What is the reason for the document object connections to remain even after deleting the connected objects?
Page 1 / 1
An object connection can be made to any business object such as “Standard job”, "work order operation line" etc. And some of these objects can be deleted from the application any time. For an example, if you created an operation line in a work order, then your document is attached to the object “Standard job role”. And you are allowed to remove the operation line from the application. Now the object connections are no longer valid and will not be deleted from the application either. These are called "Dangling object connections" since these are not connected to any object. This happens only for some of the business objects.
Document, media (or other connections under Attachments) unfortunately does not "know" if an object that uses it, has been removed.
In such a scenario, you can follow below steps to solve this:
Parameter- “Delete Object Connection when Parent Objects are Deleted”
Document, media (or other connections under Attachments) unfortunately does not "know" if an object that uses it, has been removed.
In such a scenario, you can follow below steps to solve this:
- Schedule the database task "Remove Dangling Object Connections" to be run periodically. This database task removes object connections which are no longer valid.
- Furthermore, to avoid this issue in the future, you can take below actions:
- Go to the “System Parameters” window
- Then make a query for below
Parameter- “Delete Object Connection when Parent Objects are Deleted”
- Then change the “Value” to “ON” and save.
Good answer... Thank you
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.