SG-4374 Work Orders | Jobs - unable to delete job, getting message 'The Job cannot be deleted because at least one of the equipment for the work order/activity is associated with another record(s) in the system.' |
Description |
|
As soon as a requisition for a Work Order is created, jobs for any activities can no longer be deleted, even when ‘Multiple equipment’ checkbox which is mentioned in the use case is not checked. And the requisition is for the other activity. Job Plans - create a job. Work orders - Create a work order Work orders | Activities - create two activities. Work orders | Jobs - add a job for the activity 1. Requisitions - create a requisition. Requisitions | Parts - add a requisition line of type Direct purchase for the above work order and activity 2. Work orders | Jobs - try to delete the job for activity 1. get error - The Job cannot be deleted because at least one of the equipment for the work order/activity is associated with another record(s) in the system. Current behavior - unable to delete job Expected behavior - able to delete job |