126:
127: l_view_text := l_view_text||' FROM MTL_ITEM_LOCATIONS ';
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;
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;