99:
100: -- Findings.
101:
102: if ( change_category = 'AMW_PROJ_FINDING' ) and
103: ( fnd_function.test ( 'AMW_CREATE_FINDINGS', 'Y' ) ) then
104: return 1;
105: end if;
106:
107: -- Correction Requests.
106:
107: -- Correction Requests.
108:
109: if ( change_category = 'AMW_CORRECT_REQUESTS' ) and
110: ( fnd_function.test ( 'AMW_CREATE_CORRECTREQ', 'Y' ) ) then
111: return 1;
112: end if;
113:
114: -- Issues.
113:
114: -- Issues.
115:
116: if ( change_category = 'AMW_PROC_CERT_ISSUES' ) and
117: ( fnd_function.test ( 'AMW_CREATE_ISSUES', 'Y' ) ) then
118: return 1;
119: end if;
120:
121: -- -- Owner based stuff.