35: FOR rec in (SELECT APPLICATION_SHORT_NAME from fnd_application
36: where application_id between 550 and 558
37: UNION
38: -- This query given by Pete from AD for UDTF APPS schema retrieve
39: SELECT oracle_username application_short_name FROM fnd_oracle_userid
40: WHERE read_only_flag = 'U')
41: LOOP
42:
43: if rec.application_short_name='APPS' then