DBA Data[Home] [Help]

APPS.PQH_WST_BUS dependencies on PQH_WST_SHD

Line 46: l_api_updating := pqh_wst_shd.api_updating

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

Line 52: <> pqh_wst_shd.g_old_rec.worksheet_budget_set_id) then

48: p_object_version_number => p_object_version_number);
49: --
50: if (l_api_updating
51: and nvl(p_worksheet_budget_set_id,hr_api.g_number)
52: <> pqh_wst_shd.g_old_rec.worksheet_budget_set_id) then
53: --
54: -- raise error as PK has changed
55: --
56: pqh_wst_shd.constraint_error('PQH_WORKSHEET_BUDGET_SETS_PK');

Line 56: pqh_wst_shd.constraint_error('PQH_WORKSHEET_BUDGET_SETS_PK');

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

Line 66: pqh_wst_shd.constraint_error('PQH_WORKSHEET_BUDGET_SETS_PK');

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

Line 118: l_api_updating := pqh_wst_shd.api_updating

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

Line 124: <> nvl(pqh_wst_shd.g_old_rec.dflt_budget_set_id,hr_api.g_number)

120: p_object_version_number => p_object_version_number);
121: --
122: if (l_api_updating
123: and nvl(p_dflt_budget_set_id,hr_api.g_number)
124: <> nvl(pqh_wst_shd.g_old_rec.dflt_budget_set_id,hr_api.g_number)
125: or not l_api_updating) then
126: --
127: -- check if dflt_budget_set_id value exists in pqh_dflt_budget_sets table
128: --

Line 139: pqh_wst_shd.constraint_error('PQH_WORKSHEET_BUDGET_SETS_FK2');

135: --
136: -- raise error as FK does not relate to PK in pqh_dflt_budget_sets
137: -- table.
138: --
139: pqh_wst_shd.constraint_error('PQH_WORKSHEET_BUDGET_SETS_FK2');
140: --
141: end if;
142: --
143: close c1;

Line 193: l_api_updating := pqh_wst_shd.api_updating

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

Line 199: <> nvl(pqh_wst_shd.g_old_rec.worksheet_period_id,hr_api.g_number)

