DBA Data[Home] [Help]

APPS.PQH_WST_BUS dependencies on PQH_WORKSHEET_PERIODS

Line 186: from pqh_worksheet_periods a

182: l_dummy varchar2(1);
183: --
184: cursor c1 is
185: select null
186: from pqh_worksheet_periods a
187: where a.worksheet_period_id = p_worksheet_period_id;
188: --
189: Begin
190: --

Line 202: -- check if worksheet_period_id value exists in pqh_worksheet_periods table

198: and nvl(p_worksheet_period_id,hr_api.g_number)
199: <> nvl(pqh_wst_shd.g_old_rec.worksheet_period_id,hr_api.g_number)
200: or not l_api_updating) then
201: --
202: -- check if worksheet_period_id value exists in pqh_worksheet_periods table
203: --
204: open c1;
205: --
206: fetch c1 into l_dummy;

Line 211: -- raise error as FK does not relate to PK in pqh_worksheet_periods

207: if c1%notfound then
208: --
209: close c1;
210: --
211: -- raise error as FK does not relate to PK in pqh_worksheet_periods
212: -- table.
213: --
214: pqh_wst_shd.constraint_error('PQH_WORKSHEET_BUDGET_SETS_FK1');
215: --