DBA Data[Home] [Help]

APPS.PQH_BCE_BUS dependencies on PQH_BCE_SHD

Line 46: l_api_updating := pqh_bce_shd.api_updating

42: Begin
43: --
44: hr_utility.set_location('Entering:'||l_proc, 5);
45: --
46: l_api_updating := pqh_bce_shd.api_updating
47: (p_bdgt_cmmtmnt_elmnt_id => p_bdgt_cmmtmnt_elmnt_id,
48: p_object_version_number => p_object_version_number);
49: --
50: if (l_api_updating

Line 52: <> pqh_bce_shd.g_old_rec.bdgt_cmmtmnt_elmnt_id) then

48: p_object_version_number => p_object_version_number);
49: --
50: if (l_api_updating
51: and nvl(p_bdgt_cmmtmnt_elmnt_id,hr_api.g_number)
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');

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 118: l_api_updating := pqh_bce_shd.api_updating

114: Begin
115: --
116: hr_utility.set_location('Entering:'||l_proc,5);
117: --
118: l_api_updating := pqh_bce_shd.api_updating
119: (p_bdgt_cmmtmnt_elmnt_id => p_bdgt_cmmtmnt_elmnt_id,
120: p_object_version_number => p_object_version_number);
121: --
122: if (l_api_updating

Line 124: <> nvl(pqh_bce_shd.g_old_rec.dflt_elmnt_frequency,hr_api.g_varchar2)

120: p_object_version_number => p_object_version_number);
121: --
122: if (l_api_updating
123: and nvl(p_dflt_elmnt_frequency,hr_api.g_varchar2)
124: <> nvl(pqh_bce_shd.g_old_rec.dflt_elmnt_frequency,hr_api.g_varchar2)
125: or not l_api_updating) and
126: p_dflt_elmnt_frequency is not null then
127: --
128: -- check if dflt_elmnt_frequency value exists in per_time_period_types table

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 194: l_api_updating := pqh_bce_shd.api_updating

190: Begin
191: --
192: hr_utility.set_location('Entering:'||l_proc,5);
193: --
194: l_api_updating := pqh_bce_shd.api_updating
195: (p_bdgt_cmmtmnt_elmnt_id => p_bdgt_cmmtmnt_elmnt_id,
196: p_object_version_number => p_object_version_number);
197: --
198: if (l_api_updating

Line 200: <> nvl(pqh_bce_shd.g_old_rec.budget_id,hr_api.g_number)

196: p_object_version_number => p_object_version_number);
197: --
198: if (l_api_updating
199: and nvl(p_budget_id,hr_api.g_number)
200: <> nvl(pqh_bce_shd.g_old_rec.budget_id,hr_api.g_number)
201: or not l_api_updating) then
202: --
203: -- check if budget_id value exists in pqh_budgets table
204: --

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 265: l_api_updating := pqh_bce_shd.api_updating

261: Begin
262: --
263: hr_utility.set_location('Entering:'||l_proc, 5);
264: --
265: l_api_updating := pqh_bce_shd.api_updating
266: (p_bdgt_cmmtmnt_elmnt_id => p_bdgt_cmmtmnt_elmnt_id,
267: p_object_version_number => p_object_version_number);
268: --
269: if (l_api_updating

Line 271: <> nvl(pqh_bce_shd.g_old_rec.actual_commitment_type,hr_api.g_varchar2)

267: p_object_version_number => p_object_version_number);
268: --
269: if (l_api_updating
270: and p_actual_commitment_type
271: <> nvl(pqh_bce_shd.g_old_rec.actual_commitment_type,hr_api.g_varchar2)
272: or not l_api_updating)
273: and p_actual_commitment_type is not null then
274: --
275: -- check if value of lookup falls within lookup type.

Line 333: l_api_updating := pqh_bce_shd.api_updating

329: Begin
330: --
331: hr_utility.set_location('Entering:'||l_proc, 5);
332: --
333: l_api_updating := pqh_bce_shd.api_updating
334: (p_bdgt_cmmtmnt_elmnt_id => p_bdgt_cmmtmnt_elmnt_id,
335: p_object_version_number => p_object_version_number);
336: --
337: if (l_api_updating

Line 339: <> nvl(pqh_bce_shd.g_old_rec.salary_basis_flag,hr_api.g_varchar2)

335: p_object_version_number => p_object_version_number);
336: --
337: if (l_api_updating
338: and p_salary_basis_flag
339: <> nvl(pqh_bce_shd.g_old_rec.salary_basis_flag,hr_api.g_varchar2)
340: or not l_api_updating)
341: and p_salary_basis_flag is not null then
342: --
343: -- check if value of lookup falls within lookup type.

Line 403: l_api_updating := pqh_bce_shd.api_updating

399: --
400: hr_utility.set_location('Entering:'||l_proc, 5);
401:
402: --
403: l_api_updating := pqh_bce_shd.api_updating
404: (p_bdgt_cmmtmnt_elmnt_id => p_bdgt_cmmtmnt_elmnt_id,
405: p_object_version_number => p_object_version_number);
406: --
407:

Line 590: Procedure insert_validate(p_rec in pqh_bce_shd.g_rec_type

586: --
587: -- ----------------------------------------------------------------------------
588: -- |---------------------------< insert_validate >----------------------------|
589: -- ----------------------------------------------------------------------------
590: Procedure insert_validate(p_rec in pqh_bce_shd.g_rec_type
591: ,p_effective_date in date) is
592: --
593: l_proc varchar2(72) := g_package||'insert_validate';
594: --

Line 652: Procedure update_validate(p_rec in pqh_bce_shd.g_rec_type

648: --
649: -- ----------------------------------------------------------------------------
650: -- |---------------------------< update_validate >----------------------------|
651: -- ----------------------------------------------------------------------------
652: Procedure update_validate(p_rec in pqh_bce_shd.g_rec_type
653: ,p_effective_date in date) is
654: --
655: l_proc varchar2(72) := g_package||'update_validate';
656: --

Line 714: Procedure delete_validate(p_rec in pqh_bce_shd.g_rec_type

710: --
711: -- ----------------------------------------------------------------------------
712: -- |---------------------------< delete_validate >----------------------------|
713: -- ----------------------------------------------------------------------------
714: Procedure delete_validate(p_rec in pqh_bce_shd.g_rec_type
715: ,p_effective_date in date) is
716: --
717: l_proc varchar2(72) := g_package||'delete_validate';
718: --