Skip to main content

When attempting to delete a supplier with an existing object connection to an approval routing, the associated approval line remains in the system. Consequently, users cannot delete the workflow through the Approvals window. 

Steps to Recreate the Issue:

01. Navigate to Object Connections and add an approval routing for 'SupplierInfoGeneral' Logical Unit. Go to the Supplier window, create a new supplier, and add a new approval setup. [Note: A new approval line will be created automatically.]

02. Delete the newly created supplier.

03. Navigate to the Approvals Window and approval line is still available.

 

Can anyone please assist in finding the reason for this?

Hi nivslk,

This issue may be related to the system parameter OBJ_CONN_DELETE, which is likely set to OFF.

This parameter controls whether object connections are automatically removed when their parent objects (e.g., suppliers) are deleted. When set to OFF, the cascade deletion logic does not run, leaving approval lines in place even if the corresponding supplier is deleted.

To enable cascade deletion of object connections:

→ Navigate to the System Parameters window and search for “Delete Object Connections when Parent Objects are Deleted.”

→ Set the value to ‘ON’.

Enabling this parameter will only prevent the issue from occurring in the future. Once active, supplier deletions will automatically remove the associated approval lines.

However, any approval lines that remain from past deletions (while the parameter was unset) will need to be removed through a data correction.

 

Best Regards,

Sonali