DBA Data[Home] [Help]

APPS.PER_ASSIGNMENTS_F3_PKG dependencies on PER_ASSIGNMENTS_F

Line 1: PACKAGE BODY PER_ASSIGNMENTS_F3_PKG AS

1: PACKAGE BODY PER_ASSIGNMENTS_F3_PKG AS
2: /* $Header: peasg01t.pkb 120.50.12020000.8 2013/02/06 07:35:03 srannama ship $ */
3: -----------------------------------------------------------------------------
4: --
5: g_package varchar2(24) := 'PER_ASSIGNMENTS_F3_PKG.';

Line 5: g_package varchar2(24) := 'PER_ASSIGNMENTS_F3_PKG.';

1: PACKAGE BODY PER_ASSIGNMENTS_F3_PKG AS
2: /* $Header: peasg01t.pkb 120.50.12020000.8 2013/02/06 07:35:03 srannama ship $ */
3: -----------------------------------------------------------------------------
4: --
5: g_package varchar2(24) := 'PER_ASSIGNMENTS_F3_PKG.';
6: g_debug boolean; -- debug flag
7: --
8: procedure process_end_status(
9: p_ass_id number,

Line 18: hr_utility.set_location('Entering: '|| 'PER_ASSIGNMENTS_F3_PKG.process_end_status', 5);

14: -- If the status is changed to 'END' then if there are any future
15: -- changes then disallow the update.
16: ---
17: begin
18: hr_utility.set_location('Entering: '|| 'PER_ASSIGNMENTS_F3_PKG.process_end_status', 5);
19: if p_eff_end_date < p_eot then
20: fnd_message.set_name('PAY', 'HR_6071_APP_ASS_INVALID_END');
21: fnd_message.raise_error;
22: end if;

Line 29: hr_utility.set_location('Leaving: '|| 'PER_ASSIGNMENTS_F3_PKG.process_end_status', 5);

25: -- effective delete.
26: --
27: hr_assignment.del_ref_int_check(p_ass_id, 'END', p_sess_date);
28: --
29: hr_utility.set_location('Leaving: '|| 'PER_ASSIGNMENTS_F3_PKG.process_end_status', 5);
30: end process_end_status;
31: ---------------------------------------------------------------------------
32: procedure process_term_status(
33: p_ass_id number,

Line 42: from per_assignments_f a

38: -- other than TERM_ASSIGNs changes then disallow the update.
39: --
40: cursor term_assign is
41: select 1
42: from per_assignments_f a
43: where a.assignment_id = P_ASS_ID
44: and a.effective_start_date > P_SESS_DATE
45: and exists (select null
46: from per_assignment_status_types s

Line 51: hr_utility.set_location('Entering: '|| 'PER_ASSIGNMENTS_F3_PKG.process_term_status' , 5);

47: where s.assignment_status_type_id =
48: a.assignment_status_type_id
49: and s.per_system_status <> 'TERM_ASSIGN');
50: begin
51: hr_utility.set_location('Entering: '|| 'PER_ASSIGNMENTS_F3_PKG.process_term_status' , 5);
52: open term_assign;
53: fetch term_assign into l_dummy;
54: if term_assign%found then
55: fnd_message.set_name('PAY', 'HR_6387_EMP_ASS_INVALID_TERM');

Line 76: hr_utility.set_location('Entering: '|| 'PER_ASSIGNMENTS_F3_PKG.validate_primary_flag.' , 5);

72: -- HR_ASSIGNMENT.CHECK_ASS_FOR_PRIMARY performs these checks on an
73: -- assignment that has had its PRIMARY FLAG set to 'Yes'
74: --
75: begin
76: hr_utility.set_location('Entering: '|| 'PER_ASSIGNMENTS_F3_PKG.validate_primary_flag.' , 5);
77: hr_assignment.check_ass_for_primary(
78: p_pd_os_id,
79: p_ass_id,
80: p_val_st_date);

Line 102: hr_utility.set_location('Entering: '|| 'PER_ASSIGNMENTS_F3_PKG.test_for_cancel_term' , 5);

98: -- "leading TERM_ASSIGN" to be implicitly created (i.e. a row in the
99: -- future becomes the "leading TERM_ASSIGN").
100: --
101: begin
102: hr_utility.set_location('Entering: '|| 'PER_ASSIGNMENTS_F3_PKG.test_for_cancel_term' , 5);
103: hr_assignment.test_for_cancel_reterm(
104: p_ass_id,
105: p_val_start_date,
106: p_val_end_date,

Line 165: hr_utility.set_location('per_assignments_f3_pkg.check_future_primary',1);

161: -- shown on the client to select from a list of primary candidate
162: -- assignments.
163: --
164: begin
165: hr_utility.set_location('per_assignments_f3_pkg.check_future_primary',1);
166: p_show_cand_prim_assgts := null;
167: if p_dt_mode = 'UPDATE_OVERRIDE' then
168: l_start_date := p_val_start_date;
169: l_prim_flag := p_prim_flag;

Line 179: hr_utility.set_location('per_assignments_f3_pkg.check_future_primary',2);

175: -- Note last 3 parameters return values from server-side procedure.
176: -- The last is OUT only so no need to get p_prim_date_from, we will
177: -- only write to the item.
178: --
179: hr_utility.set_location('per_assignments_f3_pkg.check_future_primary',2);
180: hr_assignment.check_future_primary(
181: p_ass_id,
182: l_start_date,
183: p_eff_end_date,

Line 200: hr_utility.set_location('per_assignments_f3_pkg.check_future_primary',3);

196: --
197: -- As above, last parameter is OUT only - it's actually a varchar2
198: -- returning a number value!
199: --
200: hr_utility.set_location('per_assignments_f3_pkg.check_future_primary',3);
201: hr_assignment.get_new_primary_assignment(
202: p_ass_id,
203: p_pd_os_id,
204: l_start_date,

Line 258: hr_utility.set_location('Entering: '|| 'PER_ASSIGNMENTS_F3_PKG.pre_update_bundle2' , 5);

254: l_warning varchar2(80);
255: l_new_end_date date;
256: l_show_cand_prim_assgts varchar2(1);
257: begin
258: hr_utility.set_location('Entering: '|| 'PER_ASSIGNMENTS_F3_PKG.pre_update_bundle2' , 5);
259: --
260: -- NB RE_ENTRY_POINT_1 is no longer used but kept in so that
261: -- RE_ENTRY_POINT_2 will behave in the same way.
262: --

Line 314: hr_utility.set_location('PER_ASSIGNMENTS_F3_PKG.pre_update_bundle2' , 10);

310: end if;
311: --
312: <>
313: --
314: hr_utility.set_location('PER_ASSIGNMENTS_F3_PKG.pre_update_bundle2' , 10);
315: if p_per_sys_st = 'END' then
316: process_end_status(
317: p_ass_id,
318: p_sess_date,

Line 334: hr_utility.set_location('PER_ASSIGNMENTS_F3_PKG.pre_update_bundle2' , 20);

330: -- of other primary flags is necessary.
331: --
332: p_copy_y_to_prim_ch := null;
333: --
334: hr_utility.set_location('PER_ASSIGNMENTS_F3_PKG.pre_update_bundle2' , 20);
335: if p_s_prim_flag = p_prim_flag then
336: if p_upd_mode = 'UPDATE_OVERRIDE' then
337: check_future_primary(
338: p_upd_mode,

Line 378: hr_utility.set_location('PER_ASSIGNMENTS_F3_PKG.pre_update_bundle2' , 30);

374: --
375: -- Now check the changing of term_assign's with relation to it's
376: -- impact on element entries (G255).
377: --
378: hr_utility.set_location('PER_ASSIGNMENTS_F3_PKG.pre_update_bundle2' , 30);
379: test_for_cancel_term(
380: p_ass_id,
381: p_val_st_date,
382: p_val_end_date,

Line 406: hr_utility.set_location('Leaving: '|| 'PER_ASSIGNMENTS_F3_PKG.pre_update_bundle2' , 40);

402: end if;
403: --
404: p_re_entry_point := 0;
405: --
406: hr_utility.set_location('Leaving: '|| 'PER_ASSIGNMENTS_F3_PKG.pre_update_bundle2' , 40);
407: end pre_update_bundle2;
408: -----------------------------------------------------------------------------
409: --
410: -- UPDATE_AND_DELETE_BUNDLE: procedure to bundle procedure calls which follow

Line 595: hr_utility.set_location('per_assignments_f3_pkg.update_and_delete_bundle',1);

591: begin
592: p_returned_warning := null;
593: hr_utility.clear_warning;
594: --
595: hr_utility.set_location('per_assignments_f3_pkg.update_and_delete_bundle',1);
596: hr_utility.trace('RE_ENTRY_POINT is '||to_char(p_re_entry_point));
597:
598: --Bug# 5758747
599: OPEN get_leg_code;

Line 981: hr_utility.set_location('per_assignments_f3_pkg.update_and_delete_bundle',2);

977: -- end of fix for the bug 4612843
978: --
979: p_re_entry_point := 0;
980: --
981: hr_utility.set_location('per_assignments_f3_pkg.update_and_delete_bundle',2);
982: --
983: end update_and_delete_bundle;
984: -----------------------------------------------------------------------------
985: END PER_ASSIGNMENTS_F3_PKG;

Line 985: END PER_ASSIGNMENTS_F3_PKG;

981: hr_utility.set_location('per_assignments_f3_pkg.update_and_delete_bundle',2);
982: --
983: end update_and_delete_bundle;
984: -----------------------------------------------------------------------------
985: END PER_ASSIGNMENTS_F3_PKG;