DBA Data[Home] [Help]

APPS.PQH_BCE_BUS dependencies on PQH_BDGT_CMMTMNT_ELMNTS

Line 56: pqh_bce_shd.constraint_error('PQH_BDGT_CMMTMNT_ELMNTS_PK');

52: <> pqh_bce_shd.g_old_rec.bdgt_cmmtmnt_elmnt_id) then
53: --
54: -- raise error as PK has changed
55: --
56: pqh_bce_shd.constraint_error('PQH_BDGT_CMMTMNT_ELMNTS_PK');
57: --
58: elsif not l_api_updating then
59: --
60: -- check if PK is null

Line 66: pqh_bce_shd.constraint_error('PQH_BDGT_CMMTMNT_ELMNTS_PK');

62: if p_bdgt_cmmtmnt_elmnt_id is not null then
63: --
64: -- raise error as PK is not null
65: --
66: pqh_bce_shd.constraint_error('PQH_BDGT_CMMTMNT_ELMNTS_PK');
67: --
68: end if;
69: --
70: end if;

Line 140: pqh_bce_shd.constraint_error('PQH_BDGT_CMMTMNT_ELMNTS_FK2');

136: --
137: -- raise error as FK does not relate to PK in per_time_period_types
138: -- table.
139: --
140: pqh_bce_shd.constraint_error('PQH_BDGT_CMMTMNT_ELMNTS_FK2');
141: --
142: end if;
143: --
144: close c1;

Line 215: pqh_bce_shd.constraint_error('PQH_BDGT_CMMTMNT_ELMNTS_FK1');

211: --
212: -- raise error as FK does not relate to PK in pqh_budgets
213: -- table.
214: --
215: pqh_bce_shd.constraint_error('PQH_BDGT_CMMTMNT_ELMNTS_FK1');
216: --
217: end if;
218: --
219: close c1;

Line 379: from pqh_bdgt_cmmtmnt_elmnts

375: --
376:
377: cursor csr_element_ins is
378: select count(*)
379: from pqh_bdgt_cmmtmnt_elmnts
380: where budget_id = p_budget_id
381: and element_type_id = p_element_type_id
382: and (actual_commitment_type = 'BOTH' and p_actual_commitment_type in ('BOTH','COMMITMENT','ACTUAL')
383: or (actual_commitment_type = 'COMMITMENT' and p_actual_commitment_type in ('BOTH','COMMITMENT'))

Line 388: from pqh_bdgt_cmmtmnt_elmnts

384: or (actual_commitment_type = 'ACTUAL' and p_actual_commitment_type in ('BOTH','ACTUAL')));
385:
386: cursor csr_element_upd is
387: select count(*)
388: from pqh_bdgt_cmmtmnt_elmnts
389: where budget_id = p_budget_id
390: and element_type_id = p_element_type_id
391: and bdgt_cmmtmnt_elmnt_id <> p_bdgt_cmmtmnt_elmnt_id
392: and (actual_commitment_type = 'BOTH' and p_actual_commitment_type in ('BOTH','COMMITMENT','ACTUAL')