128: --
129:
130: if ad_zd.get_edition('PATCH') is not null then
131: -- an online patch is in progress, return error
132: fnd_message.set_name('FND', 'AD_ZD_DISABLED_FEATURE');
133: raise_application_error ('-20000', fnd_message.get);
134: end if;
135:
136: l_sqlid := dbms_sql.open_cursor;
129:
130: if ad_zd.get_edition('PATCH') is not null then
131: -- an online patch is in progress, return error
132: fnd_message.set_name('FND', 'AD_ZD_DISABLED_FEATURE');
133: raise_application_error ('-20000', fnd_message.get);
134: end if;
135:
136: l_sqlid := dbms_sql.open_cursor;
137: dbms_sql.parse(l_sqlid,l_view_text,dbms_sql.native);