DBA Data[Home] [Help]

APPS.PER_PAT_BUS dependencies on PER_PAT_BUS

Line 1: Package Body per_pat_bus as

1: Package Body per_pat_bus as
2: /* $Header: pepatrhi.pkb 120.2 2005/10/27 07:56 lsilveir noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

Line 8: g_package varchar2(33) := ' per_pat_bus.'; -- Global package name

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' per_pat_bus.'; -- Global package name
9: g_debug boolean := hr_utility.debug_enabled;
10: --
11: -- The following two global variables are only to be
12: -- used by the return_legislation_code function.

Line 136: if ( nvl(per_pat_bus.g_allocated_task_id, hr_api.g_number)

132: ,p_argument => 'allocated_task_id'
133: ,p_argument_value => p_allocated_task_id
134: );
135: --
136: if ( nvl(per_pat_bus.g_allocated_task_id, hr_api.g_number)
137: = p_allocated_task_id) then
138: --
139: -- The legislation code has already been found with a previous
140: -- call to this function. Just return the value in the global

Line 143: l_legislation_code := per_pat_bus.g_legislation_code;

139: -- The legislation code has already been found with a previous
140: -- call to this function. Just return the value in the global
141: -- variable.
142: --
143: l_legislation_code := per_pat_bus.g_legislation_code;
144: hr_utility.set_location(l_proc, 20);
145: else
146: --
147: -- The ID is different to the last call to this function

Line 167: per_pat_bus.g_allocated_task_id := p_allocated_task_id;

163: -- Set the global variables so the values are
164: -- available for the next call to this function.
165: --
166: close csr_leg_code;
167: per_pat_bus.g_allocated_task_id := p_allocated_task_id;
168: per_pat_bus.g_legislation_code := l_legislation_code;
169: end if;
170: hr_utility.set_location(' Leaving:'|| l_proc, 40);
171: return l_legislation_code;

Line 168: per_pat_bus.g_legislation_code := l_legislation_code;

164: -- available for the next call to this function.
165: --
166: close csr_leg_code;
167: per_pat_bus.g_allocated_task_id := p_allocated_task_id;
168: per_pat_bus.g_legislation_code := l_legislation_code;
169: end if;
170: hr_utility.set_location(' Leaving:'|| l_proc, 40);
171: return l_legislation_code;
172: end return_legislation_code;

Line 663: per_pat_bus.chk_name_unq

659: hr_utility.set_location('Entering:'||l_proc, 5);
660: --
661: -- Call all supporting business operations
662: --
663: per_pat_bus.chk_name_unq
664: (p_task_name => p_rec.task_name
665: ,p_allocated_checklist_id => p_rec.allocated_checklist_id
666: ,p_allocated_task_id => p_rec.allocated_task_id
667: ,p_object_version_number => p_rec.object_version_number

Line 670: per_pat_bus.chk_task_dates

666: ,p_allocated_task_id => p_rec.allocated_task_id
667: ,p_object_version_number => p_rec.object_version_number
668: );
669: --
670: per_pat_bus.chk_task_dates
671: (p_target_start_date => p_rec.target_start_date
672: ,p_target_end_date => p_rec.target_end_date
673: ,p_actual_start_date => p_rec.actual_start_date
674: ,p_actual_end_date => p_rec.actual_end_date

Line 679: per_pat_bus.chk_ddf(p_rec);

675: );
676: --
677: -- Validate Dependent Attributes
678: --
679: per_pat_bus.chk_ddf(p_rec);
680: --
681: per_pat_bus.chk_df(p_rec);
682: --
683: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 681: per_pat_bus.chk_df(p_rec);

677: -- Validate Dependent Attributes
678: --
679: per_pat_bus.chk_ddf(p_rec);
680: --
681: per_pat_bus.chk_df(p_rec);
682: --
683: hr_utility.set_location(' Leaving:'||l_proc, 10);
684: End insert_validate;
685: --

Line 701: per_pat_bus.chk_name_unq

697: hr_utility.set_location('Entering:'||l_proc, 5);
698: --
699: -- Call all supporting business operations
700: --
701: per_pat_bus.chk_name_unq
702: (p_task_name => p_rec.task_name
703: ,p_allocated_checklist_id => p_rec.allocated_checklist_id
704: ,p_allocated_task_id => p_rec.allocated_task_id
705: ,p_object_version_number => p_rec.object_version_number

Line 708: per_pat_bus.chk_task_dates

704: ,p_allocated_task_id => p_rec.allocated_task_id
705: ,p_object_version_number => p_rec.object_version_number
706: );
707: --
708: per_pat_bus.chk_task_dates
709: (p_target_start_date => p_rec.target_start_date
710: ,p_target_end_date => p_rec.target_end_date
711: ,p_actual_start_date => p_rec.actual_start_date
712: ,p_actual_end_date => p_rec.actual_end_date

Line 723: per_pat_bus.chk_ddf(p_rec);

719: ,p_rec => p_rec
720: );
721: --
722: --
723: per_pat_bus.chk_ddf(p_rec);
724: --
725: per_pat_bus.chk_df(p_rec);
726: --
727: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 725: per_pat_bus.chk_df(p_rec);

721: --
722: --
723: per_pat_bus.chk_ddf(p_rec);
724: --
725: per_pat_bus.chk_df(p_rec);
726: --
727: hr_utility.set_location(' Leaving:'||l_proc, 10);
728: End update_validate;
729: --

Line 747: end per_pat_bus;

743: --
744: hr_utility.set_location(' Leaving:'||l_proc, 10);
745: End delete_validate;
746: --
747: end per_pat_bus;