98: x_ent_contracts.DELETE;
99: -- get the business process if for Depot Repair.
100: SELECT business_process_id
101: INTO l_business_process
102: FROM cs_business_processes
103: WHERE NAME = 'Depot Repair'
104: AND ROWNUM < 2;
105: -- call the API to get the contract details.
106: IF (G_LEVEL_PROCEDURE >= G_RUNTIME_LEVEL) THEN