195: p_object_version_number => p_object_version_number);
196: --
197: if (l_api_updating
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: --

Line 214: pqh_wst_shd.constraint_error('PQH_WORKSHEET_BUDGET_SETS_FK1');

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: --
216: end if;
217: --
218: close c1;

Line 264: l_api_updating := pqh_wst_shd.api_updating

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

Line 270: <> nvl(pqh_wst_shd.g_old_rec.budget_unit3_value_type_cd,hr_api.g_varchar2)

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

Line 332: l_api_updating := pqh_wst_shd.api_updating

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

Line 338: <> nvl(pqh_wst_shd.g_old_rec.budget_unit2_value_type_cd,hr_api.g_varchar2)

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

Line 400: l_api_updating := pqh_wst_shd.api_updating

396: Begin
397: --
398: hr_utility.set_location('Entering:'||l_proc, 5);
399: --
400: l_api_updating := pqh_wst_shd.api_updating
401: (p_worksheet_budget_set_id => p_worksheet_budget_set_id,
402: p_object_version_number => p_object_version_number);
403: --
404: if (l_api_updating

Line 406: <> nvl(pqh_wst_shd.g_old_rec.budget_unit1_value_type_cd,hr_api.g_varchar2)

402: p_object_version_number => p_object_version_number);
403: --
404: if (l_api_updating
405: and p_budget_unit1_value_type_cd
406: <> nvl(pqh_wst_shd.g_old_rec.budget_unit1_value_type_cd,hr_api.g_varchar2)
407: or not l_api_updating)
408: and p_budget_unit1_value_type_cd is not null then
409: --
410: -- check if value of lookup falls within lookup type.

Line 451: l_api_updating := pqh_wst_shd.api_updating

447: Begin
448: --
449: hr_utility.set_location('Entering:'||l_proc,5);
450: --
451: l_api_updating := pqh_wst_shd.api_updating
452: (p_worksheet_budget_set_id => p_worksheet_budget_set_id,
453: p_object_version_number => p_object_version_number);
454: --
455: if (l_api_updating

Line 457: <> nvl(pqh_wst_shd.g_old_rec.budget_unit1_percent,hr_api.g_number)

453: p_object_version_number => p_object_version_number);
454: --
455: if (l_api_updating
456: and nvl(p_budget_unit1_percent,hr_api.g_number)
457: <> nvl(pqh_wst_shd.g_old_rec.budget_unit1_percent,hr_api.g_number)
458: or not l_api_updating) and
459: p_budget_unit1_percent is not null then
460: --
461: -- Raise error if the value is negative

Line 472: <> nvl(pqh_wst_shd.g_old_rec.budget_unit1_value,hr_api.g_number)

468: --
469: --
470: if (l_api_updating
471: and nvl(p_budget_unit1_value,hr_api.g_number)
472: <> nvl(pqh_wst_shd.g_old_rec.budget_unit1_value,hr_api.g_number)
473: or not l_api_updating) and
474: p_budget_unit1_value is not null then
475: --
476: -- Raise error if the value is negative

Line 488: <> nvl(pqh_wst_shd.g_old_rec.budget_unit1_available,hr_api.g_number)

484: --
485: /**
486: if (l_api_updating
487: and nvl(p_budget_unit1_available,hr_api.g_number)
488: <> nvl(pqh_wst_shd.g_old_rec.budget_unit1_available,hr_api.g_number)
489: or not l_api_updating) and
490: p_budget_unit1_available is not null then
491: --
492: -- Raise error if the value is negative

Line 505: <> nvl(pqh_wst_shd.g_old_rec.budget_unit2_percent,hr_api.g_number)

501: --
502: --
503: if (l_api_updating
504: and nvl(p_budget_unit2_percent,hr_api.g_number)
505: <> nvl(pqh_wst_shd.g_old_rec.budget_unit2_percent,hr_api.g_number)
506: or not l_api_updating) and
507: p_budget_unit2_percent is not null then
508: --
509: -- Raise error if the value is negative

Line 520: <> nvl(pqh_wst_shd.g_old_rec.budget_unit2_value,hr_api.g_number)

516: --
517: --
518: if (l_api_updating
519: and nvl(p_budget_unit2_value,hr_api.g_number)
520: <> nvl(pqh_wst_shd.g_old_rec.budget_unit2_value,hr_api.g_number)
521: or not l_api_updating) and
522: p_budget_unit2_value is not null then
523: --
524: -- Raise error if the value is negative

Line 536: <> nvl(pqh_wst_shd.g_old_rec.budget_unit2_available,hr_api.g_number)

532: --
533: /**
534: if (l_api_updating
535: and nvl(p_budget_unit2_available,hr_api.g_number)
536: <> nvl(pqh_wst_shd.g_old_rec.budget_unit2_available,hr_api.g_number)
537: or not l_api_updating) and
538: p_budget_unit2_available is not null then
539: --
540: -- Raise error if the value is negative

Line 552: <> nvl(pqh_wst_shd.g_old_rec.budget_unit3_percent,hr_api.g_number)

548: --
549: --
550: if (l_api_updating
551: and nvl(p_budget_unit3_percent,hr_api.g_number)
552: <> nvl(pqh_wst_shd.g_old_rec.budget_unit3_percent,hr_api.g_number)
553: or not l_api_updating) and
554: p_budget_unit3_percent is not null then
555: --
556: -- Raise error if the value is negative

Line 567: <> nvl(pqh_wst_shd.g_old_rec.budget_unit3_value,hr_api.g_number)

563: --
564: --
565: if (l_api_updating
566: and nvl(p_budget_unit3_value,hr_api.g_number)
567: <> nvl(pqh_wst_shd.g_old_rec.budget_unit3_value,hr_api.g_number)
568: or not l_api_updating) and
569: p_budget_unit3_value is not null then
570: --
571: -- Raise error if the value is negative

Line 583: <> nvl(pqh_wst_shd.g_old_rec.budget_unit3_available,hr_api.g_number)

579: --
580: /**
581: if (l_api_updating
582: and nvl(p_budget_unit3_available,hr_api.g_number)
583: <> nvl(pqh_wst_shd.g_old_rec.budget_unit3_available,hr_api.g_number)
584: or not l_api_updating) and
585: p_budget_unit3_available is not null then
586: --
587: -- Raise error if the value is negative

Line 604: Procedure insert_validate(p_rec in pqh_wst_shd.g_rec_type

600: --
601: -- ----------------------------------------------------------------------------
602: -- |---------------------------< insert_validate >----------------------------|
603: -- ----------------------------------------------------------------------------
604: Procedure insert_validate(p_rec in pqh_wst_shd.g_rec_type
605: ,p_effective_date in date) is
606: --
607: l_proc varchar2(72) := g_package||'insert_validate';
608: --

Line 665: Procedure update_validate(p_rec in pqh_wst_shd.g_rec_type

661: --
662: -- ----------------------------------------------------------------------------
663: -- |---------------------------< update_validate >----------------------------|
664: -- ----------------------------------------------------------------------------
665: Procedure update_validate(p_rec in pqh_wst_shd.g_rec_type
666: ,p_effective_date in date) is
667: --
668: l_proc varchar2(72) := g_package||'update_validate';
669: --

Line 726: Procedure delete_validate(p_rec in pqh_wst_shd.g_rec_type

722: --
723: -- ----------------------------------------------------------------------------
724: -- |---------------------------< delete_validate >----------------------------|
725: -- ----------------------------------------------------------------------------
726: Procedure delete_validate(p_rec in pqh_wst_shd.g_rec_type
727: ,p_effective_date in date) is
728: --
729: l_proc varchar2(72) := g_package||'delete_validate';
730: --