63: return;
64:
65: end;
66:
67: -- check against PA_TASKS
68: begin
69: select 1
70: into x_dummy
71: from sys.dual
70: into x_dummy
71: from sys.dual
72: where not exists
73: (select 1
74: from pa_tasks t
75: where t.cost_ind_rate_sch_id = x_ind_rate_sch_id
76: or t.rev_ind_rate_sch_id = x_ind_rate_sch_id
77: or t.inv_ind_rate_sch_id = x_ind_rate_sch_id);
78: