DBA Data[Home] [Help]

APPS.PAY_IN_24QC_ARCHIVE dependencies on PAY_IN_UTILS

Line 30: pay_in_utils.set_location(g_debug,'Entering: '|| l_procedure,10);

26: BEGIN
27:
28: g_debug := hr_utility.debug_enabled;
29: l_procedure := g_package || '.trace_pl_sql_table_data ';
30: pay_in_utils.set_location(g_debug,'Entering: '|| l_procedure,10);
31:
32: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
33: pay_in_utils.set_location(g_debug,'Displaying Data for Salary Records ',2);
34: pay_in_utils.set_location(g_debug,'========================================== ',3);

Line 32: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

28: g_debug := hr_utility.debug_enabled;
29: l_procedure := g_package || '.trace_pl_sql_table_data ';
30: pay_in_utils.set_location(g_debug,'Entering: '|| l_procedure,10);
31:
32: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
33: pay_in_utils.set_location(g_debug,'Displaying Data for Salary Records ',2);
34: pay_in_utils.set_location(g_debug,'========================================== ',3);
35: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON Starts........ ',3);
36: pay_in_utils.set_location(g_debug,'Number of assignment actions deleted : '|| g_count_sal_delete ,4);

Line 33: pay_in_utils.set_location(g_debug,'Displaying Data for Salary Records ',2);

29: l_procedure := g_package || '.trace_pl_sql_table_data ';
30: pay_in_utils.set_location(g_debug,'Entering: '|| l_procedure,10);
31:
32: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
33: pay_in_utils.set_location(g_debug,'Displaying Data for Salary Records ',2);
34: pay_in_utils.set_location(g_debug,'========================================== ',3);
35: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON Starts........ ',3);
36: pay_in_utils.set_location(g_debug,'Number of assignment actions deleted : '|| g_count_sal_delete ,4);
37: FOR i IN 1..g_count_sal_delete -1

Line 34: pay_in_utils.set_location(g_debug,'========================================== ',3);

30: pay_in_utils.set_location(g_debug,'Entering: '|| l_procedure,10);
31:
32: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
33: pay_in_utils.set_location(g_debug,'Displaying Data for Salary Records ',2);
34: pay_in_utils.set_location(g_debug,'========================================== ',3);
35: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON Starts........ ',3);
36: pay_in_utils.set_location(g_debug,'Number of assignment actions deleted : '|| g_count_sal_delete ,4);
37: FOR i IN 1..g_count_sal_delete -1
38: LOOP

Line 35: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON Starts........ ',3);

31:
32: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
33: pay_in_utils.set_location(g_debug,'Displaying Data for Salary Records ',2);
34: pay_in_utils.set_location(g_debug,'========================================== ',3);
35: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON Starts........ ',3);
36: pay_in_utils.set_location(g_debug,'Number of assignment actions deleted : '|| g_count_sal_delete ,4);
37: FOR i IN 1..g_count_sal_delete -1
38: LOOP
39: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_del(i).last_action_context_id );

Line 36: pay_in_utils.set_location(g_debug,'Number of assignment actions deleted : '|| g_count_sal_delete ,4);

32: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
33: pay_in_utils.set_location(g_debug,'Displaying Data for Salary Records ',2);
34: pay_in_utils.set_location(g_debug,'========================================== ',3);
35: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON Starts........ ',3);
36: pay_in_utils.set_location(g_debug,'Number of assignment actions deleted : '|| g_count_sal_delete ,4);
37: FOR i IN 1..g_count_sal_delete -1
38: LOOP
39: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_del(i).last_action_context_id );
40: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_del(i).assignment_id );

Line 39: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_del(i).last_action_context_id );

35: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON Starts........ ',3);
36: pay_in_utils.set_location(g_debug,'Number of assignment actions deleted : '|| g_count_sal_delete ,4);
37: FOR i IN 1..g_count_sal_delete -1
38: LOOP
39: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_del(i).last_action_context_id );
40: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_del(i).assignment_id );
41: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_del(i).source_id );
42: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_del(i).salary_mode );
43: END LOOP;

Line 40: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_del(i).assignment_id );

36: pay_in_utils.set_location(g_debug,'Number of assignment actions deleted : '|| g_count_sal_delete ,4);
37: FOR i IN 1..g_count_sal_delete -1
38: LOOP
39: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_del(i).last_action_context_id );
40: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_del(i).assignment_id );
41: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_del(i).source_id );
42: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_del(i).salary_mode );
43: END LOOP;
44: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for deletion Ends........ ',5);

Line 41: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_del(i).source_id );

37: FOR i IN 1..g_count_sal_delete -1
38: LOOP
39: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_del(i).last_action_context_id );
40: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_del(i).assignment_id );
41: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_del(i).source_id );
42: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_del(i).salary_mode );
43: END LOOP;
44: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for deletion Ends........ ',5);
45: pay_in_utils.set_location(g_debug,'========================================== ',6);

Line 42: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_del(i).salary_mode );

38: LOOP
39: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_del(i).last_action_context_id );
40: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_del(i).assignment_id );
41: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_del(i).source_id );
42: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_del(i).salary_mode );
43: END LOOP;
44: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for deletion Ends........ ',5);
45: pay_in_utils.set_location(g_debug,'========================================== ',6);
46:

Line 44: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for deletion Ends........ ',5);

40: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_del(i).assignment_id );
41: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_del(i).source_id );
42: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_del(i).salary_mode );
43: END LOOP;
44: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for deletion Ends........ ',5);
45: pay_in_utils.set_location(g_debug,'========================================== ',6);
46:
47: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Addition Starts........ ',7);
48: pay_in_utils.trace('Number of assignment actions added : ', g_count_sal_addition );

Line 45: pay_in_utils.set_location(g_debug,'========================================== ',6);

41: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_del(i).source_id );
42: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_del(i).salary_mode );
43: END LOOP;
44: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for deletion Ends........ ',5);
45: pay_in_utils.set_location(g_debug,'========================================== ',6);
46:
47: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Addition Starts........ ',7);
48: pay_in_utils.trace('Number of assignment actions added : ', g_count_sal_addition );
49: FOR i IN 1..g_count_sal_addition -1

Line 47: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Addition Starts........ ',7);

43: END LOOP;
44: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for deletion Ends........ ',5);
45: pay_in_utils.set_location(g_debug,'========================================== ',6);
46:
47: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Addition Starts........ ',7);
48: pay_in_utils.trace('Number of assignment actions added : ', g_count_sal_addition );
49: FOR i IN 1..g_count_sal_addition -1
50: LOOP
51: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_add(i).last_action_context_id );

Line 48: pay_in_utils.trace('Number of assignment actions added : ', g_count_sal_addition );

44: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for deletion Ends........ ',5);
45: pay_in_utils.set_location(g_debug,'========================================== ',6);
46:
47: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Addition Starts........ ',7);
48: pay_in_utils.trace('Number of assignment actions added : ', g_count_sal_addition );
49: FOR i IN 1..g_count_sal_addition -1
50: LOOP
51: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_add(i).last_action_context_id );
52: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_add(i).assignment_id );

Line 51: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_add(i).last_action_context_id );

47: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Addition Starts........ ',7);
48: pay_in_utils.trace('Number of assignment actions added : ', g_count_sal_addition );
49: FOR i IN 1..g_count_sal_addition -1
50: LOOP
51: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_add(i).last_action_context_id );
52: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_add(i).assignment_id );
53: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_add(i).source_id );
54: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_add(i).salary_mode );
55: END LOOP;

Line 52: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_add(i).assignment_id );

48: pay_in_utils.trace('Number of assignment actions added : ', g_count_sal_addition );
49: FOR i IN 1..g_count_sal_addition -1
50: LOOP
51: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_add(i).last_action_context_id );
52: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_add(i).assignment_id );
53: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_add(i).source_id );
54: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_add(i).salary_mode );
55: END LOOP;
56: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',9);

Line 53: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_add(i).source_id );

49: FOR i IN 1..g_count_sal_addition -1
50: LOOP
51: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_add(i).last_action_context_id );
52: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_add(i).assignment_id );
53: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_add(i).source_id );
54: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_add(i).salary_mode );
55: END LOOP;
56: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',9);
57:

Line 54: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_add(i).salary_mode );

50: LOOP
51: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_add(i).last_action_context_id );
52: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_add(i).assignment_id );
53: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_add(i).source_id );
54: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_add(i).salary_mode );
55: END LOOP;
56: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',9);
57:
58: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',5);

Line 56: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',9);

52: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_add(i).assignment_id );
53: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_add(i).source_id );
54: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_add(i).salary_mode );
55: END LOOP;
56: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',9);
57:
58: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',5);
59: pay_in_utils.set_location(g_debug,'========================================== ',6);
60:

Line 58: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',5);

54: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_add(i).salary_mode );
55: END LOOP;
56: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',9);
57:
58: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',5);
59: pay_in_utils.set_location(g_debug,'========================================== ',6);
60:
61: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Updation Starts........ ',7);
62: pay_in_utils.trace('Number of assignment actions updated : ', g_count_sal_update );

Line 59: pay_in_utils.set_location(g_debug,'========================================== ',6);

55: END LOOP;
56: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',9);
57:
58: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',5);
59: pay_in_utils.set_location(g_debug,'========================================== ',6);
60:
61: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Updation Starts........ ',7);
62: pay_in_utils.trace('Number of assignment actions updated : ', g_count_sal_update );
63: FOR i IN 1..g_count_sal_update -1

Line 61: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Updation Starts........ ',7);

57:
58: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',5);
59: pay_in_utils.set_location(g_debug,'========================================== ',6);
60:
61: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Updation Starts........ ',7);
62: pay_in_utils.trace('Number of assignment actions updated : ', g_count_sal_update );
63: FOR i IN 1..g_count_sal_update -1
64: LOOP
65: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_upd(i).last_action_context_id );

Line 62: pay_in_utils.trace('Number of assignment actions updated : ', g_count_sal_update );

58: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for addition Ends........ ',5);
59: pay_in_utils.set_location(g_debug,'========================================== ',6);
60:
61: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Updation Starts........ ',7);
62: pay_in_utils.trace('Number of assignment actions updated : ', g_count_sal_update );
63: FOR i IN 1..g_count_sal_update -1
64: LOOP
65: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_upd(i).last_action_context_id );
66: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_upd(i).assignment_id );

Line 65: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_upd(i).last_action_context_id );

61: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for Updation Starts........ ',7);
62: pay_in_utils.trace('Number of assignment actions updated : ', g_count_sal_update );
63: FOR i IN 1..g_count_sal_update -1
64: LOOP
65: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_upd(i).last_action_context_id );
66: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_upd(i).assignment_id );
67: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_upd(i).source_id );
68: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_upd(i).salary_mode );
69: END LOOP;

Line 66: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_upd(i).assignment_id );

62: pay_in_utils.trace('Number of assignment actions updated : ', g_count_sal_update );
63: FOR i IN 1..g_count_sal_update -1
64: LOOP
65: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_upd(i).last_action_context_id );
66: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_upd(i).assignment_id );
67: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_upd(i).source_id );
68: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_upd(i).salary_mode );
69: END LOOP;
70: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for updation Ends........ ',9);

Line 67: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_upd(i).source_id );

63: FOR i IN 1..g_count_sal_update -1
64: LOOP
65: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_upd(i).last_action_context_id );
66: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_upd(i).assignment_id );
67: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_upd(i).source_id );
68: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_upd(i).salary_mode );
69: END LOOP;
70: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for updation Ends........ ',9);
71: pay_in_utils.set_location(g_debug,'Data for Salary Records Ends ',2);

Line 68: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_upd(i).salary_mode );

64: LOOP
65: pay_in_utils.trace('Last Action Context ID is : ', g_sal_data_rec_upd(i).last_action_context_id );
66: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_upd(i).assignment_id );
67: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_upd(i).source_id );
68: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_upd(i).salary_mode );
69: END LOOP;
70: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for updation Ends........ ',9);
71: pay_in_utils.set_location(g_debug,'Data for Salary Records Ends ',2);
72: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

Line 70: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for updation Ends........ ',9);

66: pay_in_utils.trace('Assignment ID is : ', g_sal_data_rec_upd(i).assignment_id );
67: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_upd(i).source_id );
68: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_upd(i).salary_mode );
69: END LOOP;
70: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for updation Ends........ ',9);
71: pay_in_utils.set_location(g_debug,'Data for Salary Records Ends ',2);
72: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
73:
74:

Line 71: pay_in_utils.set_location(g_debug,'Data for Salary Records Ends ',2);

67: pay_in_utils.trace('Source ID is : ', g_sal_data_rec_upd(i).source_id );
68: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_upd(i).salary_mode );
69: END LOOP;
70: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for updation Ends........ ',9);
71: pay_in_utils.set_location(g_debug,'Data for Salary Records Ends ',2);
72: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
73:
74:
75: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

Line 72: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

68: pay_in_utils.trace('Salary Mode is : ', g_sal_data_rec_upd(i).salary_mode );
69: END LOOP;
70: pay_in_utils.set_location(g_debug,'IN_24QC_PERSON for updation Ends........ ',9);
71: pay_in_utils.set_location(g_debug,'Data for Salary Records Ends ',2);
72: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
73:
74:
75: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
76: pay_in_utils.set_location(g_debug,'Displaying Data for Deductee Records ',2);

Line 75: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

71: pay_in_utils.set_location(g_debug,'Data for Salary Records Ends ',2);
72: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
73:
74:
75: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
76: pay_in_utils.set_location(g_debug,'Displaying Data for Deductee Records ',2);
77: pay_in_utils.set_location(g_debug,'========================================== ',3);
78: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE Starts........ ',3);
79: pay_in_utils.set_location(g_debug,'Number of element entries deleted : '|| g_count_ee_delete ,4);

Line 76: pay_in_utils.set_location(g_debug,'Displaying Data for Deductee Records ',2);

72: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
73:
74:
75: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
76: pay_in_utils.set_location(g_debug,'Displaying Data for Deductee Records ',2);
77: pay_in_utils.set_location(g_debug,'========================================== ',3);
78: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE Starts........ ',3);
79: pay_in_utils.set_location(g_debug,'Number of element entries deleted : '|| g_count_ee_delete ,4);
80: FOR i IN 1..g_count_ee_delete -1

Line 77: pay_in_utils.set_location(g_debug,'========================================== ',3);

73:
74:
75: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
76: pay_in_utils.set_location(g_debug,'Displaying Data for Deductee Records ',2);
77: pay_in_utils.set_location(g_debug,'========================================== ',3);
78: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE Starts........ ',3);
79: pay_in_utils.set_location(g_debug,'Number of element entries deleted : '|| g_count_ee_delete ,4);
80: FOR i IN 1..g_count_ee_delete -1
81: LOOP

Line 78: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE Starts........ ',3);

74:
75: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
76: pay_in_utils.set_location(g_debug,'Displaying Data for Deductee Records ',2);
77: pay_in_utils.set_location(g_debug,'========================================== ',3);
78: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE Starts........ ',3);
79: pay_in_utils.set_location(g_debug,'Number of element entries deleted : '|| g_count_ee_delete ,4);
80: FOR i IN 1..g_count_ee_delete -1
81: LOOP
82: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_del(i).last_action_context_id );

Line 79: pay_in_utils.set_location(g_debug,'Number of element entries deleted : '|| g_count_ee_delete ,4);

75: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
76: pay_in_utils.set_location(g_debug,'Displaying Data for Deductee Records ',2);
77: pay_in_utils.set_location(g_debug,'========================================== ',3);
78: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE Starts........ ',3);
79: pay_in_utils.set_location(g_debug,'Number of element entries deleted : '|| g_count_ee_delete ,4);
80: FOR i IN 1..g_count_ee_delete -1
81: LOOP
82: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_del(i).last_action_context_id );
83: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_del(i).assignment_id );

Line 82: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_del(i).last_action_context_id );

78: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE Starts........ ',3);
79: pay_in_utils.set_location(g_debug,'Number of element entries deleted : '|| g_count_ee_delete ,4);
80: FOR i IN 1..g_count_ee_delete -1
81: LOOP
82: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_del(i).last_action_context_id );
83: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_del(i).assignment_id );
84: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_del(i).element_entry_id );
85: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_del(i).deductee_mode );
86: END LOOP;

Line 83: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_del(i).assignment_id );

79: pay_in_utils.set_location(g_debug,'Number of element entries deleted : '|| g_count_ee_delete ,4);
80: FOR i IN 1..g_count_ee_delete -1
81: LOOP
82: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_del(i).last_action_context_id );
83: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_del(i).assignment_id );
84: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_del(i).element_entry_id );
85: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_del(i).deductee_mode );
86: END LOOP;
87: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for deletion Ends........ ',5);

Line 84: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_del(i).element_entry_id );

80: FOR i IN 1..g_count_ee_delete -1
81: LOOP
82: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_del(i).last_action_context_id );
83: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_del(i).assignment_id );
84: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_del(i).element_entry_id );
85: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_del(i).deductee_mode );
86: END LOOP;
87: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for deletion Ends........ ',5);
88: pay_in_utils.set_location(g_debug,'========================================== ',6);

Line 85: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_del(i).deductee_mode );

81: LOOP
82: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_del(i).last_action_context_id );
83: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_del(i).assignment_id );
84: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_del(i).element_entry_id );
85: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_del(i).deductee_mode );
86: END LOOP;
87: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for deletion Ends........ ',5);
88: pay_in_utils.set_location(g_debug,'========================================== ',6);
89:

Line 87: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for deletion Ends........ ',5);

83: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_del(i).assignment_id );
84: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_del(i).element_entry_id );
85: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_del(i).deductee_mode );
86: END LOOP;
87: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for deletion Ends........ ',5);
88: pay_in_utils.set_location(g_debug,'========================================== ',6);
89:
90: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Addition Starts........ ',7);
91: pay_in_utils.trace('Number of element entries added : ', g_count_ee_addition );

Line 88: pay_in_utils.set_location(g_debug,'========================================== ',6);

84: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_del(i).element_entry_id );
85: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_del(i).deductee_mode );
86: END LOOP;
87: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for deletion Ends........ ',5);
88: pay_in_utils.set_location(g_debug,'========================================== ',6);
89:
90: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Addition Starts........ ',7);
91: pay_in_utils.trace('Number of element entries added : ', g_count_ee_addition );
92: FOR i IN 1..g_count_ee_addition -1

Line 90: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Addition Starts........ ',7);

86: END LOOP;
87: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for deletion Ends........ ',5);
88: pay_in_utils.set_location(g_debug,'========================================== ',6);
89:
90: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Addition Starts........ ',7);
91: pay_in_utils.trace('Number of element entries added : ', g_count_ee_addition );
92: FOR i IN 1..g_count_ee_addition -1
93: LOOP
94: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_add(i).last_action_context_id );

Line 91: pay_in_utils.trace('Number of element entries added : ', g_count_ee_addition );

87: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for deletion Ends........ ',5);
88: pay_in_utils.set_location(g_debug,'========================================== ',6);
89:
90: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Addition Starts........ ',7);
91: pay_in_utils.trace('Number of element entries added : ', g_count_ee_addition );
92: FOR i IN 1..g_count_ee_addition -1
93: LOOP
94: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_add(i).last_action_context_id );
95: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_add(i).assignment_id );

Line 94: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_add(i).last_action_context_id );

90: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Addition Starts........ ',7);
91: pay_in_utils.trace('Number of element entries added : ', g_count_ee_addition );
92: FOR i IN 1..g_count_ee_addition -1
93: LOOP
94: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_add(i).last_action_context_id );
95: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_add(i).assignment_id );
96: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_add(i).element_entry_id );
97: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_add(i).deductee_mode );
98: END LOOP;

Line 95: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_add(i).assignment_id );

91: pay_in_utils.trace('Number of element entries added : ', g_count_ee_addition );
92: FOR i IN 1..g_count_ee_addition -1
93: LOOP
94: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_add(i).last_action_context_id );
95: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_add(i).assignment_id );
96: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_add(i).element_entry_id );
97: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_add(i).deductee_mode );
98: END LOOP;
99: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',9);

Line 96: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_add(i).element_entry_id );

92: FOR i IN 1..g_count_ee_addition -1
93: LOOP
94: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_add(i).last_action_context_id );
95: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_add(i).assignment_id );
96: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_add(i).element_entry_id );
97: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_add(i).deductee_mode );
98: END LOOP;
99: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',9);
100:

Line 97: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_add(i).deductee_mode );

93: LOOP
94: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_add(i).last_action_context_id );
95: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_add(i).assignment_id );
96: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_add(i).element_entry_id );
97: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_add(i).deductee_mode );
98: END LOOP;
99: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',9);
100:
101: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',5);

Line 99: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',9);

95: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_add(i).assignment_id );
96: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_add(i).element_entry_id );
97: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_add(i).deductee_mode );
98: END LOOP;
99: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',9);
100:
101: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',5);
102: pay_in_utils.set_location(g_debug,'========================================== ',6);
103:

Line 101: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',5);

97: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_add(i).deductee_mode );
98: END LOOP;
99: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',9);
100:
101: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',5);
102: pay_in_utils.set_location(g_debug,'========================================== ',6);
103:
104: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Updation Starts........ ',7);
105: pay_in_utils.trace('Number of element entries updated : ', g_count_ee_update );

Line 102: pay_in_utils.set_location(g_debug,'========================================== ',6);

98: END LOOP;
99: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',9);
100:
101: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',5);
102: pay_in_utils.set_location(g_debug,'========================================== ',6);
103:
104: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Updation Starts........ ',7);
105: pay_in_utils.trace('Number of element entries updated : ', g_count_ee_update );
106: FOR i IN 1..g_count_ee_update -1

Line 104: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Updation Starts........ ',7);

100:
101: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',5);
102: pay_in_utils.set_location(g_debug,'========================================== ',6);
103:
104: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Updation Starts........ ',7);
105: pay_in_utils.trace('Number of element entries updated : ', g_count_ee_update );
106: FOR i IN 1..g_count_ee_update -1
107: LOOP
108: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_upd(i).last_action_context_id );

Line 105: pay_in_utils.trace('Number of element entries updated : ', g_count_ee_update );

101: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for addition Ends........ ',5);
102: pay_in_utils.set_location(g_debug,'========================================== ',6);
103:
104: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Updation Starts........ ',7);
105: pay_in_utils.trace('Number of element entries updated : ', g_count_ee_update );
106: FOR i IN 1..g_count_ee_update -1
107: LOOP
108: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_upd(i).last_action_context_id );
109: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_upd(i).assignment_id );

Line 108: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_upd(i).last_action_context_id );

104: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for Updation Starts........ ',7);
105: pay_in_utils.trace('Number of element entries updated : ', g_count_ee_update );
106: FOR i IN 1..g_count_ee_update -1
107: LOOP
108: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_upd(i).last_action_context_id );
109: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_upd(i).assignment_id );
110: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_upd(i).element_entry_id );
111: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_upd(i).deductee_mode );
112: END LOOP;

Line 109: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_upd(i).assignment_id );

105: pay_in_utils.trace('Number of element entries updated : ', g_count_ee_update );
106: FOR i IN 1..g_count_ee_update -1
107: LOOP
108: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_upd(i).last_action_context_id );
109: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_upd(i).assignment_id );
110: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_upd(i).element_entry_id );
111: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_upd(i).deductee_mode );
112: END LOOP;
113: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for updation Ends........ ',9);

Line 110: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_upd(i).element_entry_id );

106: FOR i IN 1..g_count_ee_update -1
107: LOOP
108: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_upd(i).last_action_context_id );
109: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_upd(i).assignment_id );
110: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_upd(i).element_entry_id );
111: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_upd(i).deductee_mode );
112: END LOOP;
113: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for updation Ends........ ',9);
114: pay_in_utils.set_location(g_debug,'Data for Deductee Records Ends ',2);

Line 111: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_upd(i).deductee_mode );

107: LOOP
108: pay_in_utils.trace('Last Action Context ID is : ', g_ee_data_rec_upd(i).last_action_context_id );
109: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_upd(i).assignment_id );
110: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_upd(i).element_entry_id );
111: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_upd(i).deductee_mode );
112: END LOOP;
113: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for updation Ends........ ',9);
114: pay_in_utils.set_location(g_debug,'Data for Deductee Records Ends ',2);
115: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

Line 113: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for updation Ends........ ',9);

109: pay_in_utils.trace('Assignment ID is : ', g_ee_data_rec_upd(i).assignment_id );
110: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_upd(i).element_entry_id );
111: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_upd(i).deductee_mode );
112: END LOOP;
113: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for updation Ends........ ',9);
114: pay_in_utils.set_location(g_debug,'Data for Deductee Records Ends ',2);
115: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
116:
117: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

Line 114: pay_in_utils.set_location(g_debug,'Data for Deductee Records Ends ',2);

110: pay_in_utils.trace('Element Entry ID is : ', g_ee_data_rec_upd(i).element_entry_id );
111: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_upd(i).deductee_mode );
112: END LOOP;
113: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for updation Ends........ ',9);
114: pay_in_utils.set_location(g_debug,'Data for Deductee Records Ends ',2);
115: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
116:
117: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
118: pay_in_utils.set_location(g_debug,'Displaying Data for Organization ',2);

Line 115: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

111: pay_in_utils.trace('Deductee Mode is : ', g_ee_data_rec_upd(i).deductee_mode );
112: END LOOP;
113: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for updation Ends........ ',9);
114: pay_in_utils.set_location(g_debug,'Data for Deductee Records Ends ',2);
115: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
116:
117: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
118: pay_in_utils.set_location(g_debug,'Displaying Data for Organization ',2);
119: pay_in_utils.set_location(g_debug,'========================================== ',3);

Line 117: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

113: pay_in_utils.set_location(g_debug,'IN_24QC_DEDUCTEE for updation Ends........ ',9);
114: pay_in_utils.set_location(g_debug,'Data for Deductee Records Ends ',2);
115: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
116:
117: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
118: pay_in_utils.set_location(g_debug,'Displaying Data for Organization ',2);
119: pay_in_utils.set_location(g_debug,'========================================== ',3);
120: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Starts........ ',3);
121: pay_in_utils.trace('Value of g_count_org is : ', g_count_org);

Line 118: pay_in_utils.set_location(g_debug,'Displaying Data for Organization ',2);

114: pay_in_utils.set_location(g_debug,'Data for Deductee Records Ends ',2);
115: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
116:
117: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
118: pay_in_utils.set_location(g_debug,'Displaying Data for Organization ',2);
119: pay_in_utils.set_location(g_debug,'========================================== ',3);
120: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Starts........ ',3);
121: pay_in_utils.trace('Value of g_count_org is : ', g_count_org);
122: FOR i IN 1..g_count_org -1

Line 119: pay_in_utils.set_location(g_debug,'========================================== ',3);

115: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
116:
117: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
118: pay_in_utils.set_location(g_debug,'Displaying Data for Organization ',2);
119: pay_in_utils.set_location(g_debug,'========================================== ',3);
120: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Starts........ ',3);
121: pay_in_utils.trace('Value of g_count_org is : ', g_count_org);
122: FOR i IN 1..g_count_org -1
123: LOOP

Line 120: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Starts........ ',3);

116:
117: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
118: pay_in_utils.set_location(g_debug,'Displaying Data for Organization ',2);
119: pay_in_utils.set_location(g_debug,'========================================== ',3);
120: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Starts........ ',3);
121: pay_in_utils.trace('Value of g_count_org is : ', g_count_org);
122: FOR i IN 1..g_count_org -1
123: LOOP
124: pay_in_utils.trace('Gre ID is : ', g_org_data(i).gre_id );

Line 121: pay_in_utils.trace('Value of g_count_org is : ', g_count_org);

117: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
118: pay_in_utils.set_location(g_debug,'Displaying Data for Organization ',2);
119: pay_in_utils.set_location(g_debug,'========================================== ',3);
120: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Starts........ ',3);
121: pay_in_utils.trace('Value of g_count_org is : ', g_count_org);
122: FOR i IN 1..g_count_org -1
123: LOOP
124: pay_in_utils.trace('Gre ID is : ', g_org_data(i).gre_id );
125: pay_in_utils.trace('Last Action Context ID is : ', g_org_data(i).last_action_context_id);

Line 124: pay_in_utils.trace('Gre ID is : ', g_org_data(i).gre_id );

120: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Starts........ ',3);
121: pay_in_utils.trace('Value of g_count_org is : ', g_count_org);
122: FOR i IN 1..g_count_org -1
123: LOOP
124: pay_in_utils.trace('Gre ID is : ', g_org_data(i).gre_id );
125: pay_in_utils.trace('Last Action Context ID is : ', g_org_data(i).last_action_context_id);
126: END LOOP;
127: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Ends........ ',3);
128: pay_in_utils.set_location(g_debug,'========================================== ',3);

Line 125: pay_in_utils.trace('Last Action Context ID is : ', g_org_data(i).last_action_context_id);

121: pay_in_utils.trace('Value of g_count_org is : ', g_count_org);
122: FOR i IN 1..g_count_org -1
123: LOOP
124: pay_in_utils.trace('Gre ID is : ', g_org_data(i).gre_id );
125: pay_in_utils.trace('Last Action Context ID is : ', g_org_data(i).last_action_context_id);
126: END LOOP;
127: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Ends........ ',3);
128: pay_in_utils.set_location(g_debug,'========================================== ',3);
129: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

Line 127: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Ends........ ',3);

123: LOOP
124: pay_in_utils.trace('Gre ID is : ', g_org_data(i).gre_id );
125: pay_in_utils.trace('Last Action Context ID is : ', g_org_data(i).last_action_context_id);
126: END LOOP;
127: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Ends........ ',3);
128: pay_in_utils.set_location(g_debug,'========================================== ',3);
129: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
130:
131: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

Line 128: pay_in_utils.set_location(g_debug,'========================================== ',3);

124: pay_in_utils.trace('Gre ID is : ', g_org_data(i).gre_id );
125: pay_in_utils.trace('Last Action Context ID is : ', g_org_data(i).last_action_context_id);
126: END LOOP;
127: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Ends........ ',3);
128: pay_in_utils.set_location(g_debug,'========================================== ',3);
129: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
130:
131: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
132: pay_in_utils.set_location(g_debug,'IN_24QC_CHALLAN Starts............ ',3);

Line 129: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

125: pay_in_utils.trace('Last Action Context ID is : ', g_org_data(i).last_action_context_id);
126: END LOOP;
127: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Ends........ ',3);
128: pay_in_utils.set_location(g_debug,'========================================== ',3);
129: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
130:
131: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
132: pay_in_utils.set_location(g_debug,'IN_24QC_CHALLAN Starts............ ',3);
133: pay_in_utils.set_location(g_debug,'========================================== ',3);

Line 131: pay_in_utils.set_location(g_debug,'************************************************************ ',3);

127: pay_in_utils.set_location(g_debug,'IN_24QC_ORG Ends........ ',3);
128: pay_in_utils.set_location(g_debug,'========================================== ',3);
129: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
130:
131: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
132: pay_in_utils.set_location(g_debug,'IN_24QC_CHALLAN Starts............ ',3);
133: pay_in_utils.set_location(g_debug,'========================================== ',3);
134: pay_in_utils.trace('Number of added challans is : ', g_count_challan_add);
135: FOR i IN 1..g_count_challan_add - 1

Line 132: pay_in_utils.set_location(g_debug,'IN_24QC_CHALLAN Starts............ ',3);

128: pay_in_utils.set_location(g_debug,'========================================== ',3);
129: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
130:
131: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
132: pay_in_utils.set_location(g_debug,'IN_24QC_CHALLAN Starts............ ',3);
133: pay_in_utils.set_location(g_debug,'========================================== ',3);
134: pay_in_utils.trace('Number of added challans is : ', g_count_challan_add);
135: FOR i IN 1..g_count_challan_add - 1
136: LOOP

Line 133: pay_in_utils.set_location(g_debug,'========================================== ',3);

129: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
130:
131: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
132: pay_in_utils.set_location(g_debug,'IN_24QC_CHALLAN Starts............ ',3);
133: pay_in_utils.set_location(g_debug,'========================================== ',3);
134: pay_in_utils.trace('Number of added challans is : ', g_count_challan_add);
135: FOR i IN 1..g_count_challan_add - 1
136: LOOP
137: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_add(i).transfer_voucher_number);

Line 134: pay_in_utils.trace('Number of added challans is : ', g_count_challan_add);

130:
131: pay_in_utils.set_location(g_debug,'************************************************************ ',3);
132: pay_in_utils.set_location(g_debug,'IN_24QC_CHALLAN Starts............ ',3);
133: pay_in_utils.set_location(g_debug,'========================================== ',3);
134: pay_in_utils.trace('Number of added challans is : ', g_count_challan_add);
135: FOR i IN 1..g_count_challan_add - 1
136: LOOP
137: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_add(i).transfer_voucher_number);
138: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_add(i).transfer_voucher_date );

Line 137: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_add(i).transfer_voucher_number);

133: pay_in_utils.set_location(g_debug,'========================================== ',3);
134: pay_in_utils.trace('Number of added challans is : ', g_count_challan_add);
135: FOR i IN 1..g_count_challan_add - 1
136: LOOP
137: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_add(i).transfer_voucher_number);
138: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_add(i).transfer_voucher_date );
139: pay_in_utils.trace('Amount is :' , g_challan_data_add(i).amount );
140: pay_in_utils.trace('Surcharge is :' , g_challan_data_add(i).surcharge );
141: pay_in_utils.trace('Education Cess is :' , g_challan_data_add(i).education_cess );

Line 138: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_add(i).transfer_voucher_date );

134: pay_in_utils.trace('Number of added challans is : ', g_count_challan_add);
135: FOR i IN 1..g_count_challan_add - 1
136: LOOP
137: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_add(i).transfer_voucher_number);
138: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_add(i).transfer_voucher_date );
139: pay_in_utils.trace('Amount is :' , g_challan_data_add(i).amount );
140: pay_in_utils.trace('Surcharge is :' , g_challan_data_add(i).surcharge );
141: pay_in_utils.trace('Education Cess is :' , g_challan_data_add(i).education_cess );
142: pay_in_utils.trace('Interest is :' , g_challan_data_add(i).interest );

Line 139: pay_in_utils.trace('Amount is :' , g_challan_data_add(i).amount );

135: FOR i IN 1..g_count_challan_add - 1
136: LOOP
137: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_add(i).transfer_voucher_number);
138: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_add(i).transfer_voucher_date );
139: pay_in_utils.trace('Amount is :' , g_challan_data_add(i).amount );
140: pay_in_utils.trace('Surcharge is :' , g_challan_data_add(i).surcharge );
141: pay_in_utils.trace('Education Cess is :' , g_challan_data_add(i).education_cess );
142: pay_in_utils.trace('Interest is :' , g_challan_data_add(i).interest );
143: pay_in_utils.trace('Other is :' , g_challan_data_add(i).other );

Line 140: pay_in_utils.trace('Surcharge is :' , g_challan_data_add(i).surcharge );

136: LOOP
137: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_add(i).transfer_voucher_number);
138: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_add(i).transfer_voucher_date );
139: pay_in_utils.trace('Amount is :' , g_challan_data_add(i).amount );
140: pay_in_utils.trace('Surcharge is :' , g_challan_data_add(i).surcharge );
141: pay_in_utils.trace('Education Cess is :' , g_challan_data_add(i).education_cess );
142: pay_in_utils.trace('Interest is :' , g_challan_data_add(i).interest );
143: pay_in_utils.trace('Other is :' , g_challan_data_add(i).other );
144: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_add(i).bank_branch_code );

Line 141: pay_in_utils.trace('Education Cess is :' , g_challan_data_add(i).education_cess );

137: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_add(i).transfer_voucher_number);
138: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_add(i).transfer_voucher_date );
139: pay_in_utils.trace('Amount is :' , g_challan_data_add(i).amount );
140: pay_in_utils.trace('Surcharge is :' , g_challan_data_add(i).surcharge );
141: pay_in_utils.trace('Education Cess is :' , g_challan_data_add(i).education_cess );
142: pay_in_utils.trace('Interest is :' , g_challan_data_add(i).interest );
143: pay_in_utils.trace('Other is :' , g_challan_data_add(i).other );
144: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_add(i).bank_branch_code );
145: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_add(i).cheque_dd_num );

Line 142: pay_in_utils.trace('Interest is :' , g_challan_data_add(i).interest );

138: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_add(i).transfer_voucher_date );
139: pay_in_utils.trace('Amount is :' , g_challan_data_add(i).amount );
140: pay_in_utils.trace('Surcharge is :' , g_challan_data_add(i).surcharge );
141: pay_in_utils.trace('Education Cess is :' , g_challan_data_add(i).education_cess );
142: pay_in_utils.trace('Interest is :' , g_challan_data_add(i).interest );
143: pay_in_utils.trace('Other is :' , g_challan_data_add(i).other );
144: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_add(i).bank_branch_code );
145: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_add(i).cheque_dd_num );
146: pay_in_utils.trace('Org Information ID is :' , g_challan_data_add(i).org_information_id );

Line 143: pay_in_utils.trace('Other is :' , g_challan_data_add(i).other );

139: pay_in_utils.trace('Amount is :' , g_challan_data_add(i).amount );
140: pay_in_utils.trace('Surcharge is :' , g_challan_data_add(i).surcharge );
141: pay_in_utils.trace('Education Cess is :' , g_challan_data_add(i).education_cess );
142: pay_in_utils.trace('Interest is :' , g_challan_data_add(i).interest );
143: pay_in_utils.trace('Other is :' , g_challan_data_add(i).other );
144: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_add(i).bank_branch_code );
145: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_add(i).cheque_dd_num );
146: pay_in_utils.trace('Org Information ID is :' , g_challan_data_add(i).org_information_id );
147: pay_in_utils.trace('Mode is :' , g_challan_data_add(i).modes );

Line 144: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_add(i).bank_branch_code );

140: pay_in_utils.trace('Surcharge is :' , g_challan_data_add(i).surcharge );
141: pay_in_utils.trace('Education Cess is :' , g_challan_data_add(i).education_cess );
142: pay_in_utils.trace('Interest is :' , g_challan_data_add(i).interest );
143: pay_in_utils.trace('Other is :' , g_challan_data_add(i).other );
144: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_add(i).bank_branch_code );
145: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_add(i).cheque_dd_num );
146: pay_in_utils.trace('Org Information ID is :' , g_challan_data_add(i).org_information_id );
147: pay_in_utils.trace('Mode is :' , g_challan_data_add(i).modes );
148: END LOOP;

Line 145: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_add(i).cheque_dd_num );

141: pay_in_utils.trace('Education Cess is :' , g_challan_data_add(i).education_cess );
142: pay_in_utils.trace('Interest is :' , g_challan_data_add(i).interest );
143: pay_in_utils.trace('Other is :' , g_challan_data_add(i).other );
144: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_add(i).bank_branch_code );
145: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_add(i).cheque_dd_num );
146: pay_in_utils.trace('Org Information ID is :' , g_challan_data_add(i).org_information_id );
147: pay_in_utils.trace('Mode is :' , g_challan_data_add(i).modes );
148: END LOOP;
149:

Line 146: pay_in_utils.trace('Org Information ID is :' , g_challan_data_add(i).org_information_id );

142: pay_in_utils.trace('Interest is :' , g_challan_data_add(i).interest );
143: pay_in_utils.trace('Other is :' , g_challan_data_add(i).other );
144: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_add(i).bank_branch_code );
145: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_add(i).cheque_dd_num );
146: pay_in_utils.trace('Org Information ID is :' , g_challan_data_add(i).org_information_id );
147: pay_in_utils.trace('Mode is :' , g_challan_data_add(i).modes );
148: END LOOP;
149:
150: pay_in_utils.set_location(g_debug,'========================================== ',3);

Line 147: pay_in_utils.trace('Mode is :' , g_challan_data_add(i).modes );

143: pay_in_utils.trace('Other is :' , g_challan_data_add(i).other );
144: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_add(i).bank_branch_code );
145: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_add(i).cheque_dd_num );
146: pay_in_utils.trace('Org Information ID is :' , g_challan_data_add(i).org_information_id );
147: pay_in_utils.trace('Mode is :' , g_challan_data_add(i).modes );
148: END LOOP;
149:
150: pay_in_utils.set_location(g_debug,'========================================== ',3);
151: pay_in_utils.trace('Number of updated challans is : ', g_count_challan_upd);

Line 150: pay_in_utils.set_location(g_debug,'========================================== ',3);

146: pay_in_utils.trace('Org Information ID is :' , g_challan_data_add(i).org_information_id );
147: pay_in_utils.trace('Mode is :' , g_challan_data_add(i).modes );
148: END LOOP;
149:
150: pay_in_utils.set_location(g_debug,'========================================== ',3);
151: pay_in_utils.trace('Number of updated challans is : ', g_count_challan_upd);
152: FOR i IN 1..g_count_challan_upd - 1
153: LOOP
154: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_upd(i).transfer_voucher_number);

Line 151: pay_in_utils.trace('Number of updated challans is : ', g_count_challan_upd);

147: pay_in_utils.trace('Mode is :' , g_challan_data_add(i).modes );
148: END LOOP;
149:
150: pay_in_utils.set_location(g_debug,'========================================== ',3);
151: pay_in_utils.trace('Number of updated challans is : ', g_count_challan_upd);
152: FOR i IN 1..g_count_challan_upd - 1
153: LOOP
154: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_upd(i).transfer_voucher_number);
155: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_upd(i).transfer_voucher_date );

Line 154: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_upd(i).transfer_voucher_number);

150: pay_in_utils.set_location(g_debug,'========================================== ',3);
151: pay_in_utils.trace('Number of updated challans is : ', g_count_challan_upd);
152: FOR i IN 1..g_count_challan_upd - 1
153: LOOP
154: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_upd(i).transfer_voucher_number);
155: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_upd(i).transfer_voucher_date );
156: pay_in_utils.trace('Amount is :' , g_challan_data_upd(i).amount );
157: pay_in_utils.trace('Surcharge is :' , g_challan_data_upd(i).surcharge );
158: pay_in_utils.trace('Education Cess is :' , g_challan_data_upd(i).education_cess );

Line 155: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_upd(i).transfer_voucher_date );

151: pay_in_utils.trace('Number of updated challans is : ', g_count_challan_upd);
152: FOR i IN 1..g_count_challan_upd - 1
153: LOOP
154: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_upd(i).transfer_voucher_number);
155: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_upd(i).transfer_voucher_date );
156: pay_in_utils.trace('Amount is :' , g_challan_data_upd(i).amount );
157: pay_in_utils.trace('Surcharge is :' , g_challan_data_upd(i).surcharge );
158: pay_in_utils.trace('Education Cess is :' , g_challan_data_upd(i).education_cess );
159: pay_in_utils.trace('Interest is :' , g_challan_data_upd(i).interest );

Line 156: pay_in_utils.trace('Amount is :' , g_challan_data_upd(i).amount );

152: FOR i IN 1..g_count_challan_upd - 1
153: LOOP
154: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_upd(i).transfer_voucher_number);
155: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_upd(i).transfer_voucher_date );
156: pay_in_utils.trace('Amount is :' , g_challan_data_upd(i).amount );
157: pay_in_utils.trace('Surcharge is :' , g_challan_data_upd(i).surcharge );
158: pay_in_utils.trace('Education Cess is :' , g_challan_data_upd(i).education_cess );
159: pay_in_utils.trace('Interest is :' , g_challan_data_upd(i).interest );
160: pay_in_utils.trace('Other is :' , g_challan_data_upd(i).other );

Line 157: pay_in_utils.trace('Surcharge is :' , g_challan_data_upd(i).surcharge );

153: LOOP
154: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_upd(i).transfer_voucher_number);
155: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_upd(i).transfer_voucher_date );
156: pay_in_utils.trace('Amount is :' , g_challan_data_upd(i).amount );
157: pay_in_utils.trace('Surcharge is :' , g_challan_data_upd(i).surcharge );
158: pay_in_utils.trace('Education Cess is :' , g_challan_data_upd(i).education_cess );
159: pay_in_utils.trace('Interest is :' , g_challan_data_upd(i).interest );
160: pay_in_utils.trace('Other is :' , g_challan_data_upd(i).other );
161: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_upd(i).bank_branch_code );

Line 158: pay_in_utils.trace('Education Cess is :' , g_challan_data_upd(i).education_cess );

154: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_upd(i).transfer_voucher_number);
155: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_upd(i).transfer_voucher_date );
156: pay_in_utils.trace('Amount is :' , g_challan_data_upd(i).amount );
157: pay_in_utils.trace('Surcharge is :' , g_challan_data_upd(i).surcharge );
158: pay_in_utils.trace('Education Cess is :' , g_challan_data_upd(i).education_cess );
159: pay_in_utils.trace('Interest is :' , g_challan_data_upd(i).interest );
160: pay_in_utils.trace('Other is :' , g_challan_data_upd(i).other );
161: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_upd(i).bank_branch_code );
162: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_upd(i).cheque_dd_num );

Line 159: pay_in_utils.trace('Interest is :' , g_challan_data_upd(i).interest );

155: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_upd(i).transfer_voucher_date );
156: pay_in_utils.trace('Amount is :' , g_challan_data_upd(i).amount );
157: pay_in_utils.trace('Surcharge is :' , g_challan_data_upd(i).surcharge );
158: pay_in_utils.trace('Education Cess is :' , g_challan_data_upd(i).education_cess );
159: pay_in_utils.trace('Interest is :' , g_challan_data_upd(i).interest );
160: pay_in_utils.trace('Other is :' , g_challan_data_upd(i).other );
161: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_upd(i).bank_branch_code );
162: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_upd(i).cheque_dd_num );
163: pay_in_utils.trace('Org Information ID is :' , g_challan_data_upd(i).org_information_id );

Line 160: pay_in_utils.trace('Other is :' , g_challan_data_upd(i).other );

156: pay_in_utils.trace('Amount is :' , g_challan_data_upd(i).amount );
157: pay_in_utils.trace('Surcharge is :' , g_challan_data_upd(i).surcharge );
158: pay_in_utils.trace('Education Cess is :' , g_challan_data_upd(i).education_cess );
159: pay_in_utils.trace('Interest is :' , g_challan_data_upd(i).interest );
160: pay_in_utils.trace('Other is :' , g_challan_data_upd(i).other );
161: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_upd(i).bank_branch_code );
162: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_upd(i).cheque_dd_num );
163: pay_in_utils.trace('Org Information ID is :' , g_challan_data_upd(i).org_information_id );
164: pay_in_utils.trace('Mode is :' , g_challan_data_upd(i).modes );

Line 161: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_upd(i).bank_branch_code );

157: pay_in_utils.trace('Surcharge is :' , g_challan_data_upd(i).surcharge );
158: pay_in_utils.trace('Education Cess is :' , g_challan_data_upd(i).education_cess );
159: pay_in_utils.trace('Interest is :' , g_challan_data_upd(i).interest );
160: pay_in_utils.trace('Other is :' , g_challan_data_upd(i).other );
161: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_upd(i).bank_branch_code );
162: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_upd(i).cheque_dd_num );
163: pay_in_utils.trace('Org Information ID is :' , g_challan_data_upd(i).org_information_id );
164: pay_in_utils.trace('Mode is :' , g_challan_data_upd(i).modes );
165: END LOOP;

Line 162: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_upd(i).cheque_dd_num );

158: pay_in_utils.trace('Education Cess is :' , g_challan_data_upd(i).education_cess );
159: pay_in_utils.trace('Interest is :' , g_challan_data_upd(i).interest );
160: pay_in_utils.trace('Other is :' , g_challan_data_upd(i).other );
161: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_upd(i).bank_branch_code );
162: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_upd(i).cheque_dd_num );
163: pay_in_utils.trace('Org Information ID is :' , g_challan_data_upd(i).org_information_id );
164: pay_in_utils.trace('Mode is :' , g_challan_data_upd(i).modes );
165: END LOOP;
166:

Line 163: pay_in_utils.trace('Org Information ID is :' , g_challan_data_upd(i).org_information_id );

159: pay_in_utils.trace('Interest is :' , g_challan_data_upd(i).interest );
160: pay_in_utils.trace('Other is :' , g_challan_data_upd(i).other );
161: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_upd(i).bank_branch_code );
162: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_upd(i).cheque_dd_num );
163: pay_in_utils.trace('Org Information ID is :' , g_challan_data_upd(i).org_information_id );
164: pay_in_utils.trace('Mode is :' , g_challan_data_upd(i).modes );
165: END LOOP;
166:
167: pay_in_utils.set_location(g_debug,'========================================== ',3);

Line 164: pay_in_utils.trace('Mode is :' , g_challan_data_upd(i).modes );

160: pay_in_utils.trace('Other is :' , g_challan_data_upd(i).other );
161: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_upd(i).bank_branch_code );
162: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_upd(i).cheque_dd_num );
163: pay_in_utils.trace('Org Information ID is :' , g_challan_data_upd(i).org_information_id );
164: pay_in_utils.trace('Mode is :' , g_challan_data_upd(i).modes );
165: END LOOP;
166:
167: pay_in_utils.set_location(g_debug,'========================================== ',3);
168: pay_in_utils.trace('Number of no change challans is : ', g_count_challan_noc);

Line 167: pay_in_utils.set_location(g_debug,'========================================== ',3);

163: pay_in_utils.trace('Org Information ID is :' , g_challan_data_upd(i).org_information_id );
164: pay_in_utils.trace('Mode is :' , g_challan_data_upd(i).modes );
165: END LOOP;
166:
167: pay_in_utils.set_location(g_debug,'========================================== ',3);
168: pay_in_utils.trace('Number of no change challans is : ', g_count_challan_noc);
169: FOR i IN 1..g_count_challan_noc - 1
170: LOOP
171: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_noc(i).transfer_voucher_number);

Line 168: pay_in_utils.trace('Number of no change challans is : ', g_count_challan_noc);

164: pay_in_utils.trace('Mode is :' , g_challan_data_upd(i).modes );
165: END LOOP;
166:
167: pay_in_utils.set_location(g_debug,'========================================== ',3);
168: pay_in_utils.trace('Number of no change challans is : ', g_count_challan_noc);
169: FOR i IN 1..g_count_challan_noc - 1
170: LOOP
171: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_noc(i).transfer_voucher_number);
172: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_noc(i).transfer_voucher_date );

Line 171: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_noc(i).transfer_voucher_number);

167: pay_in_utils.set_location(g_debug,'========================================== ',3);
168: pay_in_utils.trace('Number of no change challans is : ', g_count_challan_noc);
169: FOR i IN 1..g_count_challan_noc - 1
170: LOOP
171: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_noc(i).transfer_voucher_number);
172: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_noc(i).transfer_voucher_date );
173: pay_in_utils.trace('Amount is :' , g_challan_data_noc(i).amount );
174: pay_in_utils.trace('Surcharge is :' , g_challan_data_noc(i).surcharge );
175: pay_in_utils.trace('Education Cess is :' , g_challan_data_noc(i).education_cess );

Line 172: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_noc(i).transfer_voucher_date );

168: pay_in_utils.trace('Number of no change challans is : ', g_count_challan_noc);
169: FOR i IN 1..g_count_challan_noc - 1
170: LOOP
171: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_noc(i).transfer_voucher_number);
172: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_noc(i).transfer_voucher_date );
173: pay_in_utils.trace('Amount is :' , g_challan_data_noc(i).amount );
174: pay_in_utils.trace('Surcharge is :' , g_challan_data_noc(i).surcharge );
175: pay_in_utils.trace('Education Cess is :' , g_challan_data_noc(i).education_cess );
176: pay_in_utils.trace('Interest is :' , g_challan_data_noc(i).interest );

Line 173: pay_in_utils.trace('Amount is :' , g_challan_data_noc(i).amount );

169: FOR i IN 1..g_count_challan_noc - 1
170: LOOP
171: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_noc(i).transfer_voucher_number);
172: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_noc(i).transfer_voucher_date );
173: pay_in_utils.trace('Amount is :' , g_challan_data_noc(i).amount );
174: pay_in_utils.trace('Surcharge is :' , g_challan_data_noc(i).surcharge );
175: pay_in_utils.trace('Education Cess is :' , g_challan_data_noc(i).education_cess );
176: pay_in_utils.trace('Interest is :' , g_challan_data_noc(i).interest );
177: pay_in_utils.trace('Other is :' , g_challan_data_noc(i).other );

Line 174: pay_in_utils.trace('Surcharge is :' , g_challan_data_noc(i).surcharge );

170: LOOP
171: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_noc(i).transfer_voucher_number);
172: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_noc(i).transfer_voucher_date );
173: pay_in_utils.trace('Amount is :' , g_challan_data_noc(i).amount );
174: pay_in_utils.trace('Surcharge is :' , g_challan_data_noc(i).surcharge );
175: pay_in_utils.trace('Education Cess is :' , g_challan_data_noc(i).education_cess );
176: pay_in_utils.trace('Interest is :' , g_challan_data_noc(i).interest );
177: pay_in_utils.trace('Other is :' , g_challan_data_noc(i).other );
178: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_noc(i).bank_branch_code );

Line 175: pay_in_utils.trace('Education Cess is :' , g_challan_data_noc(i).education_cess );

171: pay_in_utils.trace('Transfer Voucher Number is :' , g_challan_data_noc(i).transfer_voucher_number);
172: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_noc(i).transfer_voucher_date );
173: pay_in_utils.trace('Amount is :' , g_challan_data_noc(i).amount );
174: pay_in_utils.trace('Surcharge is :' , g_challan_data_noc(i).surcharge );
175: pay_in_utils.trace('Education Cess is :' , g_challan_data_noc(i).education_cess );
176: pay_in_utils.trace('Interest is :' , g_challan_data_noc(i).interest );
177: pay_in_utils.trace('Other is :' , g_challan_data_noc(i).other );
178: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_noc(i).bank_branch_code );
179: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_noc(i).cheque_dd_num );

Line 176: pay_in_utils.trace('Interest is :' , g_challan_data_noc(i).interest );

172: pay_in_utils.trace('Transfer Voucher Date is :' , g_challan_data_noc(i).transfer_voucher_date );
173: pay_in_utils.trace('Amount is :' , g_challan_data_noc(i).amount );
174: pay_in_utils.trace('Surcharge is :' , g_challan_data_noc(i).surcharge );
175: pay_in_utils.trace('Education Cess is :' , g_challan_data_noc(i).education_cess );
176: pay_in_utils.trace('Interest is :' , g_challan_data_noc(i).interest );
177: pay_in_utils.trace('Other is :' , g_challan_data_noc(i).other );
178: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_noc(i).bank_branch_code );
179: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_noc(i).cheque_dd_num );
180: pay_in_utils.trace('Org Information ID is :' , g_challan_data_noc(i).org_information_id );

Line 177: pay_in_utils.trace('Other is :' , g_challan_data_noc(i).other );

173: pay_in_utils.trace('Amount is :' , g_challan_data_noc(i).amount );
174: pay_in_utils.trace('Surcharge is :' , g_challan_data_noc(i).surcharge );
175: pay_in_utils.trace('Education Cess is :' , g_challan_data_noc(i).education_cess );
176: pay_in_utils.trace('Interest is :' , g_challan_data_noc(i).interest );
177: pay_in_utils.trace('Other is :' , g_challan_data_noc(i).other );
178: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_noc(i).bank_branch_code );
179: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_noc(i).cheque_dd_num );
180: pay_in_utils.trace('Org Information ID is :' , g_challan_data_noc(i).org_information_id );
181: pay_in_utils.trace('Mode is :' , g_challan_data_noc(i).modes );

Line 178: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_noc(i).bank_branch_code );

174: pay_in_utils.trace('Surcharge is :' , g_challan_data_noc(i).surcharge );
175: pay_in_utils.trace('Education Cess is :' , g_challan_data_noc(i).education_cess );
176: pay_in_utils.trace('Interest is :' , g_challan_data_noc(i).interest );
177: pay_in_utils.trace('Other is :' , g_challan_data_noc(i).other );
178: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_noc(i).bank_branch_code );
179: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_noc(i).cheque_dd_num );
180: pay_in_utils.trace('Org Information ID is :' , g_challan_data_noc(i).org_information_id );
181: pay_in_utils.trace('Mode is :' , g_challan_data_noc(i).modes );
182: END LOOP;

Line 179: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_noc(i).cheque_dd_num );

175: pay_in_utils.trace('Education Cess is :' , g_challan_data_noc(i).education_cess );
176: pay_in_utils.trace('Interest is :' , g_challan_data_noc(i).interest );
177: pay_in_utils.trace('Other is :' , g_challan_data_noc(i).other );
178: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_noc(i).bank_branch_code );
179: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_noc(i).cheque_dd_num );
180: pay_in_utils.trace('Org Information ID is :' , g_challan_data_noc(i).org_information_id );
181: pay_in_utils.trace('Mode is :' , g_challan_data_noc(i).modes );
182: END LOOP;
183: pay_in_utils.set_location(g_debug,'Leaving :'|| g_package || '.trace_pl_sql_table_data ',1);

Line 180: pay_in_utils.trace('Org Information ID is :' , g_challan_data_noc(i).org_information_id );

176: pay_in_utils.trace('Interest is :' , g_challan_data_noc(i).interest );
177: pay_in_utils.trace('Other is :' , g_challan_data_noc(i).other );
178: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_noc(i).bank_branch_code );
179: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_noc(i).cheque_dd_num );
180: pay_in_utils.trace('Org Information ID is :' , g_challan_data_noc(i).org_information_id );
181: pay_in_utils.trace('Mode is :' , g_challan_data_noc(i).modes );
182: END LOOP;
183: pay_in_utils.set_location(g_debug,'Leaving :'|| g_package || '.trace_pl_sql_table_data ',1);
184:

Line 181: pay_in_utils.trace('Mode is :' , g_challan_data_noc(i).modes );

177: pay_in_utils.trace('Other is :' , g_challan_data_noc(i).other );
178: pay_in_utils.trace('Bank Branch Code is :' , g_challan_data_noc(i).bank_branch_code );
179: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_noc(i).cheque_dd_num );
180: pay_in_utils.trace('Org Information ID is :' , g_challan_data_noc(i).org_information_id );
181: pay_in_utils.trace('Mode is :' , g_challan_data_noc(i).modes );
182: END LOOP;
183: pay_in_utils.set_location(g_debug,'Leaving :'|| g_package || '.trace_pl_sql_table_data ',1);
184:
185:

Line 183: pay_in_utils.set_location(g_debug,'Leaving :'|| g_package || '.trace_pl_sql_table_data ',1);

179: pay_in_utils.trace('Cheque DD Number :' , g_challan_data_noc(i).cheque_dd_num );
180: pay_in_utils.trace('Org Information ID is :' , g_challan_data_noc(i).org_information_id );
181: pay_in_utils.trace('Mode is :' , g_challan_data_noc(i).modes );
182: END LOOP;
183: pay_in_utils.set_location(g_debug,'Leaving :'|| g_package || '.trace_pl_sql_table_data ',1);
184:
185:
186: EXCEPTION
187: WHEN OTHERS THEN

Line 188: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

184:
185:
186: EXCEPTION
187: WHEN OTHERS THEN
188: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
189: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
190: END trace_pl_sql_table_data;
191:
192: --------------------------------------------------------------------------

Line 189: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

185:
186: EXCEPTION
187: WHEN OTHERS THEN
188: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
189: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
190: END trace_pl_sql_table_data;
191:
192: --------------------------------------------------------------------------
193: -- --

Line 217: pay_in_utils.set_location(g_debug, 'Entering: ' || l_procedure, 10);

213: l_message VARCHAR2(250);
214: BEGIN
215:
216: l_procedure := g_package||'.remove_curr_format';
217: pay_in_utils.set_location(g_debug, 'Entering: ' || l_procedure, 10);
218:
219: IF g_debug THEN
220: pay_in_utils.trace('p_value',p_value);
221: END IF;

Line 220: pay_in_utils.trace('p_value',p_value);

216: l_procedure := g_package||'.remove_curr_format';
217: pay_in_utils.set_location(g_debug, 'Entering: ' || l_procedure, 10);
218:
219: IF g_debug THEN
220: pay_in_utils.trace('p_value',p_value);
221: END IF;
222:
223: l_return_value := REPLACE(REPLACE(NVL(p_value,'0'), ',', ''), '+', '');
224: pay_in_utils.set_location(g_debug,'Leaving : '|| l_procedure, 30);

Line 224: pay_in_utils.set_location(g_debug,'Leaving : '|| l_procedure, 30);

220: pay_in_utils.trace('p_value',p_value);
221: END IF;
222:
223: l_return_value := REPLACE(REPLACE(NVL(p_value,'0'), ',', ''), '+', '');
224: pay_in_utils.set_location(g_debug,'Leaving : '|| l_procedure, 30);
225:
226: RETURN l_return_value;
227: EXCEPTION
228: WHEN OTHERS THEN

Line 229: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

225:
226: RETURN l_return_value;
227: EXCEPTION
228: WHEN OTHERS THEN
229: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
230: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
231: END remove_curr_format;
232:
233: --------------------------------------------------------------------------

Line 230: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

226: RETURN l_return_value;
227: EXCEPTION
228: WHEN OTHERS THEN
229: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
230: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
231: END remove_curr_format;
232:
233: --------------------------------------------------------------------------
234: -- --

Line 316: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

312: l_message VARCHAR2(250);
313: BEGIN
314: g_debug := hr_utility.debug_enabled;
315: l_procedure := g_package ||'.check_archival_status';
316: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
317:
318: IF (p_act_inf_category = 'IN_24QC_DEDUCTEE')
319: THEN
320: OPEN c_chk_ded_data;

Line 339: pay_in_utils.set_location(g_debug,'Leaving : '|| g_package||'.check_archival_status',2);

335: FETCH c_chk_challan_data INTO l_flag;
336: CLOSE c_chk_challan_data;
337: END IF;
338:
339: pay_in_utils.set_location(g_debug,'Leaving : '|| g_package||'.check_archival_status',2);
340:
341: RETURN l_flag;
342: EXCEPTION
343: WHEN OTHERS THEN

Line 344: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

340:
341: RETURN l_flag;
342: EXCEPTION
343: WHEN OTHERS THEN
344: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
345: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
346: END check_archival_status;
347:
348: --------------------------------------------------------------------------

Line 345: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

341: RETURN l_flag;
342: EXCEPTION
343: WHEN OTHERS THEN
344: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
345: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
346: END check_archival_status;
347:
348: --------------------------------------------------------------------------
349: -- --

Line 393: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);

389: BEGIN
390: g_debug := hr_utility.debug_enabled;
391: l_procedure := g_package||'.get_parameters';
392:
393: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
394:
395: OPEN csr_parameter_info(p_payroll_action_id,
396: p_token_name);
397: FETCH csr_parameter_info INTO l_token_value,l_bg_id;

Line 410: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);

406: IF (p_token_value IS NULL) THEN
407: p_token_value := '%';
408: END IF;
409:
410: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
411: EXCEPTION
412: WHEN OTHERS THEN
413: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
414: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 413: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

409:
410: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
411: EXCEPTION
412: WHEN OTHERS THEN
413: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
414: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
415: END get_parameters;
416:
417: --------------------------------------------------------------------------

Line 414: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

410: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
411: EXCEPTION
412: WHEN OTHERS THEN
413: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
414: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
415: END get_parameters;
416:
417: --------------------------------------------------------------------------
418: -- --

Line 471: l_token_name pay_in_utils.char_tab_type;

467: l_procedure VARCHAR2(100);
468: l_assess_yr_start DATE;
469: l_end_date DATE;
470: i NUMBER;
471: l_token_name pay_in_utils.char_tab_type;
472: l_token_value pay_in_utils.char_tab_type;
473: l_arch_ref_no_check NUMBER;
474: E_NON_UNIQUE_ARCH_REF_NO EXCEPTION;
475: E_EMPLR_CLASS_VALIDATE EXCEPTION;

Line 472: l_token_value pay_in_utils.char_tab_type;

468: l_assess_yr_start DATE;
469: l_end_date DATE;
470: i NUMBER;
471: l_token_name pay_in_utils.char_tab_type;
472: l_token_value pay_in_utils.char_tab_type;
473: l_arch_ref_no_check NUMBER;
474: E_NON_UNIQUE_ARCH_REF_NO EXCEPTION;
475: E_EMPLR_CLASS_VALIDATE EXCEPTION;
476: l_deductor_type hr_organization_information.org_information3%TYPE;

Line 485: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);

481: --
482: g_debug := hr_utility.debug_enabled;
483: l_procedure := g_package || '.initialization_code';
484:
485: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
486:
487: g_payroll_action_id := p_payroll_action_id;
488: get_parameters(p_payroll_action_id,'YR' ,g_year);
489: get_parameters(p_payroll_action_id,'GRE',g_gre_id);

Line 512: pay_in_utils.set_location(g_debug,'Finding Globals : '||l_procedure,20);

508:
509: g_qr_start_date := ADD_MONTHS(l_assess_yr_start,(i*3)-12);
510: g_end_date := ADD_MONTHS(g_qr_start_date,3) -1;
511:
512: pay_in_utils.set_location(g_debug,'Finding Globals : '||l_procedure,20);
513:
514: g_qr_end_date := ADD_MONTHS(g_qr_start_date,3) - 1;
515:
516: g_tax_year := TO_CHAR(TO_NUMBER(SUBSTR(g_year,1,4))-1)||'-'|| SUBSTR(g_year,1,4);

Line 551: pay_in_utils.set_location(g_debug,'Fetching previous statement details ',3);

547: FOR i IN 1.. g_count_org - 1
548: LOOP
549: IF (g_org_data(i).gre_id = g_gre_id)
550: THEN
551: pay_in_utils.set_location(g_debug,'Fetching previous statement details ',3);
552: pay_in_utils.set_location(g_debug,'Last Payroll Action Id : ' || g_org_data(i).last_action_context_id,6);
553: OPEN c_prev_stmt_details(l_tan_number,g_org_data(i).last_action_context_id);
554: FETCH c_prev_stmt_details INTO l_previous_deductor_type;
555: CLOSE c_prev_stmt_details;

Line 552: pay_in_utils.set_location(g_debug,'Last Payroll Action Id : ' || g_org_data(i).last_action_context_id,6);

548: LOOP
549: IF (g_org_data(i).gre_id = g_gre_id)
550: THEN
551: pay_in_utils.set_location(g_debug,'Fetching previous statement details ',3);
552: pay_in_utils.set_location(g_debug,'Last Payroll Action Id : ' || g_org_data(i).last_action_context_id,6);
553: OPEN c_prev_stmt_details(l_tan_number,g_org_data(i).last_action_context_id);
554: FETCH c_prev_stmt_details INTO l_previous_deductor_type;
555: CLOSE c_prev_stmt_details;
556: END IF;

Line 558: pay_in_utils.set_location(g_debug,'Old Deductor Type is : ' || l_previous_deductor_type,9);

554: FETCH c_prev_stmt_details INTO l_previous_deductor_type;
555: CLOSE c_prev_stmt_details;
556: END IF;
557: END LOOP;
558: pay_in_utils.set_location(g_debug,'Old Deductor Type is : ' || l_previous_deductor_type,9);
559: pay_in_utils.set_location(g_debug,'New Deductor Type is : ' || l_deductor_type,9);
560:
561: IF (l_previous_deductor_type IN ('A','S') and l_deductor_type NOT IN ('A','S'))
562: THEN

Line 559: pay_in_utils.set_location(g_debug,'New Deductor Type is : ' || l_deductor_type,9);

555: CLOSE c_prev_stmt_details;
556: END IF;
557: END LOOP;
558: pay_in_utils.set_location(g_debug,'Old Deductor Type is : ' || l_previous_deductor_type,9);
559: pay_in_utils.set_location(g_debug,'New Deductor Type is : ' || l_deductor_type,9);
560:
561: IF (l_previous_deductor_type IN ('A','S') and l_deductor_type NOT IN ('A','S'))
562: THEN
563: l_token_name(1) := 'EMPLR_TYPE';

Line 573: pay_in_utils.set_location(g_debug,'Global1: '||g_year||' '||' '||g_quarter||' '||g_gre_id,30);

569: l_token_value(1) := 'Non-Government';
570: RAISE E_EMPLR_CLASS_VALIDATE;
571: END IF;
572:
573: pay_in_utils.set_location(g_debug,'Global1: '||g_year||' '||' '||g_quarter||' '||g_gre_id,30);
574: pay_in_utils.set_location(g_debug,'Global2: '||g_end_date||g_qr_start_date||g_qr_end_date,40);
575: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,50);
576:
577: --

Line 574: pay_in_utils.set_location(g_debug,'Global2: '||g_end_date||g_qr_start_date||g_qr_end_date,40);

570: RAISE E_EMPLR_CLASS_VALIDATE;
571: END IF;
572:
573: pay_in_utils.set_location(g_debug,'Global1: '||g_year||' '||' '||g_quarter||' '||g_gre_id,30);
574: pay_in_utils.set_location(g_debug,'Global2: '||g_end_date||g_qr_start_date||g_qr_end_date,40);
575: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,50);
576:
577: --
578: EXCEPTION

Line 575: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,50);

571: END IF;
572:
573: pay_in_utils.set_location(g_debug,'Global1: '||g_year||' '||' '||g_quarter||' '||g_gre_id,30);
574: pay_in_utils.set_location(g_debug,'Global2: '||g_end_date||g_qr_start_date||g_qr_end_date,40);
575: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,50);
576:
577: --
578: EXCEPTION
579: WHEN E_NON_UNIQUE_ARCH_REF_NO THEN

Line 580: pay_in_utils.raise_message(800, 'PER_IN_NON_UNIQUE_VALUE', l_token_name, l_token_value);

576:
577: --
578: EXCEPTION
579: WHEN E_NON_UNIQUE_ARCH_REF_NO THEN
580: pay_in_utils.raise_message(800, 'PER_IN_NON_UNIQUE_VALUE', l_token_name, l_token_value);
581: fnd_file.put_line(fnd_file.log,'Archive Reference Number '|| g_24qc_reference || 'is non-unique.');
582: RAISE;
583: WHEN E_EMPLR_CLASS_VALIDATE THEN
584: pay_in_utils.raise_message(800,'PER_IN_24Q_EMPLR_VALIDATE', l_token_name, l_token_value);

Line 584: pay_in_utils.raise_message(800,'PER_IN_24Q_EMPLR_VALIDATE', l_token_name, l_token_value);

580: pay_in_utils.raise_message(800, 'PER_IN_NON_UNIQUE_VALUE', l_token_name, l_token_value);
581: fnd_file.put_line(fnd_file.log,'Archive Reference Number '|| g_24qc_reference || 'is non-unique.');
582: RAISE;
583: WHEN E_EMPLR_CLASS_VALIDATE THEN
584: pay_in_utils.raise_message(800,'PER_IN_24Q_EMPLR_VALIDATE', l_token_name, l_token_value);
585: fnd_file.put_line(fnd_file.log,'Employer Classification '|| l_deductor_type || 'should be changed.');
586: RAISE;
587: WHEN OTHERS THEN
588: RAISE;

Line 631: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

627: l_message VARCHAR2(250);
628: BEGIN
629: g_debug := hr_utility.debug_enabled;
630: l_procedure := g_package ||'.assignment_end_date';
631: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
632: OPEN c_termination_check;
633: FETCH c_termination_check INTO l_date;
634: CLOSE c_termination_check;
635: pay_in_utils.set_location(g_debug,'Date Found is: '|| l_date,2);

Line 635: pay_in_utils.set_location(g_debug,'Date Found is: '|| l_date,2);

631: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
632: OPEN c_termination_check;
633: FETCH c_termination_check INTO l_date;
634: CLOSE c_termination_check;
635: pay_in_utils.set_location(g_debug,'Date Found is: '|| l_date,2);
636: pay_in_utils.set_location(g_debug,'Leaving :'||g_package||'.assignment_end_date',3);
637: RETURN LEAST(l_date,g_qr_end_date);
638: EXCEPTION
639: WHEN OTHERS THEN

Line 636: pay_in_utils.set_location(g_debug,'Leaving :'||g_package||'.assignment_end_date',3);

632: OPEN c_termination_check;
633: FETCH c_termination_check INTO l_date;
634: CLOSE c_termination_check;
635: pay_in_utils.set_location(g_debug,'Date Found is: '|| l_date,2);
636: pay_in_utils.set_location(g_debug,'Leaving :'||g_package||'.assignment_end_date',3);
637: RETURN LEAST(l_date,g_qr_end_date);
638: EXCEPTION
639: WHEN OTHERS THEN
640: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

Line 640: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

636: pay_in_utils.set_location(g_debug,'Leaving :'||g_package||'.assignment_end_date',3);
637: RETURN LEAST(l_date,g_qr_end_date);
638: EXCEPTION
639: WHEN OTHERS THEN
640: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
641: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
642: END assignment_end_date;
643:
644: --------------------------------------------------------------------------

Line 641: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

637: RETURN LEAST(l_date,g_qr_end_date);
638: EXCEPTION
639: WHEN OTHERS THEN
640: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
641: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
642: END assignment_end_date;
643:
644: --------------------------------------------------------------------------
645: -- --

Line 675: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);

671: --
672: g_debug := hr_utility.debug_enabled;
673: l_procedure := g_package || '.range_code';
674:
675: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
676:
677: -- Call core package to return SQL string to SELECT a range
678: -- of assignments eligible for archival
679: --

Line 683: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);

679: --
680: pay_core_payslip_utils.range_cursor(p_payroll_action_id
681: ,p_sql);
682:
683: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
684: --
685: EXCEPTION
686: WHEN OTHERS THEN
687: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

Line 687: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

683: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
684: --
685: EXCEPTION
686: WHEN OTHERS THEN
687: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
688: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
689: --
690: END range_code;
691:

Line 688: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

684: --
685: EXCEPTION
686: WHEN OTHERS THEN
687: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
688: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
689: --
690: END range_code;
691:
692: --------------------------------------------------------------------------

Line 732: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

728: l_message VARCHAR2(250);
729: BEGIN
730: g_debug := hr_utility.debug_enabled;
731: l_procedure := g_package ||'.update_challans';
732: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
733: pay_in_utils.set_location(g_debug,'g_24q_payroll_act_id ' || g_24q_payroll_act_id ,1);
734: pay_in_utils.set_location(g_debug,'g_24qc_payroll_act_id ' || g_24qc_payroll_act_id,1);
735:
736: l_last_sum := NULL;

Line 733: pay_in_utils.set_location(g_debug,'g_24q_payroll_act_id ' || g_24q_payroll_act_id ,1);

729: BEGIN
730: g_debug := hr_utility.debug_enabled;
731: l_procedure := g_package ||'.update_challans';
732: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
733: pay_in_utils.set_location(g_debug,'g_24q_payroll_act_id ' || g_24q_payroll_act_id ,1);
734: pay_in_utils.set_location(g_debug,'g_24qc_payroll_act_id ' || g_24qc_payroll_act_id,1);
735:
736: l_last_sum := NULL;
737: pay_in_utils.set_location(g_debug,'Starting updation of action_information19 for Challans ' ,1);

Line 734: pay_in_utils.set_location(g_debug,'g_24qc_payroll_act_id ' || g_24qc_payroll_act_id,1);

730: g_debug := hr_utility.debug_enabled;
731: l_procedure := g_package ||'.update_challans';
732: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
733: pay_in_utils.set_location(g_debug,'g_24q_payroll_act_id ' || g_24q_payroll_act_id ,1);
734: pay_in_utils.set_location(g_debug,'g_24qc_payroll_act_id ' || g_24qc_payroll_act_id,1);
735:
736: l_last_sum := NULL;
737: pay_in_utils.set_location(g_debug,'Starting updation of action_information19 for Challans ' ,1);
738: IF (g_24qc_payroll_act_id IS NOT NULL)

Line 737: pay_in_utils.set_location(g_debug,'Starting updation of action_information19 for Challans ' ,1);

733: pay_in_utils.set_location(g_debug,'g_24q_payroll_act_id ' || g_24q_payroll_act_id ,1);
734: pay_in_utils.set_location(g_debug,'g_24qc_payroll_act_id ' || g_24qc_payroll_act_id,1);
735:
736: l_last_sum := NULL;
737: pay_in_utils.set_location(g_debug,'Starting updation of action_information19 for Challans ' ,1);
738: IF (g_24qc_payroll_act_id IS NOT NULL)
739: THEN
740: pay_in_utils.set_location(g_debug,'Using 24Q Correction Data',2);
741: l_last_sum := pay_in_24qc_er_returns.get_24qc_tax_values(p_challan_number

Line 740: pay_in_utils.set_location(g_debug,'Using 24Q Correction Data',2);

736: l_last_sum := NULL;
737: pay_in_utils.set_location(g_debug,'Starting updation of action_information19 for Challans ' ,1);
738: IF (g_24qc_payroll_act_id IS NOT NULL)
739: THEN
740: pay_in_utils.set_location(g_debug,'Using 24Q Correction Data',2);
741: l_last_sum := pay_in_24qc_er_returns.get_24qc_tax_values(p_challan_number
742: ,g_gre_id
743: ,g_24qc_payroll_act_id
744: );

Line 750: pay_in_utils.set_location(g_debug,'Using 24Q Data',3);

746: END IF;
747:
748: IF(TO_NUMBER(NVL(l_last_sum,0)) = 0)
749: THEN
750: pay_in_utils.set_location(g_debug,'Using 24Q Data',3);
751: OPEN c_24q_ee_sum(p_challan_number,g_24q_payroll_act_id);
752: FETCH c_24q_ee_sum INTO l_last_sum;
753: CLOSE c_24q_ee_sum;
754: l_last_sum := pay_in_24q_er_returns.get_format_value(l_last_sum);

Line 757: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.update_challans',1);

753: CLOSE c_24q_ee_sum;
754: l_last_sum := pay_in_24q_er_returns.get_format_value(l_last_sum);
755: END IF;
756:
757: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.update_challans',1);
758: RETURN l_last_sum;
759: EXCEPTION
760: WHEN OTHERS THEN
761: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

Line 761: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

757: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.update_challans',1);
758: RETURN l_last_sum;
759: EXCEPTION
760: WHEN OTHERS THEN
761: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
762: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
763: END update_challans;
764:
765: --------------------------------------------------------------------------

Line 762: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

758: RETURN l_last_sum;
759: EXCEPTION
760: WHEN OTHERS THEN
761: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
762: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
763: END update_challans;
764:
765: --------------------------------------------------------------------------
766: -- --

Line 822: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);

818: l_message VARCHAR2(250);
819:
820: BEGIN
821: l_procedure := g_package || '.check_ee_in_qc';
822: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
823:
824: OPEN check_ee;
825: FETCH check_ee INTO l_challan_number,l_action_info_id;
826: CLOSE check_ee;

Line 828: l_challan_number := NVL(l_challan_number,pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number'));

824: OPEN check_ee;
825: FETCH check_ee INTO l_challan_number,l_action_info_id;
826: CLOSE check_ee;
827:
828: l_challan_number := NVL(l_challan_number,pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number'));
829:
830: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
831: RETURN l_challan_number;
832: EXCEPTION

Line 830: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);

826: CLOSE check_ee;
827:
828: l_challan_number := NVL(l_challan_number,pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number'));
829:
830: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
831: RETURN l_challan_number;
832: EXCEPTION
833: WHEN OTHERS THEN
834: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

Line 834: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

830: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
831: RETURN l_challan_number;
832: EXCEPTION
833: WHEN OTHERS THEN
834: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
835: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
836: END check_ee_in_qc;
837:
838: --------------------------------------------------------------------------

Line 835: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

831: RETURN l_challan_number;
832: EXCEPTION
833: WHEN OTHERS THEN
834: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
835: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
836: END check_ee_in_qc;
837:
838: --------------------------------------------------------------------------
839: -- --

Line 894: pai.action_information1 <> pay_in_utils.get_ee_value(pai.source_id,'Challan or Voucher Number')

890: AND entry.effective_start_date BETWEEN g_qr_start_date
891: AND g_qr_end_date
892: )
893: OR
894: pai.action_information1 <> pay_in_utils.get_ee_value(pai.source_id,'Challan or Voucher Number')
895: )
896: AND (
897: pai.source_id NOT IN
898: (SELECT pai.source_id

Line 923: pay_in_utils.get_ee_value(pai.source_id,'Challan or Voucher Number') NOT IN

919: AND org_information6 = 'C'
920: )
921: )
922: OR
923: pay_in_utils.get_ee_value(pai.source_id,'Challan or Voucher Number') NOT IN
924: (
925: (SELECT pai.action_information1
926: FROM pay_action_information pai
927: ,pay_action_interlocks locks

Line 958: ,pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number')

954: IS
955: SELECT entry.element_entry_id element_entry_id
956: ,entry.assignment_id assignment_id
957: ,NULL last_action_context_id
958: ,pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number')
959: FROM pay_element_entries_f entry
960: ,pay_element_types_f types
961: WHERE entry.element_type_id = types.element_type_id
962: AND types.element_name = 'Income Tax Challan Information'

Line 975: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') NOT IN

971: AND pai.action_context_id = paa.assignment_action_id
972: AND paa.payroll_action_id = p_payroll_action_id
973: )
974: OR
975: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') NOT IN
976: (SELECT pai.action_information1
977: FROM pay_action_information pai
978: ,pay_assignment_actions paa
979: WHERE pai.action_information_category = 'IN_24Q_DEDUCTEE'

Line 1012: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') NOT IN

1008: AND org_information6 = 'C'
1009: )
1010: )
1011: OR
1012: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') NOT IN
1013: (
1014: (SELECT pai.action_information1
1015: FROM pay_action_information pai
1016: ,pay_action_interlocks locks

Line 1041: AND pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') IN

1037: )
1038: )
1039: )
1040: )
1041: AND pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') IN
1042: (SELECT bank.org_information4||' - '||hoi.org_information3 ||' - ' ||to_char(fnd_date.canonical_to_date(hoi.org_information2),'DD-Mon-RRRR') org_information3
1043: FROM hr_organization_units hou
1044: ,hr_organization_information hoi
1045: ,hr_organization_information bank

Line 1071: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') IN

1067: AND (
1068: (
1069: g_correction_mode IN ('%','C3')
1070: AND
1071: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') IN
1072: (
1073: SELECT action_information1
1074: FROM pay_action_information
1075: WHERE action_information_category IN('IN_24QC_CHALLAN','IN_24Q_CHALLAN')

Line 1119: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') NOT IN

1115: )
1116: OR
1117: (g_correction_mode IN ('%','C9')
1118: AND
1119: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') NOT IN
1120: (
1121: SELECT action_information1
1122: FROM pay_action_information
1123: WHERE action_information_category IN('IN_24QC_CHALLAN','IN_24Q_CHALLAN')

Line 1198: (TO_NUMBER(remove_curr_format(pai.action_information6)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))

1194: AND assignment_end_date(asg.assignment_id) BETWEEN paa.effective_start_date AND paa.effective_end_date
1195: AND ROWNUM = 1)
1196: )
1197: OR
1198: (TO_NUMBER(remove_curr_format(pai.action_information6)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))
1199: OR
1200: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1201: OR
1202: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))

Line 1200: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))

1196: )
1197: OR
1198: (TO_NUMBER(remove_curr_format(pai.action_information6)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))
1199: OR
1200: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1201: OR
1202: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1203: OR
1204: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))

Line 1202: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))

1198: (TO_NUMBER(remove_curr_format(pai.action_information6)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))
1199: OR
1200: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1201: OR
1202: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1203: OR
1204: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1205: OR
1206: (pai.action_information4 <> pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))

Line 1204: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))

1200: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1201: OR
1202: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1203: OR
1204: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1205: OR
1206: (pai.action_information4 <> pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))
1207: OR
1208: (pai.action_information12 <> hr_in_utility.per_in_full_name(pep.first_name,pep.middle_names,pep.last_name,pep.title))

Line 1206: (pai.action_information4 <> pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))

1202: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1203: OR
1204: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1205: OR
1206: (pai.action_information4 <> pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))
1207: OR
1208: (pai.action_information12 <> hr_in_utility.per_in_full_name(pep.first_name,pep.middle_names,pep.last_name,pep.title))
1209: OR
1210: (NVL(pai.action_information11,'0') <> NVL(pep.per_information14,'0'))

Line 1226: AND pay_in_utils.get_ee_value(pai.source_id,'Challan or Voucher Number') = pai.action_information1

1222: AND ((DECODE(pep.per_information4,NULL,DECODE(pep.per_information5,'Yes','APPLIEDFOR','PANNOTAVBL'),pep.per_information4))IN('APPLIEDFOR','PANNOTAVBL'))
1223: )
1224: )
1225: )
1226: AND pay_in_utils.get_ee_value(pai.source_id,'Challan or Voucher Number') = pai.action_information1
1227: )
1228: AND assignment_end_date(asg.assignment_id) BETWEEN asg.effective_start_date AND asg.effective_end_date
1229: AND assignment_end_date(asg.assignment_id) BETWEEN pep.effective_start_date AND pep.effective_end_date
1230: ORDER BY 4 DESC;

Line 1305: (TO_NUMBER(remove_curr_format(pai.action_information6)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))

1301: AND assignment_end_date(asg.assignment_id) BETWEEN paa.effective_start_date AND paa.effective_end_date
1302: AND ROWNUM = 1)
1303: )
1304: OR
1305: (TO_NUMBER(remove_curr_format(pai.action_information6)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))
1306: OR
1307: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1308: OR
1309: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))

Line 1307: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))

1303: )
1304: OR
1305: (TO_NUMBER(remove_curr_format(pai.action_information6)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))
1306: OR
1307: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1308: OR
1309: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1310: OR
1311: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))

Line 1309: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))

1305: (TO_NUMBER(remove_curr_format(pai.action_information6)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))
1306: OR
1307: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1308: OR
1309: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1310: OR
1311: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1312: OR
1313: (pai.action_information4 <> pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))

Line 1311: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))

1307: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1308: OR
1309: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1310: OR
1311: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1312: OR
1313: (pai.action_information4 <> pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))
1314: OR
1315: (pai.action_information10 <> hr_in_utility.per_in_full_name(pep.first_name,pep.middle_names,pep.last_name,pep.title))

Line 1313: (pai.action_information4 <> pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))

1309: (TO_NUMBER(remove_curr_format(pai.action_information8)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1310: OR
1311: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1312: OR
1313: (pai.action_information4 <> pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))
1314: OR
1315: (pai.action_information10 <> hr_in_utility.per_in_full_name(pep.first_name,pep.middle_names,pep.last_name,pep.title))
1316: OR(--Checking PAN Number
1317: (

Line 1362: (TO_NUMBER(remove_curr_format(pai.action_information6)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))

1358: AND assignment_end_date(asg.assignment_id) BETWEEN paa.effective_start_date AND paa.effective_end_date
1359: AND ROWNUM = 1)
1360: )
1361: AND
1362: (TO_NUMBER(remove_curr_format(pai.action_information6)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))
1363: AND
1364: (TO_NUMBER(remove_curr_format(pai.action_information7)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1365: AND
1366: (TO_NUMBER(remove_curr_format(pai.action_information8)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))

Line 1364: (TO_NUMBER(remove_curr_format(pai.action_information7)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))

1360: )
1361: AND
1362: (TO_NUMBER(remove_curr_format(pai.action_information6)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))
1363: AND
1364: (TO_NUMBER(remove_curr_format(pai.action_information7)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1365: AND
1366: (TO_NUMBER(remove_curr_format(pai.action_information8)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1367: AND
1368: (TO_NUMBER(remove_curr_format(pai.action_information5)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))

Line 1366: (TO_NUMBER(remove_curr_format(pai.action_information8)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))

1362: (TO_NUMBER(remove_curr_format(pai.action_information6)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Income Tax Deducted'))))
1363: AND
1364: (TO_NUMBER(remove_curr_format(pai.action_information7)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1365: AND
1366: (TO_NUMBER(remove_curr_format(pai.action_information8)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1367: AND
1368: (TO_NUMBER(remove_curr_format(pai.action_information5)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1369: AND
1370: (pai.action_information4 = pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))

Line 1368: (TO_NUMBER(remove_curr_format(pai.action_information5)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))

1364: (TO_NUMBER(remove_curr_format(pai.action_information7)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1365: AND
1366: (TO_NUMBER(remove_curr_format(pai.action_information8)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1367: AND
1368: (TO_NUMBER(remove_curr_format(pai.action_information5)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1369: AND
1370: (pai.action_information4 = pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))
1371: AND
1372: (pai.action_information10 = hr_in_utility.per_in_full_name(pep.first_name,pep.middle_names,pep.last_name,pep.title))

Line 1370: (pai.action_information4 = pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))

1366: (TO_NUMBER(remove_curr_format(pai.action_information8)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Education Cess Deducted'))))
1367: AND
1368: (TO_NUMBER(remove_curr_format(pai.action_information5)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1369: AND
1370: (pai.action_information4 = pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))
1371: AND
1372: (pai.action_information10 = hr_in_utility.per_in_full_name(pep.first_name,pep.middle_names,pep.last_name,pep.title))
1373: AND(--Checking PAN Number
1374: (

Line 1463: ,pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') challan

1459: CURSOR c_live_ee
1460: IS
1461: SELECT entry.element_entry_id element_entry_id
1462: ,entry.assignment_id assignment_id
1463: ,pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') challan
1464: FROM pay_element_entries_f entry
1465: ,pay_element_types_f types
1466: WHERE entry.element_type_id = types.element_type_id
1467: AND types.element_name = 'Income Tax Challan Information'

Line 1493: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);

1489: --
1490: g_debug := hr_utility.debug_enabled;
1491: l_procedure := g_package || '.generate_employee_data';
1492:
1493: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
1494:
1495: --The below process finds those Challan Element Entries which have MODE as Deletion(D)
1496: pay_in_utils.set_location(g_debug,'Finding element entries deleted since last statement ',2);
1497: FOR c_rec IN c_delete_mode_entries(p_payroll_action_id)

Line 1496: pay_in_utils.set_location(g_debug,'Finding element entries deleted since last statement ',2);

1492:
1493: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
1494:
1495: --The below process finds those Challan Element Entries which have MODE as Deletion(D)
1496: pay_in_utils.set_location(g_debug,'Finding element entries deleted since last statement ',2);
1497: FOR c_rec IN c_delete_mode_entries(p_payroll_action_id)
1498: LOOP
1499: l_bg_check := 0;
1500: OPEN c_bg_check(c_rec.assignment_id);

Line 1514: pay_in_utils.set_location(g_debug,'Finding element entries added since last statement ',3);

1510: g_count_ee_delete := g_count_ee_delete + 1;
1511: END IF;
1512: END LOOP;
1513:
1514: pay_in_utils.set_location(g_debug,'Finding element entries added since last statement ',3);
1515: --The below process finds those Challan Element Entries which have MODE as Addition(A)
1516: FOR c_rec IN c_addition_mode_entries(p_payroll_action_id)
1517: LOOP
1518: l_bg_check := 0;

Line 1544: pay_in_utils.set_location(g_debug,'Live Challan Value is: '|| c_rec.challan,1);

1540: IF (l_bg_check = 1)
1541: THEN
1542: IF (c_rec.challan <> check_ee_in_qc(c_rec.element_entry_id))
1543: THEN
1544: pay_in_utils.set_location(g_debug,'Live Challan Value is: '|| c_rec.challan,1);
1545: pay_in_utils.set_location(g_debug,'Old Challan Value is: '|| check_ee_in_qc(c_rec.element_entry_id),2);
1546: g_ee_data_rec_add(g_count_ee_addition).last_action_context_id := NULL;
1547: g_ee_data_rec_add(g_count_ee_addition).assignment_id := c_rec.assignment_id;
1548: g_ee_data_rec_add(g_count_ee_addition).element_entry_id := c_rec.element_entry_id;

Line 1545: pay_in_utils.set_location(g_debug,'Old Challan Value is: '|| check_ee_in_qc(c_rec.element_entry_id),2);

1541: THEN
1542: IF (c_rec.challan <> check_ee_in_qc(c_rec.element_entry_id))
1543: THEN
1544: pay_in_utils.set_location(g_debug,'Live Challan Value is: '|| c_rec.challan,1);
1545: pay_in_utils.set_location(g_debug,'Old Challan Value is: '|| check_ee_in_qc(c_rec.element_entry_id),2);
1546: g_ee_data_rec_add(g_count_ee_addition).last_action_context_id := NULL;
1547: g_ee_data_rec_add(g_count_ee_addition).assignment_id := c_rec.assignment_id;
1548: g_ee_data_rec_add(g_count_ee_addition).element_entry_id := c_rec.element_entry_id;
1549: g_ee_data_rec_add(g_count_ee_addition).deductee_mode := 'A';

Line 1556: pay_in_utils.set_location(g_debug,'Finding element entries updated since last statement ',4);

1552: END IF;
1553: END LOOP;
1554: --The below process finds those Challan Element Entries which have MODE as Updation(U)
1555: -- This code checks U from Form 24Q Archival to Live Data
1556: pay_in_utils.set_location(g_debug,'Finding element entries updated since last statement ',4);
1557: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Archival ', 1);
1558:
1559: l_flag := TRUE;
1560: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)

Line 1557: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Archival ', 1);

1553: END LOOP;
1554: --The below process finds those Challan Element Entries which have MODE as Updation(U)
1555: -- This code checks U from Form 24Q Archival to Live Data
1556: pay_in_utils.set_location(g_debug,'Finding element entries updated since last statement ',4);
1557: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Archival ', 1);
1558:
1559: l_flag := TRUE;
1560: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
1561: LOOP

Line 1562: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);

1558:
1559: l_flag := TRUE;
1560: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
1561: LOOP
1562: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
1563: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1564: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1565: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1566: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);

Line 1563: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);

1559: l_flag := TRUE;
1560: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
1561: LOOP
1562: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
1563: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1564: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1565: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1566: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);
1567: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id '|| csr_rec.element_entry_id ,2);

Line 1564: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);

1560: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
1561: LOOP
1562: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
1563: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1564: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1565: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1566: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);
1567: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id '|| csr_rec.element_entry_id ,2);
1568:

Line 1565: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);

1561: LOOP
1562: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
1563: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1564: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1565: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1566: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);
1567: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id '|| csr_rec.element_entry_id ,2);
1568:
1569: l_flag := TRUE;

Line 1566: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);

1562: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
1563: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1564: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1565: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1566: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);
1567: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id '|| csr_rec.element_entry_id ,2);
1568:
1569: l_flag := TRUE;
1570:

Line 1567: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id '|| csr_rec.element_entry_id ,2);

1563: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1564: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1565: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1566: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);
1567: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id '|| csr_rec.element_entry_id ,2);
1568:
1569: l_flag := TRUE;
1570:
1571: FOR c_rec IN c_check_entries_in_24q_correct(csr_rec.last_action_context_id

Line 1580: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',11);

1576: LOOP
1577: IF ((c_rec.last_action_context_id IS NOT NULL)AND l_flag)
1578: THEN
1579: l_last_action_context_id := c_rec.last_action_context_id;
1580: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',11);
1581: pay_in_utils.set_location(g_debug,'with action context id as ' || l_last_action_context_id,1);
1582: l_flag := FALSE;
1583: END IF;
1584: END LOOP;

Line 1581: pay_in_utils.set_location(g_debug,'with action context id as ' || l_last_action_context_id,1);

1577: IF ((c_rec.last_action_context_id IS NOT NULL)AND l_flag)
1578: THEN
1579: l_last_action_context_id := c_rec.last_action_context_id;
1580: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',11);
1581: pay_in_utils.set_location(g_debug,'with action context id as ' || l_last_action_context_id,1);
1582: l_flag := FALSE;
1583: END IF;
1584: END LOOP;
1585:

Line 1586: pay_in_utils.set_location(g_debug,'Mid way in finding updated element entries ', 5);

1582: l_flag := FALSE;
1583: END IF;
1584: END LOOP;
1585:
1586: pay_in_utils.set_location(g_debug,'Mid way in finding updated element entries ', 5);
1587: IF (l_last_action_context_id IS NULL)
1588: THEN
1589: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',1);
1590: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',1);

Line 1589: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',1);

1585:
1586: pay_in_utils.set_location(g_debug,'Mid way in finding updated element entries ', 5);
1587: IF (l_last_action_context_id IS NULL)
1588: THEN
1589: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',1);
1590: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',1);
1591: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := csr_rec.last_action_context_id;
1592: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;
1593: g_ee_data_rec_upd(g_count_ee_update).element_entry_id := csr_rec.element_entry_id;

Line 1590: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',1);

1586: pay_in_utils.set_location(g_debug,'Mid way in finding updated element entries ', 5);
1587: IF (l_last_action_context_id IS NULL)
1588: THEN
1589: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',1);
1590: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',1);
1591: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := csr_rec.last_action_context_id;
1592: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;
1593: g_ee_data_rec_upd(g_count_ee_update).element_entry_id := csr_rec.element_entry_id;
1594: g_ee_data_rec_upd(g_count_ee_update).deductee_mode := 'U';

Line 1598: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',1);

1594: g_ee_data_rec_upd(g_count_ee_update).deductee_mode := 'U';
1595: g_count_ee_update := g_count_ee_update + 1;
1596: ELSE --Present then need to check the present values with the archived values under Form 24QCorrection
1597: l_dummy := NULL;
1598: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',1);
1599: pay_in_utils.set_location(g_debug,'Need to compare the value from 24Q Correction now',1);
1600: OPEN c_24qc_upd_mode_entries(l_last_action_context_id,csr_rec.element_entry_id);
1601: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1602: CLOSE c_24qc_upd_mode_entries;

Line 1599: pay_in_utils.set_location(g_debug,'Need to compare the value from 24Q Correction now',1);

1595: g_count_ee_update := g_count_ee_update + 1;
1596: ELSE --Present then need to check the present values with the archived values under Form 24QCorrection
1597: l_dummy := NULL;
1598: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',1);
1599: pay_in_utils.set_location(g_debug,'Need to compare the value from 24Q Correction now',1);
1600: OPEN c_24qc_upd_mode_entries(l_last_action_context_id,csr_rec.element_entry_id);
1601: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1602: CLOSE c_24qc_upd_mode_entries;
1603:

Line 1605: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',1);

1601: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1602: CLOSE c_24qc_upd_mode_entries;
1603:
1604: IF (l_dummy IS NOT NULL) THEN
1605: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',1);
1606: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,1);
1607: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id'|| csr_rec.element_entry_id,2);
1608: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := l_dummy;
1609: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;

Line 1606: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,1);

1602: CLOSE c_24qc_upd_mode_entries;
1603:
1604: IF (l_dummy IS NOT NULL) THEN
1605: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',1);
1606: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,1);
1607: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id'|| csr_rec.element_entry_id,2);
1608: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := l_dummy;
1609: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;
1610: g_ee_data_rec_upd(g_count_ee_update).element_entry_id := csr_rec.element_entry_id;

Line 1607: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id'|| csr_rec.element_entry_id,2);

1603:
1604: IF (l_dummy IS NOT NULL) THEN
1605: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',1);
1606: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,1);
1607: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id'|| csr_rec.element_entry_id,2);
1608: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := l_dummy;
1609: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;
1610: g_ee_data_rec_upd(g_count_ee_update).element_entry_id := csr_rec.element_entry_id;
1611: g_ee_data_rec_upd(g_count_ee_update).deductee_mode := 'U';

Line 1613: pay_in_utils.set_location(g_debug,'Stored data as 24Q Correction Data',1);

1609: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;
1610: g_ee_data_rec_upd(g_count_ee_update).element_entry_id := csr_rec.element_entry_id;
1611: g_ee_data_rec_upd(g_count_ee_update).deductee_mode := 'U';
1612: g_count_ee_update := g_count_ee_update + 1;
1613: pay_in_utils.set_location(g_debug,'Stored data as 24Q Correction Data',1);
1614: END IF;
1615: END IF;
1616: END LOOP;
1617: pay_in_utils.set_location(g_debug,'Additional Checking on updated element entries ', 6);

Line 1617: pay_in_utils.set_location(g_debug,'Additional Checking on updated element entries ', 6);

1613: pay_in_utils.set_location(g_debug,'Stored data as 24Q Correction Data',1);
1614: END IF;
1615: END IF;
1616: END LOOP;
1617: pay_in_utils.set_location(g_debug,'Additional Checking on updated element entries ', 6);
1618: --Similarly need to repeat the above structure for the case when data after submission to authorities
1619: --was updated, form 24qc generated again updated to original form and 24qc again generated
1620: --The following code checks U for Data under Form 24Q Correction.
1621:

Line 1623: pay_in_utils.set_location(g_debug,'Now checking those element entries that have same data in live and 24QC ', 7);

1619: --was updated, form 24qc generated again updated to original form and 24qc again generated
1620: --The following code checks U for Data under Form 24Q Correction.
1621:
1622: -- This cursor finds all those Form 24Q Corrections that are locking Form 24Q
1623: pay_in_utils.set_location(g_debug,'Now checking those element entries that have same data in live and 24QC ', 7);
1624: FOR c_rec IN c_form_24qc_locking_id('U',1)
1625: LOOP
1626:
1627: l_flag := TRUE;

Line 1630: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',1);

1626:
1627: l_flag := TRUE;
1628: l_dummy := NULL;
1629:
1630: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',1);
1631: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,1);
1632: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id' || c_rec.element_entry_id,2);
1633:
1634: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);

Line 1631: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,1);

1627: l_flag := TRUE;
1628: l_dummy := NULL;
1629:
1630: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',1);
1631: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,1);
1632: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id' || c_rec.element_entry_id,2);
1633:
1634: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);
1635: FETCH c_24qc_upd_mode_entries INTO l_dummy;

Line 1632: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id' || c_rec.element_entry_id,2);

1628: l_dummy := NULL;
1629:
1630: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',1);
1631: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,1);
1632: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id' || c_rec.element_entry_id,2);
1633:
1634: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);
1635: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1636: CLOSE c_24qc_upd_mode_entries;

Line 1640: pay_in_utils.set_location(g_debug,'Diff found with the Live Data',3);

1636: CLOSE c_24qc_upd_mode_entries;
1637:
1638: IF (l_dummy IS NOT NULL)
1639: THEN
1640: pay_in_utils.set_location(g_debug,'Diff found with the Live Data',3);
1641: FOR i IN 1.. g_count_ee_update - 1
1642: LOOP
1643: IF (
1644: (g_ee_data_rec_upd(i).last_action_context_id = c_rec.last_action_context_id)

Line 1657: pay_in_utils.set_location(g_debug,'No Diff found with the Live Data',3);

1653: l_flag := FALSE;
1654: END IF;
1655: END LOOP;
1656: ELSE
1657: pay_in_utils.set_location(g_debug,'No Diff found with the Live Data',3);
1658: l_flag := FALSE;
1659: END IF;
1660:
1661: IF (l_flag)

Line 1673: pay_in_utils.set_location(g_debug,'Now Searching for those updated element entries that were 24QC+',1);

1669:
1670: END LOOP;
1671: --Now Searching for those updated element entries that were created after
1672: --form 24Q Correction generation
1673: pay_in_utils.set_location(g_debug,'Now Searching for those updated element entries that were 24QC+',1);
1674: FOR c_rec IN c_form_24qc_locking_id('A',2)
1675: LOOP
1676: l_dummy := NULL;
1677: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,1);

Line 1677: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,1);

1673: pay_in_utils.set_location(g_debug,'Now Searching for those updated element entries that were 24QC+',1);
1674: FOR c_rec IN c_form_24qc_locking_id('A',2)
1675: LOOP
1676: l_dummy := NULL;
1677: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,1);
1678: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,1);
1679: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id '|| c_rec.element_entry_id ,1);
1680:
1681: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);

Line 1678: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,1);

1674: FOR c_rec IN c_form_24qc_locking_id('A',2)
1675: LOOP
1676: l_dummy := NULL;
1677: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,1);
1678: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,1);
1679: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id '|| c_rec.element_entry_id ,1);
1680:
1681: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);
1682: FETCH c_24qc_upd_mode_entries INTO l_dummy;

Line 1679: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id '|| c_rec.element_entry_id ,1);

1675: LOOP
1676: l_dummy := NULL;
1677: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,1);
1678: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,1);
1679: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id '|| c_rec.element_entry_id ,1);
1680:
1681: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);
1682: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1683: CLOSE c_24qc_upd_mode_entries;

Line 1684: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,2);

1680:
1681: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);
1682: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1683: CLOSE c_24qc_upd_mode_entries;
1684: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,2);
1685: IF (l_dummy IS NOT NULL)
1686: THEN
1687: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := c_rec.last_action_context_id;
1688: g_ee_data_rec_upd(g_count_ee_update).assignment_id := c_rec.assignment_id;

Line 1694: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,30);

1690: g_ee_data_rec_upd(g_count_ee_update).deductee_mode := 'U';
1691: g_count_ee_update := g_count_ee_update + 1;
1692: END IF;
1693: END LOOP;
1694: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,30);
1695: --
1696: EXCEPTION
1697: WHEN OTHERS THEN
1698: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

Line 1698: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

1694: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,30);
1695: --
1696: EXCEPTION
1697: WHEN OTHERS THEN
1698: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
1699: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
1700: END generate_employee_data;
1701:
1702:

Line 1699: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

1695: --
1696: EXCEPTION
1697: WHEN OTHERS THEN
1698: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
1699: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
1700: END generate_employee_data;
1701:
1702:
1703: --------------------------------------------------------------------------

Line 1723: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

1719:
1720: BEGIN
1721: g_debug := hr_utility.debug_enabled;
1722: l_procedure := g_package ||'.get_format_value';
1723: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
1724: IF g_debug THEN
1725: pay_in_utils.trace('p_value',p_value);
1726: END IF;
1727:

Line 1725: pay_in_utils.trace('p_value',p_value);

1721: g_debug := hr_utility.debug_enabled;
1722: l_procedure := g_package ||'.get_format_value';
1723: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
1724: IF g_debug THEN
1725: pay_in_utils.trace('p_value',p_value);
1726: END IF;
1727:
1728: IF(NVL(p_value,0)=0) THEN
1729: RETURN '0.00';

Line 1738: pay_in_utils.trace('l_value',l_value);

1734: l_value := SUBSTR(l_value,1,length(l_value)-2)||'.'||SUBSTR(l_value,length(l_value)-1,length(l_value));
1735:
1736:
1737: IF g_debug THEN
1738: pay_in_utils.trace('l_value',l_value);
1739: END IF;
1740:
1741: pay_in_utils.set_location(g_debug,'LEAVING: '||l_procedure,20);
1742:

Line 1741: pay_in_utils.set_location(g_debug,'LEAVING: '||l_procedure,20);

1737: IF g_debug THEN
1738: pay_in_utils.trace('l_value',l_value);
1739: END IF;
1740:
1741: pay_in_utils.set_location(g_debug,'LEAVING: '||l_procedure,20);
1742:
1743: RETURN l_value;
1744:
1745: END get_format_value;

Line 1782: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

1778:
1779: BEGIN
1780: g_debug := hr_utility.debug_enabled;
1781: l_procedure := g_package ||'.get_24Q_values';
1782: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
1783:
1784: IF g_debug THEN
1785: pay_in_utils.trace('**************************************************','********************');
1786: pay_in_utils.trace('p_category',p_category);

Line 1785: pay_in_utils.trace('**************************************************','********************');

1781: l_procedure := g_package ||'.get_24Q_values';
1782: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
1783:
1784: IF g_debug THEN
1785: pay_in_utils.trace('**************************************************','********************');
1786: pay_in_utils.trace('p_category',p_category);
1787: pay_in_utils.trace('p_component_name',p_component_name);
1788: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1789: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));

Line 1786: pay_in_utils.trace('p_category',p_category);

1782: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
1783:
1784: IF g_debug THEN
1785: pay_in_utils.trace('**************************************************','********************');
1786: pay_in_utils.trace('p_category',p_category);
1787: pay_in_utils.trace('p_component_name',p_component_name);
1788: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1789: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1790: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));

Line 1787: pay_in_utils.trace('p_component_name',p_component_name);

1783:
1784: IF g_debug THEN
1785: pay_in_utils.trace('**************************************************','********************');
1786: pay_in_utils.trace('p_category',p_category);
1787: pay_in_utils.trace('p_component_name',p_component_name);
1788: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1789: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1790: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));
1791: pay_in_utils.trace('**************************************************','********************');

Line 1788: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));

1784: IF g_debug THEN
1785: pay_in_utils.trace('**************************************************','********************');
1786: pay_in_utils.trace('p_category',p_category);
1787: pay_in_utils.trace('p_component_name',p_component_name);
1788: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1789: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1790: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));
1791: pay_in_utils.trace('**************************************************','********************');
1792: END IF;

Line 1789: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));

1785: pay_in_utils.trace('**************************************************','********************');
1786: pay_in_utils.trace('p_category',p_category);
1787: pay_in_utils.trace('p_component_name',p_component_name);
1788: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1789: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1790: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));
1791: pay_in_utils.trace('**************************************************','********************');
1792: END IF;
1793:

Line 1790: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));

1786: pay_in_utils.trace('p_category',p_category);
1787: pay_in_utils.trace('p_component_name',p_component_name);
1788: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1789: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1790: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));
1791: pay_in_utils.trace('**************************************************','********************');
1792: END IF;
1793:
1794: OPEN c_form24Q_values;

Line 1791: pay_in_utils.trace('**************************************************','********************');

1787: pay_in_utils.trace('p_component_name',p_component_name);
1788: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1789: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1790: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));
1791: pay_in_utils.trace('**************************************************','********************');
1792: END IF;
1793:
1794: OPEN c_form24Q_values;
1795: FETCH c_form24Q_values INTO l_value1;

Line 1802: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,15);

1798: RETURN '0.00';
1799: END IF;
1800: CLOSE c_form24Q_values;
1801:
1802: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,15);
1803:
1804: l_value1 := get_format_value(l_value1);
1805:
1806: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,20);

Line 1806: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,20);

1802: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,15);
1803:
1804: l_value1 := get_format_value(l_value1);
1805:
1806: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,20);
1807:
1808: pay_in_utils.set_location(g_debug,'LEAVING: '||l_procedure,40);
1809:
1810: IF(p_segment_num=1) THEN

Line 1808: pay_in_utils.set_location(g_debug,'LEAVING: '||l_procedure,40);

1804: l_value1 := get_format_value(l_value1);
1805:
1806: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,20);
1807:
1808: pay_in_utils.set_location(g_debug,'LEAVING: '||l_procedure,40);
1809:
1810: IF(p_segment_num=1) THEN
1811: RETURN l_value1;
1812: END IF;

Line 2587: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);

2583: --
2584: g_debug := hr_utility.debug_enabled;
2585: l_procedure := g_package || '.generate_salary_data';
2586:
2587: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
2588:
2589: pay_in_utils.trace('p_start_person in generate_salary_data-> ',p_start_person);
2590: pay_in_utils.trace('p_end_person in generate_salary_data-> ',p_end_person);
2591:

Line 2589: pay_in_utils.trace('p_start_person in generate_salary_data-> ',p_start_person);

2585: l_procedure := g_package || '.generate_salary_data';
2586:
2587: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
2588:
2589: pay_in_utils.trace('p_start_person in generate_salary_data-> ',p_start_person);
2590: pay_in_utils.trace('p_end_person in generate_salary_data-> ',p_end_person);
2591:
2592:
2593: --The below process finds those Assignment Actions which have MODE as Deletion(D)

Line 2590: pay_in_utils.trace('p_end_person in generate_salary_data-> ',p_end_person);

2586:
2587: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
2588:
2589: pay_in_utils.trace('p_start_person in generate_salary_data-> ',p_start_person);
2590: pay_in_utils.trace('p_end_person in generate_salary_data-> ',p_end_person);
2591:
2592:
2593: --The below process finds those Assignment Actions which have MODE as Deletion(D)
2594: pay_in_utils.set_location(g_debug,'Finding Assignment Actions deleted since last statement ',2);

Line 2594: pay_in_utils.set_location(g_debug,'Finding Assignment Actions deleted since last statement ',2);

2590: pay_in_utils.trace('p_end_person in generate_salary_data-> ',p_end_person);
2591:
2592:
2593: --The below process finds those Assignment Actions which have MODE as Deletion(D)
2594: pay_in_utils.set_location(g_debug,'Finding Assignment Actions deleted since last statement ',2);
2595: FOR c_rec IN c_delete_mode_entries(p_payroll_action_id)
2596: LOOP
2597: l_bg_check := 0;
2598: OPEN c_bg_check(c_rec.assignment_id);

Line 2612: pay_in_utils.set_location(g_debug,'Finding Assignment Actions added since last statement ',3);

2608: g_count_sal_delete := g_count_sal_delete + 1;
2609: END IF;
2610: END LOOP;
2611:
2612: pay_in_utils.set_location(g_debug,'Finding Assignment Actions added since last statement ',3);
2613:
2614: --The below process finds those Assignment Actions which have MODE as Addition(A)
2615: FOR c_rec IN c_addition_mode_entries(p_payroll_action_id)
2616: LOOP

Line 2635: pay_in_utils.set_location(g_debug,'Finding Assignment Actions updated since last statement ',4);

2631: --
2632:
2633: --The below process finds those Assignment Actions which have been updated
2634: -- This code checks A from Form 24Q Archival to Live Data
2635: pay_in_utils.set_location(g_debug,'Finding Assignment Actions updated since last statement ',4);
2636: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Archival ', 1);
2637:
2638: l_flag := TRUE;
2639: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)

Line 2636: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Archival ', 1);

2632:
2633: --The below process finds those Assignment Actions which have been updated
2634: -- This code checks A from Form 24Q Archival to Live Data
2635: pay_in_utils.set_location(g_debug,'Finding Assignment Actions updated since last statement ',4);
2636: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Archival ', 1);
2637:
2638: l_flag := TRUE;
2639: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
2640: LOOP

Line 2641: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);

2637:
2638: l_flag := TRUE;
2639: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
2640: LOOP
2641: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
2642: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,1);
2643: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2644: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2645: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);

Line 2642: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,1);

2638: l_flag := TRUE;
2639: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
2640: LOOP
2641: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
2642: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,1);
2643: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2644: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2645: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);
2646:

Line 2643: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);

2639: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
2640: LOOP
2641: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
2642: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,1);
2643: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2644: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2645: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);
2646:
2647: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);

Line 2644: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);

2640: LOOP
2641: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
2642: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,1);
2643: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2644: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2645: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);
2646:
2647: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
2648:

Line 2645: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);

2641: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
2642: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,1);
2643: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2644: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2645: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);
2646:
2647: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
2648:
2649: l_flag := TRUE;

Line 2647: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);

2643: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2644: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2645: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);
2646:
2647: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
2648:
2649: l_flag := TRUE;
2650: l_last_action_context_id := NULL;
2651:

Line 2660: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',2);

2656: LOOP
2657: IF ((c_rec.last_action_context_id IS NOT NULL) AND l_flag)
2658: THEN
2659: l_last_action_context_id := c_rec.last_action_context_id;
2660: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',2);
2661: pay_in_utils.set_location(g_debug,'with action context id as ' || l_last_action_context_id,2);
2662: l_flag := FALSE;
2663: END IF;
2664: END LOOP;

Line 2661: pay_in_utils.set_location(g_debug,'with action context id as ' || l_last_action_context_id,2);

2657: IF ((c_rec.last_action_context_id IS NOT NULL) AND l_flag)
2658: THEN
2659: l_last_action_context_id := c_rec.last_action_context_id;
2660: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',2);
2661: pay_in_utils.set_location(g_debug,'with action context id as ' || l_last_action_context_id,2);
2662: l_flag := FALSE;
2663: END IF;
2664: END LOOP;
2665:

Line 2666: pay_in_utils.set_location(g_debug,'Mid way in finding updated assignment actions', 3);

2662: l_flag := FALSE;
2663: END IF;
2664: END LOOP;
2665:
2666: pay_in_utils.set_location(g_debug,'Mid way in finding updated assignment actions', 3);
2667: pay_in_utils.trace('l_last_action_context_id after c_check_entries_in_24q_correct is -> ',l_last_action_context_id);
2668:
2669: IF (l_last_action_context_id IS NULL)
2670: THEN

Line 2667: pay_in_utils.trace('l_last_action_context_id after c_check_entries_in_24q_correct is -> ',l_last_action_context_id);

2663: END IF;
2664: END LOOP;
2665:
2666: pay_in_utils.set_location(g_debug,'Mid way in finding updated assignment actions', 3);
2667: pay_in_utils.trace('l_last_action_context_id after c_check_entries_in_24q_correct is -> ',l_last_action_context_id);
2668:
2669: IF (l_last_action_context_id IS NULL)
2670: THEN
2671: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',4);

Line 2671: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',4);

2667: pay_in_utils.trace('l_last_action_context_id after c_check_entries_in_24q_correct is -> ',l_last_action_context_id);
2668:
2669: IF (l_last_action_context_id IS NULL)
2670: THEN
2671: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',4);
2672: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',4);
2673: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := csr_rec.last_action_context_id;
2674: g_sal_data_rec_upd(g_count_sal_update).assignment_id := csr_rec.assignment_id;
2675: g_sal_data_rec_upd(g_count_sal_update).source_id := csr_rec.source_id;

Line 2672: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',4);

2668:
2669: IF (l_last_action_context_id IS NULL)
2670: THEN
2671: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',4);
2672: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',4);
2673: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := csr_rec.last_action_context_id;
2674: g_sal_data_rec_upd(g_count_sal_update).assignment_id := csr_rec.assignment_id;
2675: g_sal_data_rec_upd(g_count_sal_update).source_id := csr_rec.source_id;
2676: g_sal_data_rec_upd(g_count_sal_update).salary_mode := 'U';

Line 2681: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',5);

2677: g_count_sal_update := g_count_sal_update + 1;
2678:
2679: ELSE --Present then need to check the present values with the archived values under Form 24QCorrection
2680: l_dummy := NULL;
2681: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',5);
2682: pay_in_utils.set_location(g_debug,'Need to compare the value from 24Q Correction now',5);
2683: OPEN c_24qc_upd_mode_entries(l_last_action_context_id,csr_rec.source_id);
2684: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2685: CLOSE c_24qc_upd_mode_entries;

Line 2682: pay_in_utils.set_location(g_debug,'Need to compare the value from 24Q Correction now',5);

2678:
2679: ELSE --Present then need to check the present values with the archived values under Form 24QCorrection
2680: l_dummy := NULL;
2681: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',5);
2682: pay_in_utils.set_location(g_debug,'Need to compare the value from 24Q Correction now',5);
2683: OPEN c_24qc_upd_mode_entries(l_last_action_context_id,csr_rec.source_id);
2684: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2685: CLOSE c_24qc_upd_mode_entries;
2686:

Line 2688: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',6);

2684: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2685: CLOSE c_24qc_upd_mode_entries;
2686:
2687: IF (l_dummy IS NOT NULL) THEN
2688: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',6);
2689: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,6);
2690: pay_in_utils.set_location(g_debug,'csr_rec.source_id'|| csr_rec.source_id,6);
2691: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := l_dummy;
2692: g_sal_data_rec_upd(g_count_sal_update).assignment_id := csr_rec.assignment_id;

Line 2689: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,6);

2685: CLOSE c_24qc_upd_mode_entries;
2686:
2687: IF (l_dummy IS NOT NULL) THEN
2688: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',6);
2689: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,6);
2690: pay_in_utils.set_location(g_debug,'csr_rec.source_id'|| csr_rec.source_id,6);
2691: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := l_dummy;
2692: g_sal_data_rec_upd(g_count_sal_update).assignment_id := csr_rec.assignment_id;
2693: g_sal_data_rec_upd(g_count_sal_update).source_id := csr_rec.source_id;

Line 2690: pay_in_utils.set_location(g_debug,'csr_rec.source_id'|| csr_rec.source_id,6);

2686:
2687: IF (l_dummy IS NOT NULL) THEN
2688: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',6);
2689: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,6);
2690: pay_in_utils.set_location(g_debug,'csr_rec.source_id'|| csr_rec.source_id,6);
2691: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := l_dummy;
2692: g_sal_data_rec_upd(g_count_sal_update).assignment_id := csr_rec.assignment_id;
2693: g_sal_data_rec_upd(g_count_sal_update).source_id := csr_rec.source_id;
2694: g_sal_data_rec_upd(g_count_sal_update).salary_mode := 'U';

Line 2697: pay_in_utils.set_location(g_debug,'Stored data as 24Q Correction Data',6);

2693: g_sal_data_rec_upd(g_count_sal_update).source_id := csr_rec.source_id;
2694: g_sal_data_rec_upd(g_count_sal_update).salary_mode := 'U';
2695: g_count_sal_update := g_count_sal_update + 1;
2696:
2697: pay_in_utils.set_location(g_debug,'Stored data as 24Q Correction Data',6);
2698: END IF;
2699: END IF;
2700: END LOOP;
2701:

Line 2703: pay_in_utils.set_location(g_debug,'Additional Checking on updated assignment actions ', 7);

2699: END IF;
2700: END LOOP;
2701:
2702:
2703: pay_in_utils.set_location(g_debug,'Additional Checking on updated assignment actions ', 7);
2704: --Similarly need to repeat the above structure for the case when data after submission to authorities
2705: --was updated, form 24qc generated again updated to original form and 24qc again generated
2706: --The following code checks U for Data under Form 24Q Correction.
2707:

Line 2709: pay_in_utils.set_location(g_debug,'Now checking those assignment actions that have same data in live and 24QC ', 7);

2705: --was updated, form 24qc generated again updated to original form and 24qc again generated
2706: --The following code checks U for Data under Form 24Q Correction.
2707:
2708: -- This cursor finds all those Form 24Q Corrections that are locking Form 24Q
2709: pay_in_utils.set_location(g_debug,'Now checking those assignment actions that have same data in live and 24QC ', 7);
2710: FOR c_rec IN c_form_24qc_locking_id('A',1)
2711: LOOP
2712:
2713: l_flag := TRUE;

Line 2716: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',7);

2712:
2713: l_flag := TRUE;
2714: l_dummy := NULL;
2715:
2716: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',7);
2717: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,7);
2718: pay_in_utils.set_location(g_debug,'c_rec.source_id' || c_rec.source_id,7);
2719:
2720: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);

Line 2717: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,7);

2713: l_flag := TRUE;
2714: l_dummy := NULL;
2715:
2716: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',7);
2717: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,7);
2718: pay_in_utils.set_location(g_debug,'c_rec.source_id' || c_rec.source_id,7);
2719:
2720: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2721: FETCH c_24qc_upd_mode_entries INTO l_dummy;

Line 2718: pay_in_utils.set_location(g_debug,'c_rec.source_id' || c_rec.source_id,7);

2714: l_dummy := NULL;
2715:
2716: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',7);
2717: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,7);
2718: pay_in_utils.set_location(g_debug,'c_rec.source_id' || c_rec.source_id,7);
2719:
2720: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2721: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2722: CLOSE c_24qc_upd_mode_entries;

Line 2724: pay_in_utils.trace('l_dummy in c_form_24qc_locking_id 1',l_dummy);

2720: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2721: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2722: CLOSE c_24qc_upd_mode_entries;
2723:
2724: pay_in_utils.trace('l_dummy in c_form_24qc_locking_id 1',l_dummy);
2725:
2726: IF (l_dummy IS NOT NULL)
2727: THEN
2728: pay_in_utils.set_location(g_debug,'Diff found with the Live Data',7);

Line 2728: pay_in_utils.set_location(g_debug,'Diff found with the Live Data',7);

2724: pay_in_utils.trace('l_dummy in c_form_24qc_locking_id 1',l_dummy);
2725:
2726: IF (l_dummy IS NOT NULL)
2727: THEN
2728: pay_in_utils.set_location(g_debug,'Diff found with the Live Data',7);
2729: FOR i IN 1.. g_count_sal_update - 1
2730: LOOP
2731: IF (
2732: (g_sal_data_rec_upd(i).last_action_context_id = c_rec.last_action_context_id)

Line 2745: pay_in_utils.set_location(g_debug,'No Diff found with the Live Data',7);

2741: l_flag := FALSE;
2742: END IF;
2743: END LOOP;
2744: ELSE
2745: pay_in_utils.set_location(g_debug,'No Diff found with the Live Data',7);
2746: l_flag := FALSE;
2747: END IF;
2748:
2749: IF (l_flag)

Line 2762: pay_in_utils.set_location(g_debug,'Now Searching for those updated assignment actions that were 24QC+',8);

2758:
2759: END LOOP;
2760: --Now Searching for those updated assignment actions that were created after
2761: --form 24Q Correction generation
2762: pay_in_utils.set_location(g_debug,'Now Searching for those updated assignment actions that were 24QC+',8);
2763: FOR c_rec IN c_form_24qc_locking_id('A',2)
2764: LOOP
2765: l_dummy := NULL;
2766: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,8);

Line 2766: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,8);

2762: pay_in_utils.set_location(g_debug,'Now Searching for those updated assignment actions that were 24QC+',8);
2763: FOR c_rec IN c_form_24qc_locking_id('A',2)
2764: LOOP
2765: l_dummy := NULL;
2766: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,8);
2767: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,8);
2768: pay_in_utils.set_location(g_debug,'c_rec.source_id '|| c_rec.source_id ,8);
2769:
2770: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);

Line 2767: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,8);

2763: FOR c_rec IN c_form_24qc_locking_id('A',2)
2764: LOOP
2765: l_dummy := NULL;
2766: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,8);
2767: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,8);
2768: pay_in_utils.set_location(g_debug,'c_rec.source_id '|| c_rec.source_id ,8);
2769:
2770: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2771: FETCH c_24qc_upd_mode_entries INTO l_dummy;

Line 2768: pay_in_utils.set_location(g_debug,'c_rec.source_id '|| c_rec.source_id ,8);

2764: LOOP
2765: l_dummy := NULL;
2766: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,8);
2767: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,8);
2768: pay_in_utils.set_location(g_debug,'c_rec.source_id '|| c_rec.source_id ,8);
2769:
2770: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2771: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2772: CLOSE c_24qc_upd_mode_entries;

Line 2773: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,8);

2769:
2770: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2771: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2772: CLOSE c_24qc_upd_mode_entries;
2773: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,8);
2774: IF (l_dummy IS NOT NULL)
2775: THEN
2776: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := c_rec.last_action_context_id;
2777: g_sal_data_rec_upd(g_count_sal_update).assignment_id := c_rec.assignment_id;

Line 2785: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,120);

2781:
2782: END IF;
2783: END LOOP;
2784:
2785: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,120);
2786: --
2787:
2788: EXCEPTION
2789: WHEN OTHERS THEN

Line 2790: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

2786: --
2787:
2788: EXCEPTION
2789: WHEN OTHERS THEN
2790: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
2791: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
2792: END generate_salary_data;
2793:
2794:

Line 2791: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

2787:
2788: EXCEPTION
2789: WHEN OTHERS THEN
2790: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
2791: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
2792: END generate_salary_data;
2793:
2794:
2795: --------------------------------------------------------------------------

Line 2939: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

2935: l_message VARCHAR2(250);
2936: BEGIN
2937: g_debug := hr_utility.debug_enabled;
2938: l_procedure := g_package ||'.get_org_details';
2939: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
2940: pay_in_utils.set_location(g_debug,'Fetching Live Details ',2);
2941: OPEN c_org_inc_tax_df_details;
2942: FETCH c_org_inc_tax_df_details INTO p_tan_number,l_emplr_type,l_emplr_type_24Q,l_reg_org_id,p_branch_or_division,p_org_location
2943: ,p_state,p_pao_code,p_ddo_code,p_ministry_name,p_other_ministry_name,p_pao_reg_code,p_ddo_reg_code;

Line 2940: pay_in_utils.set_location(g_debug,'Fetching Live Details ',2);

2936: BEGIN
2937: g_debug := hr_utility.debug_enabled;
2938: l_procedure := g_package ||'.get_org_details';
2939: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
2940: pay_in_utils.set_location(g_debug,'Fetching Live Details ',2);
2941: OPEN c_org_inc_tax_df_details;
2942: FETCH c_org_inc_tax_df_details INTO p_tan_number,l_emplr_type,l_emplr_type_24Q,l_reg_org_id,p_branch_or_division,p_org_location
2943: ,p_state,p_pao_code,p_ddo_code,p_ministry_name,p_other_ministry_name,p_pao_reg_code,p_ddo_reg_code;
2944: CLOSE c_org_inc_tax_df_details;

Line 2952: pay_in_utils.set_location(g_debug,'p_tan_number : '|| p_tan_number ,1);

2948: ELSE
2949: p_deductor_type := l_emplr_type_24Q;
2950: END IF;
2951:
2952: pay_in_utils.set_location(g_debug,'p_tan_number : '|| p_tan_number ,1);
2953: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);
2954: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2955: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2956: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);

Line 2953: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);

2949: p_deductor_type := l_emplr_type_24Q;
2950: END IF;
2951:
2952: pay_in_utils.set_location(g_debug,'p_tan_number : '|| p_tan_number ,1);
2953: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);
2954: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2955: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2956: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2957: pay_in_utils.set_location(g_debug,'p_state : '|| p_state ,1);

Line 2954: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);

2950: END IF;
2951:
2952: pay_in_utils.set_location(g_debug,'p_tan_number : '|| p_tan_number ,1);
2953: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);
2954: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2955: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2956: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2957: pay_in_utils.set_location(g_debug,'p_state : '|| p_state ,1);
2958: pay_in_utils.set_location(g_debug,'p_pao_code : '|| p_pao_code ,1);

Line 2955: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);

2951:
2952: pay_in_utils.set_location(g_debug,'p_tan_number : '|| p_tan_number ,1);
2953: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);
2954: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2955: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2956: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2957: pay_in_utils.set_location(g_debug,'p_state : '|| p_state ,1);
2958: pay_in_utils.set_location(g_debug,'p_pao_code : '|| p_pao_code ,1);
2959: pay_in_utils.set_location(g_debug,'p_ddo_code : '|| p_ddo_code ,1);

Line 2956: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);

2952: pay_in_utils.set_location(g_debug,'p_tan_number : '|| p_tan_number ,1);
2953: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);
2954: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2955: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2956: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2957: pay_in_utils.set_location(g_debug,'p_state : '|| p_state ,1);
2958: pay_in_utils.set_location(g_debug,'p_pao_code : '|| p_pao_code ,1);
2959: pay_in_utils.set_location(g_debug,'p_ddo_code : '|| p_ddo_code ,1);
2960: pay_in_utils.set_location(g_debug,'p_ministry_name : '|| p_ministry_name ,1);

Line 2957: pay_in_utils.set_location(g_debug,'p_state : '|| p_state ,1);

2953: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);
2954: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2955: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2956: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2957: pay_in_utils.set_location(g_debug,'p_state : '|| p_state ,1);
2958: pay_in_utils.set_location(g_debug,'p_pao_code : '|| p_pao_code ,1);
2959: pay_in_utils.set_location(g_debug,'p_ddo_code : '|| p_ddo_code ,1);
2960: pay_in_utils.set_location(g_debug,'p_ministry_name : '|| p_ministry_name ,1);
2961: pay_in_utils.set_location(g_debug,'p_other_ministry_name : '|| p_other_ministry_name ,1);

Line 2958: pay_in_utils.set_location(g_debug,'p_pao_code : '|| p_pao_code ,1);

2954: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2955: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2956: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2957: pay_in_utils.set_location(g_debug,'p_state : '|| p_state ,1);
2958: pay_in_utils.set_location(g_debug,'p_pao_code : '|| p_pao_code ,1);
2959: pay_in_utils.set_location(g_debug,'p_ddo_code : '|| p_ddo_code ,1);
2960: pay_in_utils.set_location(g_debug,'p_ministry_name : '|| p_ministry_name ,1);
2961: pay_in_utils.set_location(g_debug,'p_other_ministry_name : '|| p_other_ministry_name ,1);
2962: pay_in_utils.set_location(g_debug,'p_pao_reg_code : '|| p_pao_reg_code ,1);

Line 2959: pay_in_utils.set_location(g_debug,'p_ddo_code : '|| p_ddo_code ,1);

2955: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2956: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2957: pay_in_utils.set_location(g_debug,'p_state : '|| p_state ,1);
2958: pay_in_utils.set_location(g_debug,'p_pao_code : '|| p_pao_code ,1);
2959: pay_in_utils.set_location(g_debug,'p_ddo_code : '|| p_ddo_code ,1);
2960: pay_in_utils.set_location(g_debug,'p_ministry_name : '|| p_ministry_name ,1);
2961: pay_in_utils.set_location(g_debug,'p_other_ministry_name : '|| p_other_ministry_name ,1);
2962: pay_in_utils.set_location(g_debug,'p_pao_reg_code : '|| p_pao_reg_code ,1);
2963: pay_in_utils.set_location(g_debug,'p_ddo_reg_code : '|| p_ddo_reg_code ,1);

Line 2960: pay_in_utils.set_location(g_debug,'p_ministry_name : '|| p_ministry_name ,1);

2956: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2957: pay_in_utils.set_location(g_debug,'p_state : '|| p_state ,1);
2958: pay_in_utils.set_location(g_debug,'p_pao_code : '|| p_pao_code ,1);
2959: pay_in_utils.set_location(g_debug,'p_ddo_code : '|| p_ddo_code ,1);
2960: pay_in_utils.set_location(g_debug,'p_ministry_name : '|| p_ministry_name ,1);
2961: pay_in_utils.set_location(g_debug,'p_other_ministry_name : '|| p_other_ministry_name ,1);
2962: pay_in_utils.set_location(g_debug,'p_pao_reg_code : '|| p_pao_reg_code ,1);
2963: pay_in_utils.set_location(g_debug,'p_ddo_reg_code : '|| p_ddo_reg_code ,1);
2964:

Line 2961: pay_in_utils.set_location(g_debug,'p_other_ministry_name : '|| p_other_ministry_name ,1);

2957: pay_in_utils.set_location(g_debug,'p_state : '|| p_state ,1);
2958: pay_in_utils.set_location(g_debug,'p_pao_code : '|| p_pao_code ,1);
2959: pay_in_utils.set_location(g_debug,'p_ddo_code : '|| p_ddo_code ,1);
2960: pay_in_utils.set_location(g_debug,'p_ministry_name : '|| p_ministry_name ,1);
2961: pay_in_utils.set_location(g_debug,'p_other_ministry_name : '|| p_other_ministry_name ,1);
2962: pay_in_utils.set_location(g_debug,'p_pao_reg_code : '|| p_pao_reg_code ,1);
2963: pay_in_utils.set_location(g_debug,'p_ddo_reg_code : '|| p_ddo_reg_code ,1);
2964:
2965: OPEN c_reg_org_details(l_reg_org_id);

Line 2962: pay_in_utils.set_location(g_debug,'p_pao_reg_code : '|| p_pao_reg_code ,1);

2958: pay_in_utils.set_location(g_debug,'p_pao_code : '|| p_pao_code ,1);
2959: pay_in_utils.set_location(g_debug,'p_ddo_code : '|| p_ddo_code ,1);
2960: pay_in_utils.set_location(g_debug,'p_ministry_name : '|| p_ministry_name ,1);
2961: pay_in_utils.set_location(g_debug,'p_other_ministry_name : '|| p_other_ministry_name ,1);
2962: pay_in_utils.set_location(g_debug,'p_pao_reg_code : '|| p_pao_reg_code ,1);
2963: pay_in_utils.set_location(g_debug,'p_ddo_reg_code : '|| p_ddo_reg_code ,1);
2964:
2965: OPEN c_reg_org_details(l_reg_org_id);
2966: FETCH c_reg_org_details INTO p_pan_number,p_legal_name;

Line 2963: pay_in_utils.set_location(g_debug,'p_ddo_reg_code : '|| p_ddo_reg_code ,1);

2959: pay_in_utils.set_location(g_debug,'p_ddo_code : '|| p_ddo_code ,1);
2960: pay_in_utils.set_location(g_debug,'p_ministry_name : '|| p_ministry_name ,1);
2961: pay_in_utils.set_location(g_debug,'p_other_ministry_name : '|| p_other_ministry_name ,1);
2962: pay_in_utils.set_location(g_debug,'p_pao_reg_code : '|| p_pao_reg_code ,1);
2963: pay_in_utils.set_location(g_debug,'p_ddo_reg_code : '|| p_ddo_reg_code ,1);
2964:
2965: OPEN c_reg_org_details(l_reg_org_id);
2966: FETCH c_reg_org_details INTO p_pan_number,p_legal_name;
2967: CLOSE c_reg_org_details;

Line 2969: pay_in_utils.set_location(g_debug,'p_pan_number : '|| p_pan_number ,2);

2965: OPEN c_reg_org_details(l_reg_org_id);
2966: FETCH c_reg_org_details INTO p_pan_number,p_legal_name;
2967: CLOSE c_reg_org_details;
2968:
2969: pay_in_utils.set_location(g_debug,'p_pan_number : '|| p_pan_number ,2);
2970: pay_in_utils.set_location(g_debug,'p_legal_name : '|| p_legal_name ,2);
2971:
2972: OPEN c_representative_id;
2973: FETCH c_representative_id INTO l_rep_person_id,p_rep_name,p_rep_email_id;

Line 2970: pay_in_utils.set_location(g_debug,'p_legal_name : '|| p_legal_name ,2);

2966: FETCH c_reg_org_details INTO p_pan_number,p_legal_name;
2967: CLOSE c_reg_org_details;
2968:
2969: pay_in_utils.set_location(g_debug,'p_pan_number : '|| p_pan_number ,2);
2970: pay_in_utils.set_location(g_debug,'p_legal_name : '|| p_legal_name ,2);
2971:
2972: OPEN c_representative_id;
2973: FETCH c_representative_id INTO l_rep_person_id,p_rep_name,p_rep_email_id;
2974: CLOSE c_representative_id;

Line 2976: pay_in_utils.set_location(g_debug,'l_rep_person_id : '|| l_rep_person_id ,2);

2972: OPEN c_representative_id;
2973: FETCH c_representative_id INTO l_rep_person_id,p_rep_name,p_rep_email_id;
2974: CLOSE c_representative_id;
2975:
2976: pay_in_utils.set_location(g_debug,'l_rep_person_id : '|| l_rep_person_id ,2);
2977: pay_in_utils.set_location(g_debug,'p_rep_name : '|| p_rep_name ,2);
2978: pay_in_utils.set_location(g_debug,'p_rep_email_id : '|| p_rep_email_id ,2);
2979:
2980: OPEN c_pos(l_rep_person_id);

Line 2977: pay_in_utils.set_location(g_debug,'p_rep_name : '|| p_rep_name ,2);

2973: FETCH c_representative_id INTO l_rep_person_id,p_rep_name,p_rep_email_id;
2974: CLOSE c_representative_id;
2975:
2976: pay_in_utils.set_location(g_debug,'l_rep_person_id : '|| l_rep_person_id ,2);
2977: pay_in_utils.set_location(g_debug,'p_rep_name : '|| p_rep_name ,2);
2978: pay_in_utils.set_location(g_debug,'p_rep_email_id : '|| p_rep_email_id ,2);
2979:
2980: OPEN c_pos(l_rep_person_id);
2981: FETCH c_pos INTO p_rep_position;

Line 2978: pay_in_utils.set_location(g_debug,'p_rep_email_id : '|| p_rep_email_id ,2);

2974: CLOSE c_representative_id;
2975:
2976: pay_in_utils.set_location(g_debug,'l_rep_person_id : '|| l_rep_person_id ,2);
2977: pay_in_utils.set_location(g_debug,'p_rep_name : '|| p_rep_name ,2);
2978: pay_in_utils.set_location(g_debug,'p_rep_email_id : '|| p_rep_email_id ,2);
2979:
2980: OPEN c_pos(l_rep_person_id);
2981: FETCH c_pos INTO p_rep_position;
2982: CLOSE c_pos;

Line 2984: pay_in_utils.set_location(g_debug,'p_rep_position : '|| p_rep_position ,2);

2980: OPEN c_pos(l_rep_person_id);
2981: FETCH c_pos INTO p_rep_position;
2982: CLOSE c_pos;
2983:
2984: pay_in_utils.set_location(g_debug,'p_rep_position : '|| p_rep_position ,2);
2985:
2986: OPEN c_rep_address(l_rep_person_id);
2987: FETCH c_rep_address INTO p_rep_location;
2988: CLOSE c_rep_address;

Line 2990: pay_in_utils.set_location(g_debug,'p_rep_location : '|| p_rep_location ,2);

2986: OPEN c_rep_address(l_rep_person_id);
2987: FETCH c_rep_address INTO p_rep_location;
2988: CLOSE c_rep_address;
2989:
2990: pay_in_utils.set_location(g_debug,'p_rep_location : '|| p_rep_location ,2);
2991:
2992: OPEN c_rep_phone(l_rep_person_id);
2993: FETCH c_rep_phone INTO p_rep_work_phone,p_rep_std_code;
2994: CLOSE c_rep_phone;

Line 2996: pay_in_utils.set_location(g_debug,'p_rep_work_phone : '|| p_rep_work_phone ,2);

2992: OPEN c_rep_phone(l_rep_person_id);
2993: FETCH c_rep_phone INTO p_rep_work_phone,p_rep_std_code;
2994: CLOSE c_rep_phone;
2995:
2996: pay_in_utils.set_location(g_debug,'p_rep_work_phone : '|| p_rep_work_phone ,2);
2997: pay_in_utils.set_location(g_debug,'p_rep_std_code : '|| p_rep_std_code ,2);
2998:
2999: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.get_org_details ',1);
3000: EXCEPTION

Line 2997: pay_in_utils.set_location(g_debug,'p_rep_std_code : '|| p_rep_std_code ,2);

2993: FETCH c_rep_phone INTO p_rep_work_phone,p_rep_std_code;
2994: CLOSE c_rep_phone;
2995:
2996: pay_in_utils.set_location(g_debug,'p_rep_work_phone : '|| p_rep_work_phone ,2);
2997: pay_in_utils.set_location(g_debug,'p_rep_std_code : '|| p_rep_std_code ,2);
2998:
2999: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.get_org_details ',1);
3000: EXCEPTION
3001: WHEN OTHERS THEN

Line 2999: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.get_org_details ',1);

2995:
2996: pay_in_utils.set_location(g_debug,'p_rep_work_phone : '|| p_rep_work_phone ,2);
2997: pay_in_utils.set_location(g_debug,'p_rep_std_code : '|| p_rep_std_code ,2);
2998:
2999: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.get_org_details ',1);
3000: EXCEPTION
3001: WHEN OTHERS THEN
3002: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3003: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 3002: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

2998:
2999: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.get_org_details ',1);
3000: EXCEPTION
3001: WHEN OTHERS THEN
3002: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3003: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
3004: END get_org_details;
3005: --------------------------------------------------------------------------
3006: -- --

Line 3003: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

2999: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.get_org_details ',1);
3000: EXCEPTION
3001: WHEN OTHERS THEN
3002: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3003: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
3004: END get_org_details;
3005: --------------------------------------------------------------------------
3006: -- --
3007: -- Name : GENERATE_ORGANIZATION_DATA --

Line 3225: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

3221: l_message VARCHAR2(250);
3222: BEGIN
3223: g_debug := hr_utility.debug_enabled;
3224: l_procedure := g_package ||'.generate_organization_data';
3225: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
3226:
3227: FOR c_rec IN c_chk_organization
3228: LOOP
3229: pay_in_utils.set_location(g_debug,'Organization ID in Form 24Q Archival is '||c_rec.gre_id,2);

Line 3229: pay_in_utils.set_location(g_debug,'Organization ID in Form 24Q Archival is '||c_rec.gre_id,2);

3225: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
3226:
3227: FOR c_rec IN c_chk_organization
3228: LOOP
3229: pay_in_utils.set_location(g_debug,'Organization ID in Form 24Q Archival is '||c_rec.gre_id,2);
3230: pay_in_utils.set_location(g_debug,'Fetching Live GRE Details',2);
3231: get_org_details(c_rec.gre_id,
3232: l_tan_number,
3233: l_deductor_type,

Line 3230: pay_in_utils.set_location(g_debug,'Fetching Live GRE Details',2);

3226:
3227: FOR c_rec IN c_chk_organization
3228: LOOP
3229: pay_in_utils.set_location(g_debug,'Organization ID in Form 24Q Archival is '||c_rec.gre_id,2);
3230: pay_in_utils.set_location(g_debug,'Fetching Live GRE Details',2);
3231: get_org_details(c_rec.gre_id,
3232: l_tan_number,
3233: l_deductor_type,
3234: l_branch_or_division,

Line 3253: pay_in_utils.set_location(g_debug,'Fetched Live GRE Details ',3);

3249: l_pao_reg_code,
3250: l_ddo_reg_code
3251: );
3252:
3253: pay_in_utils.set_location(g_debug,'Fetched Live GRE Details ',3);
3254: pay_in_utils.set_location(g_debug,'Checking Diff with 24Q Archived Data',4);
3255:
3256: IF g_old_format = 'Y' THEN
3257: OPEN c_diff_with_24q_data(c_rec.gre_id,

Line 3254: pay_in_utils.set_location(g_debug,'Checking Diff with 24Q Archived Data',4);

3250: l_ddo_reg_code
3251: );
3252:
3253: pay_in_utils.set_location(g_debug,'Fetched Live GRE Details ',3);
3254: pay_in_utils.set_location(g_debug,'Checking Diff with 24Q Archived Data',4);
3255:
3256: IF g_old_format = 'Y' THEN
3257: OPEN c_diff_with_24q_data(c_rec.gre_id,
3258: l_tan_number,

Line 3303: pay_in_utils.set_location(g_debug,'Last Action Context ID in 24Q is :'|| l_last_action_context_id,5);

3299: FETCH c_diff_with_24q_data_new INTO l_last_action_context_id;
3300: CLOSE c_diff_with_24q_data_new;
3301: END IF;
3302:
3303: pay_in_utils.set_location(g_debug,'Last Action Context ID in 24Q is :'|| l_last_action_context_id,5);
3304: IF (l_last_action_context_id IS NOT NULL)
3305: THEN
3306: -- This means that there is a diff from archived and present data.
3307: -- So need to check whether this diff was reported in any of the

Line 3312: pay_in_utils.set_location(g_debug,'Diff with live and and 24Q Data found..',2);

3308: -- Form 24Q Corrections or not. For this find the Form 24Q Corrections
3309: -- on top of Form 24Q Archival and check if any of them has data as per
3310: -- present live data. If they too dont have any record, then need to
3311: -- insert this org data in a PL/SQL table.
3312: pay_in_utils.set_location(g_debug,'Diff with live and and 24Q Data found..',2);
3313: l_flag := TRUE;
3314:
3315: FOR csr_rec IN c_locking_24qc_pa_data
3316: LOOP

Line 3317: pay_in_utils.set_location(g_debug,'Checking Diff in 24Q Correction Data',6);

3313: l_flag := TRUE;
3314:
3315: FOR csr_rec IN c_locking_24qc_pa_data
3316: LOOP
3317: pay_in_utils.set_location(g_debug,'Checking Diff in 24Q Correction Data',6);
3318:
3319: IF g_old_format = 'Y' THEN
3320: OPEN c_diff_with_24q_data(c_rec.gre_id,
3321: l_tan_number,

Line 3367: pay_in_utils.set_location(g_debug,'Diff in 24Q Correction Data Found',6);

3363: CLOSE c_diff_with_24q_data_new;
3364: END IF;
3365: IF ((l_dummy IS NULL)AND (l_flag))
3366: THEN
3367: pay_in_utils.set_location(g_debug,'Diff in 24Q Correction Data Found',6);
3368: l_flag := FALSE;
3369: END IF;
3370: END LOOP;
3371:

Line 3480: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_organization_data ',5);

3476: g_count_org := g_count_org + 1;
3477: END IF;
3478: END IF;
3479: END LOOP;
3480: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_organization_data ',5);
3481: EXCEPTION
3482: WHEN OTHERS THEN
3483: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3484: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 3483: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

3479: END LOOP;
3480: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_organization_data ',5);
3481: EXCEPTION
3482: WHEN OTHERS THEN
3483: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3484: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
3485: END generate_organization_data;
3486:
3487: --------------------------------------------------------------------------

Line 3484: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

3480: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_organization_data ',5);
3481: EXCEPTION
3482: WHEN OTHERS THEN
3483: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3484: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
3485: END generate_organization_data;
3486:
3487: --------------------------------------------------------------------------
3488: -- --

Line 3714: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

3710: l_message VARCHAR2(250);
3711: BEGIN
3712: g_debug := hr_utility.debug_enabled;
3713: l_procedure := g_package ||'.generate_challan_data';
3714: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
3715: -- First Search for those challans that have been added since Form 24Q
3716: -- Last generation but were not reported in Form 24Q Correction.
3717: -- For this check existence of Live Challan Number in 24Q Archival.
3718: -- If its not there, then check its existence in Form 24Q Corrections

Line 3724: pay_in_utils.set_location(g_debug,'Fetching Live Data ', 2);

3720: -- challans.
3721:
3722: FOR c_rec IN c_challan_live_data_master(g_tax_year,'%',NULL)
3723: LOOP
3724: pay_in_utils.set_location(g_debug,'Fetching Live Data ', 2);
3725: -- For the fetched live data checking its presence in 24Q Archived Data
3726: l_dummy_boolean := TRUE;
3727: l_dummy := NULL;
3728:

Line 3735: pay_in_utils.set_location(g_debug,'Checking 24Q Archived Data',3);

3731: LOOP
3732:
3733: IF (l_dummy_boolean)
3734: THEN
3735: pay_in_utils.set_location(g_debug,'Checking 24Q Archived Data',3);
3736: l_dummy := csr_record.transfer_voucher_number;
3737: l_dummy_boolean := FALSE;
3738: END IF;
3739: END LOOP;

Line 3748: pay_in_utils.set_location(g_debug,'Again opened',1);

3744: -- This means that the present challan data was not reported in
3745: -- Form 24Q Archival. However this challan number might have been updated
3746: -- to a different challan number. So check in Form 24Q Archived Data for the
3747: -- presence of this record's org_information_id
3748: pay_in_utils.set_location(g_debug,'Again opened',1);
3749: l_dummy_boolean := TRUE;
3750: FOR csr_record IN c_challan_24q_data('IN_24Q_CHALLAN',NULL,c_rec.org_information_id)
3751: LOOP
3752: IF (l_dummy_boolean)

Line 3757: pay_in_utils.set_location(g_debug,'Again opened',2);

3753: THEN
3754: l_dummy := csr_record.transfer_voucher_number;
3755: l_dummy_boolean := FALSE;
3756: END IF;
3757: pay_in_utils.set_location(g_debug,'Again opened',2);
3758: END LOOP;
3759:
3760: IF (l_dummy IS NULL)
3761: THEN

Line 3765: pay_in_utils.set_location(g_debug,'Again opened',3);

3761: THEN
3762: -- This means that in 24Q Archival this record was never present. So,
3763: -- need to check in Form 24Q Correction, firstly on the basis of
3764: -- Challan Number and then on basis of org_information_id
3765: pay_in_utils.set_location(g_debug,'Again opened',3);
3766: l_dummy_boolean := TRUE;
3767: FOR csr_record IN c_challan_24q_data('IN_24QC_CHALLAN',NVL(c_rec.bank_branch_code,'BOOK')||' - '||c_rec.challan_number||' - '||to_char(fnd_date.canonical_to_date(c_rec.transfer_voucher_date),'DD-Mon-RRRR') ,NULL)
3768: LOOP
3769: IF (l_dummy_boolean)

Line 3772: pay_in_utils.set_location(g_debug,'Again opened',4);

3768: LOOP
3769: IF (l_dummy_boolean)
3770: THEN
3771: l_dummy := csr_record.transfer_voucher_number;
3772: pay_in_utils.set_location(g_debug,'Again opened',4);
3773: l_dummy_boolean := FALSE;
3774: END IF;
3775: END LOOP;
3776:

Line 3777: pay_in_utils.set_location(g_debug,'Again opened',5);

3773: l_dummy_boolean := FALSE;
3774: END IF;
3775: END LOOP;
3776:
3777: pay_in_utils.set_location(g_debug,'Again opened',5);
3778: IF (l_dummy IS NULL)
3779: THEN
3780: -- This means that in Form 24QC no record with c_rec.challan_number
3781: -- was reported. However this may happen that challan number was

Line 3784: pay_in_utils.set_location(g_debug,'Again opened',6);

3780: -- This means that in Form 24QC no record with c_rec.challan_number
3781: -- was reported. However this may happen that challan number was
3782: -- updated and hence got reported in Form 24Q Correction. So,
3783: -- checking in correction data again using org_information_id.
3784: pay_in_utils.set_location(g_debug,'Again opened',6);
3785: l_dummy_boolean := TRUE;
3786: FOR csr_record IN c_challan_24q_data('IN_24QC_CHALLAN',NULL,c_rec.org_information_id)
3787: LOOP
3788: IF (l_dummy_boolean)

Line 3791: pay_in_utils.set_location(g_debug,'Again opened',7);

3787: LOOP
3788: IF (l_dummy_boolean)
3789: THEN
3790: l_dummy := csr_record.transfer_voucher_number;
3791: pay_in_utils.set_location(g_debug,'Again opened',7);
3792: l_dummy_boolean := FALSE;
3793: END IF;
3794: END LOOP;
3795:

Line 3796: pay_in_utils.set_location(g_debug,'Again opened',8);

3792: l_dummy_boolean := FALSE;
3793: END IF;
3794: END LOOP;
3795:
3796: pay_in_utils.set_location(g_debug,'Again opened',8);
3797: IF (l_dummy IS NULL)
3798: THEN
3799: --This means that in Form 24Q Correction, this record was never
3800: -- present. So need to insert this record data in PL/SQL table.

Line 3813: pay_in_utils.set_location(g_debug,'Again opened',9);

3809: g_challan_data_add(g_count_challan_add).cheque_dd_num := c_rec.cheque_dd_num;
3810: g_challan_data_add(g_count_challan_add).org_information_id := c_rec.org_information_id;
3811: g_challan_data_add(g_count_challan_add).modes := 'A';
3812: g_count_challan_add := g_count_challan_add + 1;
3813: pay_in_utils.set_location(g_debug,'Again opened',9);
3814: END IF;
3815: END IF;
3816: END IF;
3817: END IF;

Line 3820: pay_in_utils.set_location(g_debug,'Starting Search for Updated Challans',1);

3816: END IF;
3817: END IF;
3818: END LOOP;
3819:
3820: pay_in_utils.set_location(g_debug,'Starting Search for Updated Challans',1);
3821: -- Lastly search for those challans that have been updated since Form 24Q
3822: -- last generation but were not reported in Form 24Q Correction.
3823: FOR c_rec IN c_challan_24q_data_master('IN_24Q_CHALLAN','%',NULL)
3824: LOOP

Line 3825: pay_in_utils.set_location(g_debug,'Fetching 24Q Data ' ,1);

3821: -- Lastly search for those challans that have been updated since Form 24Q
3822: -- last generation but were not reported in Form 24Q Correction.
3823: FOR c_rec IN c_challan_24q_data_master('IN_24Q_CHALLAN','%',NULL)
3824: LOOP
3825: pay_in_utils.set_location(g_debug,'Fetching 24Q Data ' ,1);
3826: -- Now, on the basis of org_information_id check if there is any change
3827: -- in challan details in the live data.
3828:
3829: OPEN c_challan_live_data(g_tax_year,NULL,c_rec.org_information_id);

Line 3841: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);

3837: l_bank_branch_code,
3838: l_cheque_dd_num,
3839: l_org_information_id;
3840: CLOSE c_challan_live_data;
3841: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);
3842:
3843:
3844: IF (--24Q Archival Data Here Live Data Here
3845: (c_rec.transfer_voucher_number <> NVL(l_bank_branch_code,'BOOK')||' - '||l_transfer_voucher_number||' - '||to_char(fnd_date.canonical_to_date(l_transfer_voucher_date),'DD-Mon-RRRR') ) OR

Line 3860: pay_in_utils.set_location(g_debug,'Inside Check 1' ,1);

3856: -- This means that there are certain records that have same org_information_id
3857: -- as in Live Data and in Form 24Q but have undergone a change in their data
3858: -- Now, need to check whether these changes were reported in Form 24Q Correction
3859: -- or not.
3860: pay_in_utils.set_location(g_debug,'Inside Check 1' ,1);
3861: l_action_information_id := NULL;
3862: OPEN c_challan_24q_data('IN_24QC_CHALLAN',NULL,c_rec.org_information_id);
3863: FETCH c_challan_24q_data INTO l_action_information_id,
3864: l_transfer_voucher_number_1,

Line 3895: pay_in_utils.set_location(g_debug,'Inside Check 2' ,2);

3891: (l_cheque_dd_num <> l_cheque_dd_num_1) OR
3892: (l_org_information_id <> l_org_information_id_1)
3893: )
3894: THEN
3895: pay_in_utils.set_location(g_debug,'Inside Check 2' ,2);
3896: --This means that in Form 24Q Correction, this record was present and now it has
3897: -- been further modified. So need to insert this record data in PL/SQL table.
3898: g_challan_data_upd(g_count_challan_upd).transfer_voucher_number := l_transfer_voucher_number_1;
3899: g_challan_data_upd(g_count_challan_upd).transfer_voucher_date := l_transfer_voucher_date_1;

Line 3912: pay_in_utils.set_location(g_debug,'Inside Check 3' ,3);

3908: g_challan_data_upd(g_count_challan_upd).modes := 'U';
3909: g_count_challan_upd := g_count_challan_upd + 1;
3910: END IF;
3911: ELSE
3912: pay_in_utils.set_location(g_debug,'Inside Check 3' ,3);
3913: --This means that in Form 24Q Correction, this record was never present.
3914: --So need to insert this record data in PL/SQL table on basis of form 24q archival
3915: g_challan_data_upd(g_count_challan_upd).transfer_voucher_number := c_rec.transfer_voucher_number;
3916: g_challan_data_upd(g_count_challan_upd).transfer_voucher_date := c_rec.transfer_voucher_date;

Line 3929: pay_in_utils.set_location(g_debug,'Inside Check 4' ,4);

3925: g_challan_data_upd(g_count_challan_upd).modes := 'U';
3926: g_count_challan_upd := g_count_challan_upd + 1;
3927: END IF;
3928: ELSE
3929: pay_in_utils.set_location(g_debug,'Inside Check 4' ,4);
3930: -- This means that the archived data and Live Data is identical. But there is a possibility that
3931: -- data was updated and reported in Form 24Q Correction and later again restored back to the data
3932: -- as in Form 24Q Archival. So need to check whether for c_rec.org_information_id any record is
3933: -- present in Form 24Q Correction or not. If its present, then check its status with Live Data.

Line 3970: pay_in_utils.set_location(g_debug,'Inside Check 5' ,5);

3966: (l_cheque_dd_num <> l_cheque_dd_num_1) OR
3967: (l_org_information_id <> l_org_information_id_1)
3968: )
3969: THEN
3970: pay_in_utils.set_location(g_debug,'Inside Check 5' ,5);
3971: --This means that in Form 24Q Correction, this record was never
3972: -- updated. So need to insert this record data in PL/SQL table.
3973: g_challan_data_upd(g_count_challan_upd).transfer_voucher_number := l_transfer_voucher_number_1;
3974: g_challan_data_upd(g_count_challan_upd).transfer_voucher_date := l_transfer_voucher_date_1;

Line 3989: pay_in_utils.set_location(g_debug,'New Search Criteria Starting........' ,1);

3985: END IF;
3986: END IF;
3987: END IF;
3988: END LOOP;
3989: pay_in_utils.set_location(g_debug,'New Search Criteria Starting........' ,1);
3990: -- The above updation case handles only those cases when record was only updated
3991: -- and never re - created with the same Challan Number.
3992: FOR c_rec IN c_challan_24q_data_master('IN_24Q_CHALLAN','%',NULL)
3993: LOOP

Line 4092: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_challan_data', 1);

4088: END IF;
4089: END IF;
4090: END IF;
4091: END LOOP;
4092: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_challan_data', 1);
4093: EXCEPTION
4094: WHEN OTHERS THEN
4095: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4096: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 4095: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

4091: END LOOP;
4092: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_challan_data', 1);
4093: EXCEPTION
4094: WHEN OTHERS THEN
4095: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4096: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
4097: END generate_challan_data;
4098:
4099: --------------------------------------------------------------------------

Line 4096: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

4092: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_challan_data', 1);
4093: EXCEPTION
4094: WHEN OTHERS THEN
4095: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4096: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
4097: END generate_challan_data;
4098:
4099: --------------------------------------------------------------------------
4100: -- --

Line 4130: SELECT pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number') Challan_or_Voucher_Number,

4126: )
4127: IS
4128: CURSOR c_get_ee_from_live_data
4129: IS
4130: SELECT pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number') Challan_or_Voucher_Number,
4131: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
4132: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
4133: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
4134: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,

Line 4131: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,

4127: IS
4128: CURSOR c_get_ee_from_live_data
4129: IS
4130: SELECT pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number') Challan_or_Voucher_Number,
4131: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
4132: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
4133: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
4134: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
4135: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,

Line 4132: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,

4128: CURSOR c_get_ee_from_live_data
4129: IS
4130: SELECT pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number') Challan_or_Voucher_Number,
4131: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
4132: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
4133: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
4134: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
4135: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,
4136: pay_in_utils.get_ee_value(p_element_entry_id,'Amount Deposited') Amount_Deposited

Line 4133: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,

4129: IS
4130: SELECT pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number') Challan_or_Voucher_Number,
4131: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
4132: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
4133: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
4134: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
4135: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,
4136: pay_in_utils.get_ee_value(p_element_entry_id,'Amount Deposited') Amount_Deposited
4137: FROM dual;

Line 4134: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,

4130: SELECT pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number') Challan_or_Voucher_Number,
4131: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
4132: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
4133: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
4134: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
4135: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,
4136: pay_in_utils.get_ee_value(p_element_entry_id,'Amount Deposited') Amount_Deposited
4137: FROM dual;
4138:

Line 4135: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,

4131: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
4132: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
4133: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
4134: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
4135: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,
4136: pay_in_utils.get_ee_value(p_element_entry_id,'Amount Deposited') Amount_Deposited
4137: FROM dual;
4138:
4139: CURSOR c_get_ee_from_24q_data

Line 4136: pay_in_utils.get_ee_value(p_element_entry_id,'Amount Deposited') Amount_Deposited

4132: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
4133: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
4134: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
4135: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,
4136: pay_in_utils.get_ee_value(p_element_entry_id,'Amount Deposited') Amount_Deposited
4137: FROM dual;
4138:
4139: CURSOR c_get_ee_from_24q_data
4140: IS

Line 4247: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

4243: l_message VARCHAR2(250);
4244: BEGIN
4245: g_debug := hr_utility.debug_enabled;
4246: l_procedure := g_package ||'.get_element_entry_values';
4247: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
4248: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);
4249: OPEN c_get_ee_from_live_data;
4250: FETCH c_get_ee_from_live_data INTO p_ee_live_rec.challan_number,
4251: p_ee_live_rec.payment_date,

Line 4248: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);

4244: BEGIN
4245: g_debug := hr_utility.debug_enabled;
4246: l_procedure := g_package ||'.get_element_entry_values';
4247: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
4248: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);
4249: OPEN c_get_ee_from_live_data;
4250: FETCH c_get_ee_from_live_data INTO p_ee_live_rec.challan_number,
4251: p_ee_live_rec.payment_date,
4252: p_ee_live_rec.taxable_income,

Line 4259: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,2);

4255: p_ee_live_rec.education_cess,
4256: p_ee_live_rec.amount_deposited;
4257: CLOSE c_get_ee_from_live_data;
4258:
4259: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,2);
4260: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Data ' ,2);
4261:
4262: pay_in_utils.set_location(g_debug,'p_element_entry_id '|| p_element_entry_id ,2);
4263: pay_in_utils.set_location(g_debug,'p_action_context_id '|| p_action_context_id ,2);

Line 4260: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Data ' ,2);

4256: p_ee_live_rec.amount_deposited;
4257: CLOSE c_get_ee_from_live_data;
4258:
4259: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,2);
4260: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Data ' ,2);
4261:
4262: pay_in_utils.set_location(g_debug,'p_element_entry_id '|| p_element_entry_id ,2);
4263: pay_in_utils.set_location(g_debug,'p_action_context_id '|| p_action_context_id ,2);
4264: pay_in_utils.set_location(g_debug,'p_assignment_id '|| p_assignment_id ,2);

Line 4262: pay_in_utils.set_location(g_debug,'p_element_entry_id '|| p_element_entry_id ,2);

4258:
4259: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,2);
4260: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Data ' ,2);
4261:
4262: pay_in_utils.set_location(g_debug,'p_element_entry_id '|| p_element_entry_id ,2);
4263: pay_in_utils.set_location(g_debug,'p_action_context_id '|| p_action_context_id ,2);
4264: pay_in_utils.set_location(g_debug,'p_assignment_id '|| p_assignment_id ,2);
4265:
4266: OPEN c_get_ee_from_24q_data;

Line 4263: pay_in_utils.set_location(g_debug,'p_action_context_id '|| p_action_context_id ,2);

4259: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,2);
4260: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Data ' ,2);
4261:
4262: pay_in_utils.set_location(g_debug,'p_element_entry_id '|| p_element_entry_id ,2);
4263: pay_in_utils.set_location(g_debug,'p_action_context_id '|| p_action_context_id ,2);
4264: pay_in_utils.set_location(g_debug,'p_assignment_id '|| p_assignment_id ,2);
4265:
4266: OPEN c_get_ee_from_24q_data;
4267: FETCH c_get_ee_from_24q_data INTO p_ee_24qc_rec.challan_number,

Line 4264: pay_in_utils.set_location(g_debug,'p_assignment_id '|| p_assignment_id ,2);

4260: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Data ' ,2);
4261:
4262: pay_in_utils.set_location(g_debug,'p_element_entry_id '|| p_element_entry_id ,2);
4263: pay_in_utils.set_location(g_debug,'p_action_context_id '|| p_action_context_id ,2);
4264: pay_in_utils.set_location(g_debug,'p_assignment_id '|| p_assignment_id ,2);
4265:
4266: OPEN c_get_ee_from_24q_data;
4267: FETCH c_get_ee_from_24q_data INTO p_ee_24qc_rec.challan_number,
4268: p_ee_24qc_rec.payment_date,

Line 4276: pay_in_utils.set_location(g_debug,'Fetched 24Q Archival Data ' ,2);

4272: p_ee_24qc_rec.education_cess,
4273: p_ee_24qc_rec.amount_deposited,
4274: l_action_information_id;
4275: CLOSE c_get_ee_from_24q_data;
4276: pay_in_utils.set_location(g_debug,'Fetched 24Q Archival Data ' ,2);
4277:
4278: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,2);
4279: OPEN c_get_person_data_from_24qc;
4280: FETCH c_get_person_data_from_24qc INTO l_person_id,l_pan_number,l_pan_ref_number,l_old_tax_rate,p_person_24q_data.full_name,l_action_information_id;

Line 4278: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,2);

4274: l_action_information_id;
4275: CLOSE c_get_ee_from_24q_data;
4276: pay_in_utils.set_location(g_debug,'Fetched 24Q Archival Data ' ,2);
4277:
4278: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,2);
4279: OPEN c_get_person_data_from_24qc;
4280: FETCH c_get_person_data_from_24qc INTO l_person_id,l_pan_number,l_pan_ref_number,l_old_tax_rate,p_person_24q_data.full_name,l_action_information_id;
4281: CLOSE c_get_person_data_from_24qc;
4282: pay_in_utils.set_location(g_debug,'Found person id in 24Q Correction: '|| l_person_id ,2);

Line 4282: pay_in_utils.set_location(g_debug,'Found person id in 24Q Correction: '|| l_person_id ,2);

4278: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,2);
4279: OPEN c_get_person_data_from_24qc;
4280: FETCH c_get_person_data_from_24qc INTO l_person_id,l_pan_number,l_pan_ref_number,l_old_tax_rate,p_person_24q_data.full_name,l_action_information_id;
4281: CLOSE c_get_person_data_from_24qc;
4282: pay_in_utils.set_location(g_debug,'Found person id in 24Q Correction: '|| l_person_id ,2);
4283:
4284: IF (l_person_id IS NULL)
4285: THEN
4286: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,2);

Line 4286: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,2);

4282: pay_in_utils.set_location(g_debug,'Found person id in 24Q Correction: '|| l_person_id ,2);
4283:
4284: IF (l_person_id IS NULL)
4285: THEN
4286: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,2);
4287: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,2);
4288: OPEN c_get_person_data_from_24q;
4289: FETCH c_get_person_data_from_24q INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,l_action_information_id;
4290: CLOSE c_get_person_data_from_24q;

Line 4287: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,2);

4283:
4284: IF (l_person_id IS NULL)
4285: THEN
4286: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,2);
4287: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,2);
4288: OPEN c_get_person_data_from_24q;
4289: FETCH c_get_person_data_from_24q INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,l_action_information_id;
4290: CLOSE c_get_person_data_from_24q;
4291:

Line 4295: pay_in_utils.set_location(g_debug,'Old Tax Rate was '|| l_old_tax_rate,2);

4291:
4292: OPEN c_get_tax_rate_from_24q;
4293: FETCH c_get_tax_rate_from_24q INTO l_old_tax_rate;
4294: CLOSE c_get_tax_rate_from_24q;
4295: pay_in_utils.set_location(g_debug,'Old Tax Rate was '|| l_old_tax_rate,2);
4296: END IF;
4297:
4298: p_person_24q_data.person_id := l_person_id;
4299: p_person_24q_data.pan_number := l_pan_number;

Line 4303: pay_in_utils.set_location(g_debug,'Fetching Person Data from Live Data' ,2);

4299: p_person_24q_data.pan_number := l_pan_number;
4300: p_person_24q_data.pan_ref_number := l_pan_ref_number;
4301: p_person_24q_data.tax_rate := l_old_tax_rate;
4302:
4303: pay_in_utils.set_location(g_debug,'Fetching Person Data from Live Data' ,2);
4304: OPEN c_get_live_person_data;
4305: FETCH c_get_live_person_data INTO p_person_live_data.person_id
4306: ,p_person_live_data.pan_number
4307: ,p_person_live_data.pan_ref_number

Line 4311: pay_in_utils.set_location(g_debug,'Fetched Person Data from Live Data' ,2);

4307: ,p_person_live_data.pan_ref_number
4308: ,p_person_live_data.full_name
4309: ,l_end_date;
4310: CLOSE c_get_live_person_data;
4311: pay_in_utils.set_location(g_debug,'Fetched Person Data from Live Data' ,2);
4312:
4313: OPEN c_aei_tax_rate(p_person_live_data.person_id);
4314: FETCH c_aei_tax_rate INTO p_person_live_data.tax_rate;
4315: CLOSE c_aei_tax_rate;

Line 4330: pay_in_utils.set_location(g_debug,'Leaving : '|| g_package||'.get_element_entry_values ', 1);

4326: p_ee_live_rec.surcharge := TO_NUMBER(remove_curr_format(p_ee_live_rec.surcharge));
4327: p_ee_live_rec.education_cess := TO_NUMBER(remove_curr_format(p_ee_live_rec.education_cess));
4328: p_ee_live_rec.amount_deposited := TO_NUMBER(remove_curr_format(p_ee_live_rec.amount_deposited));
4329:
4330: pay_in_utils.set_location(g_debug,'Leaving : '|| g_package||'.get_element_entry_values ', 1);
4331: EXCEPTION
4332: WHEN OTHERS THEN
4333: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4334: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 4333: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

4329:
4330: pay_in_utils.set_location(g_debug,'Leaving : '|| g_package||'.get_element_entry_values ', 1);
4331: EXCEPTION
4332: WHEN OTHERS THEN
4333: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4334: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
4335: END get_element_entry_values;
4336:
4337: --------------------------------------------------------------------------

Line 4334: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

4330: pay_in_utils.set_location(g_debug,'Leaving : '|| g_package||'.get_element_entry_values ', 1);
4331: EXCEPTION
4332: WHEN OTHERS THEN
4333: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4334: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
4335: END get_element_entry_values;
4336:
4337: --------------------------------------------------------------------------
4338: -- --

Line 4417: pay_in_utils.set_location(g_debug,'Entering : '||l_proc,10);

4413: BEGIN
4414: g_debug := hr_utility.debug_enabled;
4415: l_proc := g_package||'.get_live_balances';
4416:
4417: pay_in_utils.set_location(g_debug,'Entering : '||l_proc,10);
4418:
4419: if g_debug then
4420: pay_in_utils.trace('******************************','********************');
4421: pay_in_utils.trace('p_run_asg_action_id : ',p_run_asg_action_id);

Line 4420: pay_in_utils.trace('******************************','********************');

4416:
4417: pay_in_utils.set_location(g_debug,'Entering : '||l_proc,10);
4418:
4419: if g_debug then
4420: pay_in_utils.trace('******************************','********************');
4421: pay_in_utils.trace('p_run_asg_action_id : ',p_run_asg_action_id);
4422: pay_in_utils.trace('p_gre_id : ',p_gre_id);
4423: pay_in_utils.trace('******************************','********************');
4424: end if;

Line 4421: pay_in_utils.trace('p_run_asg_action_id : ',p_run_asg_action_id);

4417: pay_in_utils.set_location(g_debug,'Entering : '||l_proc,10);
4418:
4419: if g_debug then
4420: pay_in_utils.trace('******************************','********************');
4421: pay_in_utils.trace('p_run_asg_action_id : ',p_run_asg_action_id);
4422: pay_in_utils.trace('p_gre_id : ',p_gre_id);
4423: pay_in_utils.trace('******************************','********************');
4424: end if;
4425:

Line 4422: pay_in_utils.trace('p_gre_id : ',p_gre_id);

4418:
4419: if g_debug then
4420: pay_in_utils.trace('******************************','********************');
4421: pay_in_utils.trace('p_run_asg_action_id : ',p_run_asg_action_id);
4422: pay_in_utils.trace('p_gre_id : ',p_gre_id);
4423: pay_in_utils.trace('******************************','********************');
4424: end if;
4425:
4426: i := 1;

Line 4423: pay_in_utils.trace('******************************','********************');

4419: if g_debug then
4420: pay_in_utils.trace('******************************','********************');
4421: pay_in_utils.trace('p_run_asg_action_id : ',p_run_asg_action_id);
4422: pay_in_utils.trace('p_gre_id : ',p_gre_id);
4423: pay_in_utils.trace('******************************','********************');
4424: end if;
4425:
4426: i := 1;
4427: g_bal_name_tab.DELETE;

Line 4472: pay_in_utils.trace('balance_name : ',g_bal_name_tab(i).balance_name);

4468: l_cess := l_cess + g_result_table(i).balance_value ;
4469: END IF;
4470:
4471: if g_debug then
4472: pay_in_utils.trace('balance_name : ',g_bal_name_tab(i).balance_name);
4473: pay_in_utils.trace('balance_value : ',g_result_table(i).balance_value);
4474: end if;
4475: END IF;
4476: END LOOP;

Line 4473: pay_in_utils.trace('balance_value : ',g_result_table(i).balance_value);

4469: END IF;
4470:
4471: if g_debug then
4472: pay_in_utils.trace('balance_name : ',g_bal_name_tab(i).balance_name);
4473: pay_in_utils.trace('balance_value : ',g_result_table(i).balance_value);
4474: end if;
4475: END IF;
4476: END LOOP;
4477:

Line 4505: pay_in_utils.set_location(g_debug,'Leaving: '||l_proc,30);

4501: g_context_table.DELETE;
4502: g_balance_value_tab.DELETE;
4503: g_result_table.DELETE;
4504:
4505: pay_in_utils.set_location(g_debug,'Leaving: '||l_proc,30);
4506:
4507: EXCEPTION
4508: WHEN OTHERS THEN
4509: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_proc, 'SQLERRMC:'||sqlerrm);

Line 4509: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_proc, 'SQLERRMC:'||sqlerrm);

4505: pay_in_utils.set_location(g_debug,'Leaving: '||l_proc,30);
4506:
4507: EXCEPTION
4508: WHEN OTHERS THEN
4509: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_proc, 'SQLERRMC:'||sqlerrm);
4510: pay_in_utils.set_location(g_debug,'Leaving : '||l_proc, 150);
4511: END get_live_balances;
4512:
4513:

Line 4510: pay_in_utils.set_location(g_debug,'Leaving : '||l_proc, 150);

4506:
4507: EXCEPTION
4508: WHEN OTHERS THEN
4509: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_proc, 'SQLERRMC:'||sqlerrm);
4510: pay_in_utils.set_location(g_debug,'Leaving : '||l_proc, 150);
4511: END get_live_balances;
4512:
4513:
4514: --------------------------------------------------------------------------

Line 4807: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

4803: BEGIN
4804:
4805: g_debug := hr_utility.debug_enabled;
4806: l_procedure := g_package ||'.get_balance_values';
4807: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
4808: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);
4809:
4810: --
4811: l_count := 1;

Line 4808: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);

4804:
4805: g_debug := hr_utility.debug_enabled;
4806: l_procedure := g_package ||'.get_balance_values';
4807: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
4808: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);
4809:
4810: --
4811: l_count := 1;
4812: i := 1;

Line 4852: pay_in_utils.trace('l_assignment_id : ',l_assignment_id);

4848: FETCH c_termination_check INTO l_actual_term_date;
4849: CLOSE c_termination_check;
4850:
4851: if g_debug then
4852: pay_in_utils.trace('l_assignment_id : ',l_assignment_id);
4853: pay_in_utils.trace('l_arc_pay_action_id : ',l_arc_pay_action_id);
4854: pay_in_utils.trace('l_per_id : ',l_per_id);
4855: pay_in_utils.trace('l_actual_term_date : ',l_actual_term_date);
4856: end if;

Line 4853: pay_in_utils.trace('l_arc_pay_action_id : ',l_arc_pay_action_id);

4849: CLOSE c_termination_check;
4850:
4851: if g_debug then
4852: pay_in_utils.trace('l_assignment_id : ',l_assignment_id);
4853: pay_in_utils.trace('l_arc_pay_action_id : ',l_arc_pay_action_id);
4854: pay_in_utils.trace('l_per_id : ',l_per_id);
4855: pay_in_utils.trace('l_actual_term_date : ',l_actual_term_date);
4856: end if;
4857:

Line 4854: pay_in_utils.trace('l_per_id : ',l_per_id);

4850:
4851: if g_debug then
4852: pay_in_utils.trace('l_assignment_id : ',l_assignment_id);
4853: pay_in_utils.trace('l_arc_pay_action_id : ',l_arc_pay_action_id);
4854: pay_in_utils.trace('l_per_id : ',l_per_id);
4855: pay_in_utils.trace('l_actual_term_date : ',l_actual_term_date);
4856: end if;
4857:
4858: -- Get all records from financial year start till current quarter end to find out

Line 4855: pay_in_utils.trace('l_actual_term_date : ',l_actual_term_date);

4851: if g_debug then
4852: pay_in_utils.trace('l_assignment_id : ',l_assignment_id);
4853: pay_in_utils.trace('l_arc_pay_action_id : ',l_arc_pay_action_id);
4854: pay_in_utils.trace('l_per_id : ',l_per_id);
4855: pay_in_utils.trace('l_actual_term_date : ',l_actual_term_date);
4856: end if;
4857:
4858: -- Get all records from financial year start till current quarter end to find out
4859: -- previous GRE assignment_action_id and remaining pay periods

Line 4860: pay_in_utils.set_location(g_debug,'Entering : '||l_assignment_id,12);

4856: end if;
4857:
4858: -- Get all records from financial year start till current quarter end to find out
4859: -- previous GRE assignment_action_id and remaining pay periods
4860: pay_in_utils.set_location(g_debug,'Entering : '||l_assignment_id,12);
4861: FOR c_rec IN c_gre_records(l_assignment_id)
4862: LOOP
4863: IF ((l_count <>1)
4864: AND

Line 4880: pay_in_utils.set_location(g_debug,'l_count : '||l_count,20);

4876: END IF;
4877: l_count := l_count + 1;
4878: END LOOP;
4879:
4880: pay_in_utils.set_location(g_debug,'l_count : '||l_count,20);
4881:
4882: p_gre_count := l_count;
4883:
4884: /* g_asg_tab.start/end date will contain the actual start/end of asg in a GRE or the the financial year .

Line 4892: pay_in_utils.set_location(g_debug,'l_assignment_id : '||l_assignment_id||' ' ||g_asg_tab(i).start_date||' ' ||g_asg_tab(i).end_date||' ' ||g_asg_tab(i).gre_id,30);

4888: LOOP
4889: --Get Live Balances only if it is a candidate for reporting in the specified quarter
4890: IF (g_start_date <= g_asg_tab(i).end_date AND
4891: g_end_date >= g_asg_tab(i).start_date) THEN
4892: pay_in_utils.set_location(g_debug,'l_assignment_id : '||l_assignment_id||' ' ||g_asg_tab(i).start_date||' ' ||g_asg_tab(i).end_date||' ' ||g_asg_tab(i).gre_id,30);
4893:
4894:
4895: -- Get assignment action id corresponding to the maximum action sequence record
4896: OPEN get_eoy_archival_details(GREATEST(g_asg_tab(i).start_date,g_start_date)

Line 4904: pay_in_utils.trace('l_run_asg_action_id in LOOP: ', l_run_asg_action_id );

4900: );
4901: FETCH get_eoy_archival_details INTO l_run_asg_action_id;
4902: CLOSE get_eoy_archival_details;
4903:
4904: pay_in_utils.trace('l_run_asg_action_id in LOOP: ', l_run_asg_action_id );
4905:
4906: IF l_run_asg_action_id IS NOT NULL THEN
4907:
4908: -- Get Person start date and end date

Line 4921: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,2);

4917: ELSE
4918: l_effective_start_date := GREATEST(g_qr_start_date,g_asg_tab(i).start_date);
4919: END IF;
4920:
4921: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,2);
4922: pay_in_utils.set_location(g_debug,'p_mode in Live Balances Data : '||p_mode ,2);
4923: pay_in_utils.set_location(g_debug,'p_source_id in Live Balances Data : '||p_source_id ,2);
4924: pay_in_utils.set_location(g_debug,'l_run_asg_action_id in Live Balances Data : '||l_run_asg_action_id ,2);
4925:

Line 4922: pay_in_utils.set_location(g_debug,'p_mode in Live Balances Data : '||p_mode ,2);

4918: l_effective_start_date := GREATEST(g_qr_start_date,g_asg_tab(i).start_date);
4919: END IF;
4920:
4921: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,2);
4922: pay_in_utils.set_location(g_debug,'p_mode in Live Balances Data : '||p_mode ,2);
4923: pay_in_utils.set_location(g_debug,'p_source_id in Live Balances Data : '||p_source_id ,2);
4924: pay_in_utils.set_location(g_debug,'l_run_asg_action_id in Live Balances Data : '||l_run_asg_action_id ,2);
4925:
4926: IF (p_source_id = l_run_asg_action_id)

Line 4923: pay_in_utils.set_location(g_debug,'p_source_id in Live Balances Data : '||p_source_id ,2);

4919: END IF;
4920:
4921: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,2);
4922: pay_in_utils.set_location(g_debug,'p_mode in Live Balances Data : '||p_mode ,2);
4923: pay_in_utils.set_location(g_debug,'p_source_id in Live Balances Data : '||p_source_id ,2);
4924: pay_in_utils.set_location(g_debug,'l_run_asg_action_id in Live Balances Data : '||l_run_asg_action_id ,2);
4925:
4926: IF (p_source_id = l_run_asg_action_id)
4927: THEN

Line 4924: pay_in_utils.set_location(g_debug,'l_run_asg_action_id in Live Balances Data : '||l_run_asg_action_id ,2);

4920:
4921: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,2);
4922: pay_in_utils.set_location(g_debug,'p_mode in Live Balances Data : '||p_mode ,2);
4923: pay_in_utils.set_location(g_debug,'p_source_id in Live Balances Data : '||p_source_id ,2);
4924: pay_in_utils.set_location(g_debug,'l_run_asg_action_id in Live Balances Data : '||l_run_asg_action_id ,2);
4925:
4926: IF (p_source_id = l_run_asg_action_id)
4927: THEN
4928:

Line 4933: pay_in_utils.set_location(g_debug,'Fetched Live Balances Data ' ,2);

4929: get_live_balances(p_run_asg_action_id => l_run_asg_action_id
4930: ,p_gre_id => g_asg_tab(i).gre_id
4931: ,p_balances => p_ba_live_rec
4932: );
4933: pay_in_utils.set_location(g_debug,'Fetched Live Balances Data ' ,2);
4934: EXIT;
4935: END IF;
4936: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,3);
4937:

Line 4936: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,3);

4932: );
4933: pay_in_utils.set_location(g_debug,'Fetched Live Balances Data ' ,2);
4934: EXIT;
4935: END IF;
4936: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,3);
4937:
4938: IF ((p_mode = 'D') AND (p_source_id < l_run_asg_action_id))
4939: THEN
4940:

Line 4945: pay_in_utils.set_location(g_debug,'Fetched Live Balances Data ' ,3);

4941: get_live_balances(p_run_asg_action_id => l_run_asg_action_id
4942: ,p_gre_id => g_asg_tab(i).gre_id
4943: ,p_balances => p_ba_live_rec
4944: );
4945: pay_in_utils.set_location(g_debug,'Fetched Live Balances Data ' ,3);
4946: EXIT;
4947: END IF;
4948:
4949: END IF; -- Run Assact is NOT NULL

Line 4953: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Balances Data ' ,3);

4949: END IF; -- Run Assact is NOT NULL
4950: END IF; -- End of Get Live Balances
4951: END LOOP;
4952:
4953: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Balances Data ' ,3);
4954:
4955: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,3);
4956: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4957:

Line 4955: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,3);

4951: END LOOP;
4952:
4953: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Balances Data ' ,3);
4954:
4955: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,3);
4956: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4957:
4958: pay_in_utils.set_location(g_debug,'p_action_context_id : '|| p_action_context_id ,3);
4959: pay_in_utils.set_location(g_debug,'p_assignment_id : '|| p_assignment_id ,3);

Line 4956: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);

4952:
4953: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Balances Data ' ,3);
4954:
4955: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,3);
4956: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4957:
4958: pay_in_utils.set_location(g_debug,'p_action_context_id : '|| p_action_context_id ,3);
4959: pay_in_utils.set_location(g_debug,'p_assignment_id : '|| p_assignment_id ,3);
4960: pay_in_utils.set_location(g_debug,'p_source_id : '|| p_source_id ,3);

Line 4958: pay_in_utils.set_location(g_debug,'p_action_context_id : '|| p_action_context_id ,3);

4954:
4955: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,3);
4956: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4957:
4958: pay_in_utils.set_location(g_debug,'p_action_context_id : '|| p_action_context_id ,3);
4959: pay_in_utils.set_location(g_debug,'p_assignment_id : '|| p_assignment_id ,3);
4960: pay_in_utils.set_location(g_debug,'p_source_id : '|| p_source_id ,3);
4961:
4962: OPEN c_24qc_source_id(p_action_context_id,p_assignment_id);

Line 4959: pay_in_utils.set_location(g_debug,'p_assignment_id : '|| p_assignment_id ,3);

4955: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,3);
4956: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4957:
4958: pay_in_utils.set_location(g_debug,'p_action_context_id : '|| p_action_context_id ,3);
4959: pay_in_utils.set_location(g_debug,'p_assignment_id : '|| p_assignment_id ,3);
4960: pay_in_utils.set_location(g_debug,'p_source_id : '|| p_source_id ,3);
4961:
4962: OPEN c_24qc_source_id(p_action_context_id,p_assignment_id);
4963: FETCH c_24qc_source_id INTO l_action_context_id,l_24qa_source_id;

Line 4960: pay_in_utils.set_location(g_debug,'p_source_id : '|| p_source_id ,3);

4956: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4957:
4958: pay_in_utils.set_location(g_debug,'p_action_context_id : '|| p_action_context_id ,3);
4959: pay_in_utils.set_location(g_debug,'p_assignment_id : '|| p_assignment_id ,3);
4960: pay_in_utils.set_location(g_debug,'p_source_id : '|| p_source_id ,3);
4961:
4962: OPEN c_24qc_source_id(p_action_context_id,p_assignment_id);
4963: FETCH c_24qc_source_id INTO l_action_context_id,l_24qa_source_id;
4964: l_sal_category := 'IN_24QC_SALARY';

Line 4966: pay_in_utils.set_location(g_debug,'l_24qa_source_id in c_24qc_source_id : '|| l_24qa_source_id ,3);

4962: OPEN c_24qc_source_id(p_action_context_id,p_assignment_id);
4963: FETCH c_24qc_source_id INTO l_action_context_id,l_24qa_source_id;
4964: l_sal_category := 'IN_24QC_SALARY';
4965: l_via_category := 'IN_24QC_VIA';
4966: pay_in_utils.set_location(g_debug,'l_24qa_source_id in c_24qc_source_id : '|| l_24qa_source_id ,3);
4967: CLOSE c_24qc_source_id;
4968:
4969: IF (l_24qa_source_id IS NULL)
4970: THEN

Line 4971: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,4);

4967: CLOSE c_24qc_source_id;
4968:
4969: IF (l_24qa_source_id IS NULL)
4970: THEN
4971: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,4);
4972: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,4);
4973: OPEN c_24qa_source_id(p_action_context_id,p_assignment_id);
4974: FETCH c_24qa_source_id INTO l_action_context_id,l_24qa_source_id;
4975: l_sal_category := 'IN_24Q_SALARY';

Line 4972: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,4);

4968:
4969: IF (l_24qa_source_id IS NULL)
4970: THEN
4971: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,4);
4972: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,4);
4973: OPEN c_24qa_source_id(p_action_context_id,p_assignment_id);
4974: FETCH c_24qa_source_id INTO l_action_context_id,l_24qa_source_id;
4975: l_sal_category := 'IN_24Q_SALARY';
4976: l_via_category := 'IN_24Q_VIA';

Line 4977: pay_in_utils.trace('l_24qa_source_id in c_24qa_source_id : ', l_24qa_source_id );

4973: OPEN c_24qa_source_id(p_action_context_id,p_assignment_id);
4974: FETCH c_24qa_source_id INTO l_action_context_id,l_24qa_source_id;
4975: l_sal_category := 'IN_24Q_SALARY';
4976: l_via_category := 'IN_24Q_VIA';
4977: pay_in_utils.trace('l_24qa_source_id in c_24qa_source_id : ', l_24qa_source_id );
4978: CLOSE c_24qa_source_id;
4979: END IF;
4980:
4981: pay_in_utils.trace('l_24qa_source_id : ', l_24qa_source_id );

Line 4981: pay_in_utils.trace('l_24qa_source_id : ', l_24qa_source_id );

4977: pay_in_utils.trace('l_24qa_source_id in c_24qa_source_id : ', l_24qa_source_id );
4978: CLOSE c_24qa_source_id;
4979: END IF;
4980:
4981: pay_in_utils.trace('l_24qa_source_id : ', l_24qa_source_id );
4982: pay_in_utils.trace('l_sal_category : ', l_sal_category );
4983: pay_in_utils.trace('l_via_category : ', l_via_category );
4984:
4985: IF (l_24qa_source_id IS NOT NULL) THEN

Line 4982: pay_in_utils.trace('l_sal_category : ', l_sal_category );

4978: CLOSE c_24qa_source_id;
4979: END IF;
4980:
4981: pay_in_utils.trace('l_24qa_source_id : ', l_24qa_source_id );
4982: pay_in_utils.trace('l_sal_category : ', l_sal_category );
4983: pay_in_utils.trace('l_via_category : ', l_via_category );
4984:
4985: IF (l_24qa_source_id IS NOT NULL) THEN
4986: FOR j IN 1..t_balance_name.COUNT

Line 4983: pay_in_utils.trace('l_via_category : ', l_via_category );

4979: END IF;
4980:
4981: pay_in_utils.trace('l_24qa_source_id : ', l_24qa_source_id );
4982: pay_in_utils.trace('l_sal_category : ', l_sal_category );
4983: pay_in_utils.trace('l_via_category : ', l_via_category );
4984:
4985: IF (l_24qa_source_id IS NOT NULL) THEN
4986: FOR j IN 1..t_balance_name.COUNT
4987: LOOP

Line 5003: pay_in_utils.set_location(g_debug,'Fetched 24Q Archival Balances Data ' ,4);

4999: p_ba_24qc_rec(j).balance_value := l_balance_value;
5000: END LOOP;
5001: END IF;
5002:
5003: pay_in_utils.set_location(g_debug,'Fetched 24Q Archival Balances Data ' ,4);
5004:
5005: pay_in_utils.set_location(g_debug,'Searching person data in 24Q Correction ' ,5);
5006: OPEN c_get_person_data_from_24qc;
5007: FETCH c_get_person_data_from_24qc INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,

Line 5005: pay_in_utils.set_location(g_debug,'Searching person data in 24Q Correction ' ,5);

5001: END IF;
5002:
5003: pay_in_utils.set_location(g_debug,'Fetched 24Q Archival Balances Data ' ,4);
5004:
5005: pay_in_utils.set_location(g_debug,'Searching person data in 24Q Correction ' ,5);
5006: OPEN c_get_person_data_from_24qc;
5007: FETCH c_get_person_data_from_24qc INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,
5008: p_person_24q_data.start_date,p_person_24q_data.end_date,l_source_id;
5009: pay_in_utils.set_location(g_debug,'Value of person id found in 24Q Correction: '|| l_person_id ,5);

Line 5009: pay_in_utils.set_location(g_debug,'Value of person id found in 24Q Correction: '|| l_person_id ,5);

5005: pay_in_utils.set_location(g_debug,'Searching person data in 24Q Correction ' ,5);
5006: OPEN c_get_person_data_from_24qc;
5007: FETCH c_get_person_data_from_24qc INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,
5008: p_person_24q_data.start_date,p_person_24q_data.end_date,l_source_id;
5009: pay_in_utils.set_location(g_debug,'Value of person id found in 24Q Correction: '|| l_person_id ,5);
5010: CLOSE c_get_person_data_from_24qc;
5011:
5012:
5013: IF (l_person_id IS NULL)

Line 5015: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,5);

5011:
5012:
5013: IF (l_person_id IS NULL)
5014: THEN
5015: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,5);
5016: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,5);
5017: OPEN c_get_person_data_from_24q;
5018: FETCH c_get_person_data_from_24q INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,
5019: p_person_24q_data.start_date,p_person_24q_data.end_date,l_source_id;

Line 5016: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,5);

5012:
5013: IF (l_person_id IS NULL)
5014: THEN
5015: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,5);
5016: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,5);
5017: OPEN c_get_person_data_from_24q;
5018: FETCH c_get_person_data_from_24q INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,
5019: p_person_24q_data.start_date,p_person_24q_data.end_date,l_source_id;
5020: CLOSE c_get_person_data_from_24q;

Line 5021: pay_in_utils.set_location(g_debug,'Value of person id found in 24Q Archival: '|| l_person_id ,5);

5017: OPEN c_get_person_data_from_24q;
5018: FETCH c_get_person_data_from_24q INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,
5019: p_person_24q_data.start_date,p_person_24q_data.end_date,l_source_id;
5020: CLOSE c_get_person_data_from_24q;
5021: pay_in_utils.set_location(g_debug,'Value of person id found in 24Q Archival: '|| l_person_id ,5);
5022: END IF;
5023:
5024: p_person_24q_data.person_id := l_person_id;
5025: p_person_24q_data.pan_number := l_pan_number;

Line 5028: pay_in_utils.set_location(g_debug,'Fetched Person Data from 24Q Archival Data' ,5);

5024: p_person_24q_data.person_id := l_person_id;
5025: p_person_24q_data.pan_number := l_pan_number;
5026: p_person_24q_data.pan_ref_number := l_pan_ref_number;
5027:
5028: pay_in_utils.set_location(g_debug,'Fetched Person Data from 24Q Archival Data' ,5);
5029:
5030: pay_in_utils.set_location(g_debug,'Fetching Person Data from Live Data' ,6);
5031: OPEN c_get_live_person_data;
5032: FETCH c_get_live_person_data INTO p_person_live_data.person_id

Line 5030: pay_in_utils.set_location(g_debug,'Fetching Person Data from Live Data' ,6);

5026: p_person_24q_data.pan_ref_number := l_pan_ref_number;
5027:
5028: pay_in_utils.set_location(g_debug,'Fetched Person Data from 24Q Archival Data' ,5);
5029:
5030: pay_in_utils.set_location(g_debug,'Fetching Person Data from Live Data' ,6);
5031: OPEN c_get_live_person_data;
5032: FETCH c_get_live_person_data INTO p_person_live_data.person_id
5033: ,p_person_live_data.pan_number
5034: ,p_person_live_data.pan_ref_number

Line 5041: pay_in_utils.set_location(g_debug,'Fetched Person Data from Live Data' ,6);

5037:
5038: p_person_live_data.start_date := l_effective_start_date;
5039: p_person_live_data.end_date := l_effective_end_date;
5040:
5041: pay_in_utils.set_location(g_debug,'Fetched Person Data from Live Data' ,6);
5042:
5043: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
5044: pay_in_utils.set_location(g_debug,'Removing format for Live Balances Data' ,7);
5045: FOR i IN 1..p_ba_live_rec.COUNT

Line 5043: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);

5039: p_person_live_data.end_date := l_effective_end_date;
5040:
5041: pay_in_utils.set_location(g_debug,'Fetched Person Data from Live Data' ,6);
5042:
5043: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
5044: pay_in_utils.set_location(g_debug,'Removing format for Live Balances Data' ,7);
5045: FOR i IN 1..p_ba_live_rec.COUNT
5046: LOOP
5047: p_ba_live_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_live_rec(i).balance_value));

Line 5044: pay_in_utils.set_location(g_debug,'Removing format for Live Balances Data' ,7);

5040:
5041: pay_in_utils.set_location(g_debug,'Fetched Person Data from Live Data' ,6);
5042:
5043: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
5044: pay_in_utils.set_location(g_debug,'Removing format for Live Balances Data' ,7);
5045: FOR i IN 1..p_ba_live_rec.COUNT
5046: LOOP
5047: p_ba_live_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_live_rec(i).balance_value));
5048: END LOOP;

Line 5050: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);

5046: LOOP
5047: p_ba_live_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_live_rec(i).balance_value));
5048: END LOOP;
5049:
5050: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
5051:
5052: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);
5053: pay_in_utils.set_location(g_debug,'Removing format for 24Q Archive Balances Data' ,8);
5054: FOR i IN 1..p_ba_24qc_rec.COUNT

Line 5052: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);

5048: END LOOP;
5049:
5050: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
5051:
5052: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);
5053: pay_in_utils.set_location(g_debug,'Removing format for 24Q Archive Balances Data' ,8);
5054: FOR i IN 1..p_ba_24qc_rec.COUNT
5055: LOOP
5056: p_ba_24qc_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_24qc_rec(i).balance_value));

Line 5053: pay_in_utils.set_location(g_debug,'Removing format for 24Q Archive Balances Data' ,8);

5049:
5050: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
5051:
5052: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);
5053: pay_in_utils.set_location(g_debug,'Removing format for 24Q Archive Balances Data' ,8);
5054: FOR i IN 1..p_ba_24qc_rec.COUNT
5055: LOOP
5056: p_ba_24qc_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_24qc_rec(i).balance_value));
5057: END LOOP;

Line 5058: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);

5054: FOR i IN 1..p_ba_24qc_rec.COUNT
5055: LOOP
5056: p_ba_24qc_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_24qc_rec(i).balance_value));
5057: END LOOP;
5058: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);
5059:
5060: pay_in_utils.set_location(g_debug,'Leaving : '|| l_procedure, 120);
5061:
5062: EXCEPTION

Line 5060: pay_in_utils.set_location(g_debug,'Leaving : '|| l_procedure, 120);

5056: p_ba_24qc_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_24qc_rec(i).balance_value));
5057: END LOOP;
5058: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);
5059:
5060: pay_in_utils.set_location(g_debug,'Leaving : '|| l_procedure, 120);
5061:
5062: EXCEPTION
5063: WHEN OTHERS THEN
5064: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

Line 5064: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

5060: pay_in_utils.set_location(g_debug,'Leaving : '|| l_procedure, 120);
5061:
5062: EXCEPTION
5063: WHEN OTHERS THEN
5064: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
5065: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
5066: END get_balance_values;
5067:
5068:

Line 5065: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

5061:
5062: EXCEPTION
5063: WHEN OTHERS THEN
5064: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
5065: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
5066: END get_balance_values;
5067:
5068:
5069: --------------------------------------------------------------------------

Line 5103: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

5099: l_message VARCHAR2(250);
5100: BEGIN
5101: g_debug := hr_utility.debug_enabled;
5102: l_procedure := g_package ||'.check_c5_change_only';
5103: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
5104: pay_in_utils.set_location(g_debug,'Fetching Live Data',2);
5105: get_element_entry_values
5106: (
5107: p_element_entry_id

Line 5104: pay_in_utils.set_location(g_debug,'Fetching Live Data',2);

5100: BEGIN
5101: g_debug := hr_utility.debug_enabled;
5102: l_procedure := g_package ||'.check_c5_change_only';
5103: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
5104: pay_in_utils.set_location(g_debug,'Fetching Live Data',2);
5105: get_element_entry_values
5106: (
5107: p_element_entry_id
5108: ,p_action_context_id

Line 5115: pay_in_utils.set_location(g_debug,'Fetched Live Data',3);

5111: ,t_ee_24qc_rec
5112: ,t_person_live_data
5113: ,t_person_24q_data
5114: );
5115: pay_in_utils.set_location(g_debug,'Fetched Live Data',3);
5116: pay_in_utils.set_location(g_debug,'Comparing Data',4);
5117:
5118: IF(t_ee_live_rec.challan_number <> t_ee_24qc_rec.challan_number)
5119: THEN

Line 5116: pay_in_utils.set_location(g_debug,'Comparing Data',4);

5112: ,t_person_live_data
5113: ,t_person_24q_data
5114: );
5115: pay_in_utils.set_location(g_debug,'Fetched Live Data',3);
5116: pay_in_utils.set_location(g_debug,'Comparing Data',4);
5117:
5118: IF(t_ee_live_rec.challan_number <> t_ee_24qc_rec.challan_number)
5119: THEN
5120: pay_in_utils.set_location(g_debug,'t_ee_live_rec.challan_number'|| t_ee_live_rec.challan_number,1);

Line 5120: pay_in_utils.set_location(g_debug,'t_ee_live_rec.challan_number'|| t_ee_live_rec.challan_number,1);

5116: pay_in_utils.set_location(g_debug,'Comparing Data',4);
5117:
5118: IF(t_ee_live_rec.challan_number <> t_ee_24qc_rec.challan_number)
5119: THEN
5120: pay_in_utils.set_location(g_debug,'t_ee_live_rec.challan_number'|| t_ee_live_rec.challan_number,1);
5121: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.challan_number'|| t_ee_24qc_rec.challan_number,1);
5122: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 1',1);
5123: RETURN FALSE;
5124: END IF;

Line 5121: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.challan_number'|| t_ee_24qc_rec.challan_number,1);

5117:
5118: IF(t_ee_live_rec.challan_number <> t_ee_24qc_rec.challan_number)
5119: THEN
5120: pay_in_utils.set_location(g_debug,'t_ee_live_rec.challan_number'|| t_ee_live_rec.challan_number,1);
5121: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.challan_number'|| t_ee_24qc_rec.challan_number,1);
5122: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 1',1);
5123: RETURN FALSE;
5124: END IF;
5125:

Line 5122: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 1',1);

5118: IF(t_ee_live_rec.challan_number <> t_ee_24qc_rec.challan_number)
5119: THEN
5120: pay_in_utils.set_location(g_debug,'t_ee_live_rec.challan_number'|| t_ee_live_rec.challan_number,1);
5121: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.challan_number'|| t_ee_24qc_rec.challan_number,1);
5122: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 1',1);
5123: RETURN FALSE;
5124: END IF;
5125:
5126: IF(t_ee_live_rec.payment_date <> t_ee_24qc_rec.payment_date)

Line 5128: pay_in_utils.set_location(g_debug,'t_ee_live_rec.payment_date'|| t_ee_live_rec.payment_date,2);

5124: END IF;
5125:
5126: IF(t_ee_live_rec.payment_date <> t_ee_24qc_rec.payment_date)
5127: THEN
5128: pay_in_utils.set_location(g_debug,'t_ee_live_rec.payment_date'|| t_ee_live_rec.payment_date,2);
5129: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.payment_date'|| t_ee_24qc_rec.payment_date,2);
5130: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 2',2);
5131: RETURN FALSE;
5132: END IF;

Line 5129: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.payment_date'|| t_ee_24qc_rec.payment_date,2);

5125:
5126: IF(t_ee_live_rec.payment_date <> t_ee_24qc_rec.payment_date)
5127: THEN
5128: pay_in_utils.set_location(g_debug,'t_ee_live_rec.payment_date'|| t_ee_live_rec.payment_date,2);
5129: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.payment_date'|| t_ee_24qc_rec.payment_date,2);
5130: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 2',2);
5131: RETURN FALSE;
5132: END IF;
5133:

Line 5130: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 2',2);

5126: IF(t_ee_live_rec.payment_date <> t_ee_24qc_rec.payment_date)
5127: THEN
5128: pay_in_utils.set_location(g_debug,'t_ee_live_rec.payment_date'|| t_ee_live_rec.payment_date,2);
5129: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.payment_date'|| t_ee_24qc_rec.payment_date,2);
5130: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 2',2);
5131: RETURN FALSE;
5132: END IF;
5133:
5134: IF(t_ee_live_rec.amount_deposited <> t_ee_24qc_rec.amount_deposited)

Line 5136: pay_in_utils.set_location(g_debug,'t_ee_live_rec.amount_deposited'|| t_ee_live_rec.amount_deposited,3);

5132: END IF;
5133:
5134: IF(t_ee_live_rec.amount_deposited <> t_ee_24qc_rec.amount_deposited)
5135: THEN
5136: pay_in_utils.set_location(g_debug,'t_ee_live_rec.amount_deposited'|| t_ee_live_rec.amount_deposited,3);
5137: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.amount_deposited'|| t_ee_24qc_rec.amount_deposited,3);
5138: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 3',3);
5139: RETURN FALSE;
5140: END IF;

Line 5137: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.amount_deposited'|| t_ee_24qc_rec.amount_deposited,3);

5133:
5134: IF(t_ee_live_rec.amount_deposited <> t_ee_24qc_rec.amount_deposited)
5135: THEN
5136: pay_in_utils.set_location(g_debug,'t_ee_live_rec.amount_deposited'|| t_ee_live_rec.amount_deposited,3);
5137: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.amount_deposited'|| t_ee_24qc_rec.amount_deposited,3);
5138: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 3',3);
5139: RETURN FALSE;
5140: END IF;
5141:

Line 5138: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 3',3);

5134: IF(t_ee_live_rec.amount_deposited <> t_ee_24qc_rec.amount_deposited)
5135: THEN
5136: pay_in_utils.set_location(g_debug,'t_ee_live_rec.amount_deposited'|| t_ee_live_rec.amount_deposited,3);
5137: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.amount_deposited'|| t_ee_24qc_rec.amount_deposited,3);
5138: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 3',3);
5139: RETURN FALSE;
5140: END IF;
5141:
5142: IF(t_ee_live_rec.surcharge <> t_ee_24qc_rec.surcharge)

Line 5144: pay_in_utils.set_location(g_debug,'t_ee_live_rec.surcharge'|| t_ee_live_rec.surcharge,4);

5140: END IF;
5141:
5142: IF(t_ee_live_rec.surcharge <> t_ee_24qc_rec.surcharge)
5143: THEN
5144: pay_in_utils.set_location(g_debug,'t_ee_live_rec.surcharge'|| t_ee_live_rec.surcharge,4);
5145: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.surcharge'|| t_ee_24qc_rec.surcharge,4);
5146: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 4',4);
5147: RETURN FALSE;
5148: END IF;

Line 5145: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.surcharge'|| t_ee_24qc_rec.surcharge,4);

5141:
5142: IF(t_ee_live_rec.surcharge <> t_ee_24qc_rec.surcharge)
5143: THEN
5144: pay_in_utils.set_location(g_debug,'t_ee_live_rec.surcharge'|| t_ee_live_rec.surcharge,4);
5145: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.surcharge'|| t_ee_24qc_rec.surcharge,4);
5146: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 4',4);
5147: RETURN FALSE;
5148: END IF;
5149:

Line 5146: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 4',4);

5142: IF(t_ee_live_rec.surcharge <> t_ee_24qc_rec.surcharge)
5143: THEN
5144: pay_in_utils.set_location(g_debug,'t_ee_live_rec.surcharge'|| t_ee_live_rec.surcharge,4);
5145: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.surcharge'|| t_ee_24qc_rec.surcharge,4);
5146: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 4',4);
5147: RETURN FALSE;
5148: END IF;
5149:
5150: IF(t_ee_live_rec.education_cess <> t_ee_24qc_rec.education_cess)

Line 5152: pay_in_utils.set_location(g_debug,'t_ee_live_rec.education_cess'|| t_ee_live_rec.education_cess,5);

5148: END IF;
5149:
5150: IF(t_ee_live_rec.education_cess <> t_ee_24qc_rec.education_cess)
5151: THEN
5152: pay_in_utils.set_location(g_debug,'t_ee_live_rec.education_cess'|| t_ee_live_rec.education_cess,5);
5153: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.education_cess'|| t_ee_24qc_rec.education_cess,5);
5154: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 5',5);
5155: RETURN FALSE;
5156: END IF;

Line 5153: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.education_cess'|| t_ee_24qc_rec.education_cess,5);

5149:
5150: IF(t_ee_live_rec.education_cess <> t_ee_24qc_rec.education_cess)
5151: THEN
5152: pay_in_utils.set_location(g_debug,'t_ee_live_rec.education_cess'|| t_ee_live_rec.education_cess,5);
5153: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.education_cess'|| t_ee_24qc_rec.education_cess,5);
5154: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 5',5);
5155: RETURN FALSE;
5156: END IF;
5157:

Line 5154: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 5',5);

5150: IF(t_ee_live_rec.education_cess <> t_ee_24qc_rec.education_cess)
5151: THEN
5152: pay_in_utils.set_location(g_debug,'t_ee_live_rec.education_cess'|| t_ee_live_rec.education_cess,5);
5153: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.education_cess'|| t_ee_24qc_rec.education_cess,5);
5154: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 5',5);
5155: RETURN FALSE;
5156: END IF;
5157:
5158: IF(t_ee_live_rec.income_tax <> t_ee_24qc_rec.income_tax)

Line 5160: pay_in_utils.set_location(g_debug,'t_ee_live_rec.income_tax'|| t_ee_live_rec.income_tax,6);

5156: END IF;
5157:
5158: IF(t_ee_live_rec.income_tax <> t_ee_24qc_rec.income_tax)
5159: THEN
5160: pay_in_utils.set_location(g_debug,'t_ee_live_rec.income_tax'|| t_ee_live_rec.income_tax,6);
5161: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.income_tax'|| t_ee_24qc_rec.income_tax,6);
5162: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 6',6);
5163: RETURN FALSE;
5164: END IF;

Line 5161: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.income_tax'|| t_ee_24qc_rec.income_tax,6);

5157:
5158: IF(t_ee_live_rec.income_tax <> t_ee_24qc_rec.income_tax)
5159: THEN
5160: pay_in_utils.set_location(g_debug,'t_ee_live_rec.income_tax'|| t_ee_live_rec.income_tax,6);
5161: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.income_tax'|| t_ee_24qc_rec.income_tax,6);
5162: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 6',6);
5163: RETURN FALSE;
5164: END IF;
5165:

Line 5162: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 6',6);

5158: IF(t_ee_live_rec.income_tax <> t_ee_24qc_rec.income_tax)
5159: THEN
5160: pay_in_utils.set_location(g_debug,'t_ee_live_rec.income_tax'|| t_ee_live_rec.income_tax,6);
5161: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.income_tax'|| t_ee_24qc_rec.income_tax,6);
5162: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 6',6);
5163: RETURN FALSE;
5164: END IF;
5165:
5166: IF(t_ee_live_rec.taxable_income <> t_ee_24qc_rec.taxable_income)

Line 5168: pay_in_utils.set_location(g_debug,'t_ee_live_rec.taxable_income'|| t_ee_live_rec.taxable_income,7);

5164: END IF;
5165:
5166: IF(t_ee_live_rec.taxable_income <> t_ee_24qc_rec.taxable_income)
5167: THEN
5168: pay_in_utils.set_location(g_debug,'t_ee_live_rec.taxable_income'|| t_ee_live_rec.taxable_income,7);
5169: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.taxable_income'|| t_ee_24qc_rec.taxable_income,7);
5170: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 7',7);
5171: RETURN FALSE;
5172: END IF;

Line 5169: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.taxable_income'|| t_ee_24qc_rec.taxable_income,7);

5165:
5166: IF(t_ee_live_rec.taxable_income <> t_ee_24qc_rec.taxable_income)
5167: THEN
5168: pay_in_utils.set_location(g_debug,'t_ee_live_rec.taxable_income'|| t_ee_live_rec.taxable_income,7);
5169: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.taxable_income'|| t_ee_24qc_rec.taxable_income,7);
5170: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 7',7);
5171: RETURN FALSE;
5172: END IF;
5173:

Line 5170: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 7',7);

5166: IF(t_ee_live_rec.taxable_income <> t_ee_24qc_rec.taxable_income)
5167: THEN
5168: pay_in_utils.set_location(g_debug,'t_ee_live_rec.taxable_income'|| t_ee_live_rec.taxable_income,7);
5169: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.taxable_income'|| t_ee_24qc_rec.taxable_income,7);
5170: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 7',7);
5171: RETURN FALSE;
5172: END IF;
5173:
5174: IF(t_person_live_data.full_name <> t_person_24q_data.full_name)

Line 5176: pay_in_utils.set_location(g_debug,'t_person_live_data.full_name'|| t_person_live_data.full_name,8);

5172: END IF;
5173:
5174: IF(t_person_live_data.full_name <> t_person_24q_data.full_name)
5175: THEN
5176: pay_in_utils.set_location(g_debug,'t_person_live_data.full_name'|| t_person_live_data.full_name,8);
5177: pay_in_utils.set_location(g_debug,'t_person_24q_data.full_name'|| t_person_24q_data.full_name,8);
5178: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 8',8);
5179: RETURN FALSE;
5180: END IF;

Line 5177: pay_in_utils.set_location(g_debug,'t_person_24q_data.full_name'|| t_person_24q_data.full_name,8);

5173:
5174: IF(t_person_live_data.full_name <> t_person_24q_data.full_name)
5175: THEN
5176: pay_in_utils.set_location(g_debug,'t_person_live_data.full_name'|| t_person_live_data.full_name,8);
5177: pay_in_utils.set_location(g_debug,'t_person_24q_data.full_name'|| t_person_24q_data.full_name,8);
5178: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 8',8);
5179: RETURN FALSE;
5180: END IF;
5181:

Line 5178: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 8',8);

5174: IF(t_person_live_data.full_name <> t_person_24q_data.full_name)
5175: THEN
5176: pay_in_utils.set_location(g_debug,'t_person_live_data.full_name'|| t_person_live_data.full_name,8);
5177: pay_in_utils.set_location(g_debug,'t_person_24q_data.full_name'|| t_person_24q_data.full_name,8);
5178: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 8',8);
5179: RETURN FALSE;
5180: END IF;
5181:
5182: IF(NVL(t_person_live_data.tax_rate,'NA') <> NVL(t_person_24q_data.tax_rate,'NA'))

Line 5184: pay_in_utils.set_location(g_debug,'t_person_live_data.tax_rate'|| t_person_live_data.tax_rate,9);

5180: END IF;
5181:
5182: IF(NVL(t_person_live_data.tax_rate,'NA') <> NVL(t_person_24q_data.tax_rate,'NA'))
5183: THEN
5184: pay_in_utils.set_location(g_debug,'t_person_live_data.tax_rate'|| t_person_live_data.tax_rate,9);
5185: pay_in_utils.set_location(g_debug,'t_person_24q_data.tax_rate'|| t_person_24q_data.tax_rate,9);
5186: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 9',9);
5187: RETURN FALSE;
5188: END IF;

Line 5185: pay_in_utils.set_location(g_debug,'t_person_24q_data.tax_rate'|| t_person_24q_data.tax_rate,9);

5181:
5182: IF(NVL(t_person_live_data.tax_rate,'NA') <> NVL(t_person_24q_data.tax_rate,'NA'))
5183: THEN
5184: pay_in_utils.set_location(g_debug,'t_person_live_data.tax_rate'|| t_person_live_data.tax_rate,9);
5185: pay_in_utils.set_location(g_debug,'t_person_24q_data.tax_rate'|| t_person_24q_data.tax_rate,9);
5186: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 9',9);
5187: RETURN FALSE;
5188: END IF;
5189:

Line 5186: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 9',9);

5182: IF(NVL(t_person_live_data.tax_rate,'NA') <> NVL(t_person_24q_data.tax_rate,'NA'))
5183: THEN
5184: pay_in_utils.set_location(g_debug,'t_person_live_data.tax_rate'|| t_person_live_data.tax_rate,9);
5185: pay_in_utils.set_location(g_debug,'t_person_24q_data.tax_rate'|| t_person_24q_data.tax_rate,9);
5186: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 9',9);
5187: RETURN FALSE;
5188: END IF;
5189:
5190: IF(NVL(t_person_live_data.pan_ref_number,'NA') <> NVL(t_person_24q_data.pan_ref_number,'NA'))

Line 5192: pay_in_utils.set_location(g_debug,'t_person_live_data.pan_ref_number'|| t_person_live_data.pan_ref_number,10);

5188: END IF;
5189:
5190: IF(NVL(t_person_live_data.pan_ref_number,'NA') <> NVL(t_person_24q_data.pan_ref_number,'NA'))
5191: THEN
5192: pay_in_utils.set_location(g_debug,'t_person_live_data.pan_ref_number'|| t_person_live_data.pan_ref_number,10);
5193: pay_in_utils.set_location(g_debug,'t_person_24q_data.pan_ref_number'|| t_person_24q_data.pan_ref_number,10);
5194: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 10',10);
5195: RETURN FALSE;
5196: END IF;

Line 5193: pay_in_utils.set_location(g_debug,'t_person_24q_data.pan_ref_number'|| t_person_24q_data.pan_ref_number,10);

5189:
5190: IF(NVL(t_person_live_data.pan_ref_number,'NA') <> NVL(t_person_24q_data.pan_ref_number,'NA'))
5191: THEN
5192: pay_in_utils.set_location(g_debug,'t_person_live_data.pan_ref_number'|| t_person_live_data.pan_ref_number,10);
5193: pay_in_utils.set_location(g_debug,'t_person_24q_data.pan_ref_number'|| t_person_24q_data.pan_ref_number,10);
5194: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 10',10);
5195: RETURN FALSE;
5196: END IF;
5197:

Line 5194: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 10',10);

5190: IF(NVL(t_person_live_data.pan_ref_number,'NA') <> NVL(t_person_24q_data.pan_ref_number,'NA'))
5191: THEN
5192: pay_in_utils.set_location(g_debug,'t_person_live_data.pan_ref_number'|| t_person_live_data.pan_ref_number,10);
5193: pay_in_utils.set_location(g_debug,'t_person_24q_data.pan_ref_number'|| t_person_24q_data.pan_ref_number,10);
5194: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 10',10);
5195: RETURN FALSE;
5196: END IF;
5197:
5198: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only No Diff',11);

Line 5198: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only No Diff',11);

5194: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 10',10);
5195: RETURN FALSE;
5196: END IF;
5197:
5198: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only No Diff',11);
5199: RETURN TRUE;
5200: EXCEPTION
5201: WHEN OTHERS THEN
5202: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

Line 5202: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

5198: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only No Diff',11);
5199: RETURN TRUE;
5200: EXCEPTION
5201: WHEN OTHERS THEN
5202: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
5203: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
5204: END check_c5_change_only;
5205:
5206:

Line 5203: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

5199: RETURN TRUE;
5200: EXCEPTION
5201: WHEN OTHERS THEN
5202: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
5203: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
5204: END check_c5_change_only;
5205:
5206:
5207: --------------------------------------------------------------------------

Line 5500: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

5496: BEGIN
5497:
5498: g_debug := hr_utility.debug_enabled;
5499: l_procedure := g_package ||'.archive_salary_data';
5500: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
5501: pay_in_utils.set_location(g_debug,'Fetching Salary Data ', 1);
5502:
5503: s := 1;
5504: l_24qa_source_id := NULL;

Line 5501: pay_in_utils.set_location(g_debug,'Fetching Salary Data ', 1);

5497:
5498: g_debug := hr_utility.debug_enabled;
5499: l_procedure := g_package ||'.archive_salary_data';
5500: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
5501: pay_in_utils.set_location(g_debug,'Fetching Salary Data ', 1);
5502:
5503: s := 1;
5504: l_24qa_source_id := NULL;
5505: l_24qa_asg_action_id := NULL;

Line 5508: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete : '|| g_count_sal_delete, 1);

5504: l_24qa_source_id := NULL;
5505: l_24qa_asg_action_id := NULL;
5506: IF (g_correction_mode IN('C4','C5','%'))
5507: THEN
5508: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete : '|| g_count_sal_delete, 1);
5509: FOR i IN 1..g_count_sal_delete - 1
5510: LOOP
5511:
5512: pay_in_utils.set_location(g_debug,'Checking archived presence of this deleted assignment action',1);

Line 5512: pay_in_utils.set_location(g_debug,'Checking archived presence of this deleted assignment action',1);

5508: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete : '|| g_count_sal_delete, 1);
5509: FOR i IN 1..g_count_sal_delete - 1
5510: LOOP
5511:
5512: pay_in_utils.set_location(g_debug,'Checking archived presence of this deleted assignment action',1);
5513: l_flag := -1;
5514: l_flag1 := -1;
5515: l_flag2 := -1;
5516: l_gre_count := 0;

Line 5521: pay_in_utils.trace('l_flag in g_count_sal_delete ',l_flag);

5517:
5518: l_flag := check_archival_status(g_sal_data_rec_del(i).source_id,'IN_24QC_PERSON',NULL,'D');
5519: l_flag1 := check_archival_status(g_sal_data_rec_del(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5520:
5521: pay_in_utils.trace('l_flag in g_count_sal_delete ',l_flag);
5522: pay_in_utils.trace('l_flag1 in g_count_sal_delete ',l_flag1);
5523:
5524: IF ((l_flag = 0) AND (l_flag1 = 0))
5525: THEN

Line 5522: pay_in_utils.trace('l_flag1 in g_count_sal_delete ',l_flag1);

5518: l_flag := check_archival_status(g_sal_data_rec_del(i).source_id,'IN_24QC_PERSON',NULL,'D');
5519: l_flag1 := check_archival_status(g_sal_data_rec_del(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5520:
5521: pay_in_utils.trace('l_flag in g_count_sal_delete ',l_flag);
5522: pay_in_utils.trace('l_flag1 in g_count_sal_delete ',l_flag1);
5523:
5524: IF ((l_flag = 0) AND (l_flag1 = 0))
5525: THEN
5526: pay_in_utils.set_location(g_debug,'Deleted Salary Detail Record Not Archived. Hence doing '||g_sal_data_rec_del(i).source_id,1);

Line 5526: pay_in_utils.set_location(g_debug,'Deleted Salary Detail Record Not Archived. Hence doing '||g_sal_data_rec_del(i).source_id,1);

5522: pay_in_utils.trace('l_flag1 in g_count_sal_delete ',l_flag1);
5523:
5524: IF ((l_flag = 0) AND (l_flag1 = 0))
5525: THEN
5526: pay_in_utils.set_location(g_debug,'Deleted Salary Detail Record Not Archived. Hence doing '||g_sal_data_rec_del(i).source_id,1);
5527:
5528: get_balance_values
5529: (
5530: g_sal_data_rec_del(i).source_id

Line 5546: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );

5542: -- if g_correction_mode = 'C5' and tab_24q_pe_data.pan_number IS VALID and
5543: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
5544: -- then not only arhcive this assignment data, but also last organization PA data
5545:
5546: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );
5547: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5548: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5549:
5550: IF ((g_correction_mode IN('C4','C5','%'))

Line 5547: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );

5543: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
5544: -- then not only arhcive this assignment data, but also last organization PA data
5545:
5546: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );
5547: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5548: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5549:
5550: IF ((g_correction_mode IN('C4','C5','%'))
5551: AND(tab_24q_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))

Line 5548: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );

5544: -- then not only arhcive this assignment data, but also last organization PA data
5545:
5546: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );
5547: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5548: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5549:
5550: IF ((g_correction_mode IN('C4','C5','%'))
5551: AND(tab_24q_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))
5552: AND(tab_liv_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))

Line 5577: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

5573: OPEN c_salary_number_24q(tab_liv_pe_data.person_id,g_sal_data_rec_del(i).source_id);
5574: FETCH c_salary_number_24q INTO j;
5575: CLOSE c_salary_number_24q;
5576:
5577: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5578: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5579:
5580: l_c5_change_only := TRUE;
5581: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

Line 5578: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

5574: FETCH c_salary_number_24q INTO j;
5575: CLOSE c_salary_number_24q;
5576:
5577: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5578: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5579:
5580: l_c5_change_only := TRUE;
5581: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5582: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

Line 5581: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

5577: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5578: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5579:
5580: l_c5_change_only := TRUE;
5581: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5582: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
5583:
5584: FOR j IN 1..tab_liv_ba_data.COUNT
5585: LOOP

Line 5582: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

5578: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5579:
5580: l_c5_change_only := TRUE;
5581: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5582: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
5583:
5584: FOR j IN 1..tab_liv_ba_data.COUNT
5585: LOOP
5586: FOR k IN 1..tab_24q_ba_data.COUNT

Line 5708: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

5704: OPEN c_max_salary_number_24q;
5705: FETCH c_max_salary_number_24q INTO j;
5706: CLOSE c_max_salary_number_24q;
5707:
5708: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5709: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5710:
5711: l_flag2 := check_archival_status(l_max_pact,'IN_24QC_PERSON',NULL,'A');
5712:

Line 5709: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

5705: FETCH c_max_salary_number_24q INTO j;
5706: CLOSE c_max_salary_number_24q;
5707:
5708: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5709: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5710:
5711: l_flag2 := check_archival_status(l_max_pact,'IN_24QC_PERSON',NULL,'A');
5712:
5713: IF (INSTR(l_action_information_category,'C4')<> 0) AND (g_correction_mode IN ('%','C4'))

Line 5717: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );

5713: IF (INSTR(l_action_information_category,'C4')<> 0) AND (g_correction_mode IN ('%','C4'))
5714: AND ((l_c5_change_only=FALSE)) AND (l_prev_pay) AND (g_quarter IN ('Q4') AND (l_flag2=0))
5715: THEN
5716:
5717: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );
5718: pay_in_utils.trace('l_max_pact : ', l_max_pact );
5719:
5720: pay_action_information_api.create_action_information
5721: (p_action_context_id => l_arch_asg_action_id

Line 5718: pay_in_utils.trace('l_max_pact : ', l_max_pact );

5714: AND ((l_c5_change_only=FALSE)) AND (l_prev_pay) AND (g_quarter IN ('Q4') AND (l_flag2=0))
5715: THEN
5716:
5717: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );
5718: pay_in_utils.trace('l_max_pact : ', l_max_pact );
5719:
5720: pay_action_information_api.create_action_information
5721: (p_action_context_id => l_arch_asg_action_id
5722: ,p_action_context_type => 'AAP'

Line 5787: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

5783: OPEN c_salary_number_24q(tab_liv_pe_data.person_id,g_sal_data_rec_del(i).source_id);
5784: FETCH c_salary_number_24q INTO j;
5785: CLOSE c_salary_number_24q;
5786:
5787: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5788: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5789:
5790:
5791: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_prev_pay) AND (l_flag1=0))

Line 5788: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

5784: FETCH c_salary_number_24q INTO j;
5785: CLOSE c_salary_number_24q;
5786:
5787: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5788: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5789:
5790:
5791: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_prev_pay) AND (l_flag1=0))
5792: THEN

Line 5852: pay_in_utils.set_location(g_debug,'Value of g_count_sal_addition : '|| g_count_sal_addition, 1);

5848: l_prev_asg_action_id := NULL;
5849: l_prev_category := NULL;
5850: IF (g_correction_mode IN('C4','C5','%'))
5851: THEN
5852: pay_in_utils.set_location(g_debug,'Value of g_count_sal_addition : '|| g_count_sal_addition, 1);
5853: FOR i IN 1..g_count_sal_addition - 1
5854: LOOP
5855:
5856: OPEN c_asg_act_id(p_24qa_pay_act_id,g_sal_data_rec_add(i).assignment_id);

Line 5862: pay_in_utils.set_location(g_debug,'Found source id in 24Q Correction: '|| l_24qa_source_id ,2);

5858: CLOSE c_asg_act_id;
5859:
5860: OPEN c_24qc_source_id(l_24qa_asg_action_id,g_sal_data_rec_add(i).assignment_id);
5861: FETCH c_24qc_source_id INTO l_24qa_source_id,l_24qa_asg_action_id;
5862: pay_in_utils.set_location(g_debug,'Found source id in 24Q Correction: '|| l_24qa_source_id ,2);
5863: CLOSE c_24qc_source_id;
5864:
5865: IF (l_24qa_source_id IS NOT NULL)
5866: THEN

Line 5873: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,2);

5869: END IF;
5870:
5871: IF (l_24qa_source_id IS NULL)
5872: THEN
5873: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,2);
5874: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,2);
5875: OPEN c_24qa_source_id(l_24qa_asg_action_id,g_sal_data_rec_add(i).assignment_id);
5876: FETCH c_24qa_source_id INTO l_24qa_source_id,l_24qa_asg_action_id;
5877: CLOSE c_24qa_source_id;

Line 5874: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,2);

5870:
5871: IF (l_24qa_source_id IS NULL)
5872: THEN
5873: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,2);
5874: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,2);
5875: OPEN c_24qa_source_id(l_24qa_asg_action_id,g_sal_data_rec_add(i).assignment_id);
5876: FETCH c_24qa_source_id INTO l_24qa_source_id,l_24qa_asg_action_id;
5877: CLOSE c_24qa_source_id;
5878: l_prev_asg_action_id := l_24qa_asg_action_id;

Line 5882: pay_in_utils.trace('l_24qa_source_id in g_count_sal_addition ',l_24qa_source_id);

5878: l_prev_asg_action_id := l_24qa_asg_action_id;
5879: l_prev_category := 'IN_24Q_SALARY';
5880: END IF;
5881:
5882: pay_in_utils.trace('l_24qa_source_id in g_count_sal_addition ',l_24qa_source_id);
5883:
5884: pay_in_utils.set_location(g_debug,'Checking archived presence of this added assignment action',1);
5885: l_flag := -1;
5886: l_flag1 := -1;

Line 5884: pay_in_utils.set_location(g_debug,'Checking archived presence of this added assignment action',1);

5880: END IF;
5881:
5882: pay_in_utils.trace('l_24qa_source_id in g_count_sal_addition ',l_24qa_source_id);
5883:
5884: pay_in_utils.set_location(g_debug,'Checking archived presence of this added assignment action',1);
5885: l_flag := -1;
5886: l_flag1 := -1;
5887: l_flag2 := -1;
5888: l_gre_count := 0;

Line 5891: pay_in_utils.trace('l_24qa_source_id in g_count_sal_addition ',l_24qa_source_id);

5887: l_flag2 := -1;
5888: l_gre_count := 0;
5889: l_prev_c5 := TRUE;
5890:
5891: pay_in_utils.trace('l_24qa_source_id in g_count_sal_addition ',l_24qa_source_id);
5892:
5893: l_flag := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'A');
5894: l_flag1 := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5895:

Line 5896: pay_in_utils.trace('l_flag in g_count_sal_addition :',l_flag);

5892:
5893: l_flag := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'A');
5894: l_flag1 := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5895:
5896: pay_in_utils.trace('l_flag in g_count_sal_addition :',l_flag);
5897: pay_in_utils.trace('l_flag1 in g_count_sal_addition :',l_flag1);
5898:
5899: IF ((l_flag = 0) AND (l_flag1 = 0))
5900: THEN

Line 5897: pay_in_utils.trace('l_flag1 in g_count_sal_addition :',l_flag1);

5893: l_flag := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'A');
5894: l_flag1 := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5895:
5896: pay_in_utils.trace('l_flag in g_count_sal_addition :',l_flag);
5897: pay_in_utils.trace('l_flag1 in g_count_sal_addition :',l_flag1);
5898:
5899: IF ((l_flag = 0) AND (l_flag1 = 0))
5900: THEN
5901: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);

Line 5901: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);

5897: pay_in_utils.trace('l_flag1 in g_count_sal_addition :',l_flag1);
5898:
5899: IF ((l_flag = 0) AND (l_flag1 = 0))
5900: THEN
5901: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);
5902:
5903: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5904: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5905: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);

Line 5903: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);

5899: IF ((l_flag = 0) AND (l_flag1 = 0))
5900: THEN
5901: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);
5902:
5903: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5904: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5905: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);
5906: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);
5907: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);

Line 5904: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);

5900: THEN
5901: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);
5902:
5903: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5904: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5905: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);
5906: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);
5907: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);
5908:

Line 5905: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);

5901: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);
5902:
5903: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5904: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5905: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);
5906: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);
5907: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);
5908:
5909:

Line 5906: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);

5902:
5903: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5904: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5905: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);
5906: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);
5907: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);
5908:
5909:
5910: IF (l_24qa_asg_action_id IS NULL) THEN

Line 5907: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);

5903: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5904: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5905: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);
5906: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);
5907: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);
5908:
5909:
5910: IF (l_24qa_asg_action_id IS NULL) THEN
5911: l_24qa_asg_action_id := g_sal_data_rec_add(i).source_id;

Line 5928: pay_in_utils.set_location(g_debug,'Called....get_balance_values ',1);

5924: ,tab_24q_pe_data
5925: ,l_gre_count
5926: );
5927:
5928: pay_in_utils.set_location(g_debug,'Called....get_balance_values ',1);
5929: pay_in_utils.set_location(g_debug,'Fetched balance data ', 1);
5930:
5931: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5932: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );

Line 5929: pay_in_utils.set_location(g_debug,'Fetched balance data ', 1);

5925: ,l_gre_count
5926: );
5927:
5928: pay_in_utils.set_location(g_debug,'Called....get_balance_values ',1);
5929: pay_in_utils.set_location(g_debug,'Fetched balance data ', 1);
5930:
5931: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5932: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5933:

Line 5931: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );

5927:
5928: pay_in_utils.set_location(g_debug,'Called....get_balance_values ',1);
5929: pay_in_utils.set_location(g_debug,'Fetched balance data ', 1);
5930:
5931: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5932: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5933:
5934:
5935: IF ((g_correction_mode IN('C4','C5','%'))

Line 5932: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );

5928: pay_in_utils.set_location(g_debug,'Called....get_balance_values ',1);
5929: pay_in_utils.set_location(g_debug,'Fetched balance data ', 1);
5930:
5931: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5932: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5933:
5934:
5935: IF ((g_correction_mode IN('C4','C5','%'))
5936: AND(tab_24q_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))

Line 5961: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

5957: OPEN c_salary_number_24q(tab_liv_pe_data.person_id,l_24qa_source_id);
5958: FETCH c_salary_number_24q INTO j;
5959: CLOSE c_salary_number_24q;
5960:
5961: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5962: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5963:
5964: l_c5_change_only := TRUE;
5965: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

Line 5962: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

5958: FETCH c_salary_number_24q INTO j;
5959: CLOSE c_salary_number_24q;
5960:
5961: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5962: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5963:
5964: l_c5_change_only := TRUE;
5965: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5966: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

Line 5965: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

5961: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5962: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5963:
5964: l_c5_change_only := TRUE;
5965: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5966: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
5967:
5968: FOR j IN 1..tab_liv_ba_data.COUNT
5969: LOOP

Line 5966: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

5962: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5963:
5964: l_c5_change_only := TRUE;
5965: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5966: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
5967:
5968: FOR j IN 1..tab_liv_ba_data.COUNT
5969: LOOP
5970: FOR k IN 1..tab_24q_ba_data.COUNT

Line 5993: pay_in_utils.trace('Addition Source ID : ', g_sal_data_rec_add(i).source_id );

5989: l_c5_change_only := FALSE;
5990: l_prev_c5 := FALSE;
5991: END IF;
5992:
5993: pay_in_utils.trace('Addition Source ID : ', g_sal_data_rec_add(i).source_id );
5994: pay_in_utils.trace('Addition Assignment ID : ', g_sal_data_rec_add(i).assignment_id );
5995:
5996: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_flag1=0) AND (l_prev_c5))
5997: THEN

Line 5994: pay_in_utils.trace('Addition Assignment ID : ', g_sal_data_rec_add(i).assignment_id );

5990: l_prev_c5 := FALSE;
5991: END IF;
5992:
5993: pay_in_utils.trace('Addition Source ID : ', g_sal_data_rec_add(i).source_id );
5994: pay_in_utils.trace('Addition Assignment ID : ', g_sal_data_rec_add(i).assignment_id );
5995:
5996: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_flag1=0) AND (l_prev_c5))
5997: THEN
5998: pay_action_information_api.create_action_information

Line 6052: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

6048: OPEN c_max_salary_number_24q;
6049: FETCH c_max_salary_number_24q INTO j;
6050: CLOSE c_max_salary_number_24q;
6051:
6052: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6053: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6054:
6055:
6056: IF (INSTR(l_action_information_category,'C4')<> 0) AND (g_correction_mode IN ('%','C4'))

Line 6053: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

6049: FETCH c_max_salary_number_24q INTO j;
6050: CLOSE c_max_salary_number_24q;
6051:
6052: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6053: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6054:
6055:
6056: IF (INSTR(l_action_information_category,'C4')<> 0) AND (g_correction_mode IN ('%','C4'))
6057: AND ((l_c5_change_only=FALSE)) AND (g_quarter IN ('Q4') AND (l_flag=0))

Line 6158: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

6154: OPEN c_salary_number_24q(tab_liv_pe_data.person_id,l_prev_max_pact);
6155: FETCH c_salary_number_24q INTO j;
6156: CLOSE c_salary_number_24q;
6157:
6158: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6159: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6160:
6161: l_flag2 := check_archival_status(l_prev_max_pact,'IN_24QC_PERSON',NULL,'D');
6162:

Line 6159: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

6155: FETCH c_salary_number_24q INTO j;
6156: CLOSE c_salary_number_24q;
6157:
6158: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6159: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6160:
6161: l_flag2 := check_archival_status(l_prev_max_pact,'IN_24QC_PERSON',NULL,'D');
6162:
6163: IF (INSTR(l_action_information_category,'C4')<> 0) AND (g_correction_mode IN ('%','C4'))

Line 6194: pay_in_utils.trace('l_balance_value : ',l_balance_value);

6190: OPEN c_get_bal_24q(l_prev_asg_action_id,l_prev_max_pact,l_prev_category,'F16 Gross Total Income');
6191: FETCH c_get_bal_24q INTO l_balance_value;
6192: CLOSE c_get_bal_24q;
6193:
6194: pay_in_utils.trace('l_balance_value : ',l_balance_value);
6195:
6196: IF ((l_prev_asg_action_id IS NOT NULL) AND (l_balance_value <> 0))
6197: THEN
6198:

Line 6250: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update : '|| g_count_sal_update, 1);

6246: l_24qa_source_id := NULL;
6247: l_24qa_asg_action_id := NULL;
6248: IF (g_correction_mode IN('C4','C5','%'))
6249: THEN
6250: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update : '|| g_count_sal_update, 1);
6251:
6252: FOR i IN 1..g_count_sal_update - 1
6253: LOOP
6254: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated assignment action',1);

Line 6254: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated assignment action',1);

6250: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update : '|| g_count_sal_update, 1);
6251:
6252: FOR i IN 1..g_count_sal_update - 1
6253: LOOP
6254: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated assignment action',1);
6255: l_flag := -1;
6256: l_flag1 := -1;
6257: l_flag2 := -1;
6258: l_gre_count := 0;

Line 6265: pay_in_utils.trace('l_flag in g_count_sal_update : ', l_flag );

6261: l_flag := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'A');
6262: l_flag1 := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'NA');
6263: l_flag2 := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'D');
6264:
6265: pay_in_utils.trace('l_flag in g_count_sal_update : ', l_flag );
6266: pay_in_utils.trace('l_flag1 in g_count_sal_update : ', l_flag1 );
6267: pay_in_utils.trace('l_flag2 in g_count_sal_update : ', l_flag2 );
6268:
6269:

Line 6266: pay_in_utils.trace('l_flag1 in g_count_sal_update : ', l_flag1 );

6262: l_flag1 := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'NA');
6263: l_flag2 := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'D');
6264:
6265: pay_in_utils.trace('l_flag in g_count_sal_update : ', l_flag );
6266: pay_in_utils.trace('l_flag1 in g_count_sal_update : ', l_flag1 );
6267: pay_in_utils.trace('l_flag2 in g_count_sal_update : ', l_flag2 );
6268:
6269:
6270: IF ((l_flag = 0) AND (l_flag1 = 0) )

Line 6267: pay_in_utils.trace('l_flag2 in g_count_sal_update : ', l_flag2 );

6263: l_flag2 := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'D');
6264:
6265: pay_in_utils.trace('l_flag in g_count_sal_update : ', l_flag );
6266: pay_in_utils.trace('l_flag1 in g_count_sal_update : ', l_flag1 );
6267: pay_in_utils.trace('l_flag2 in g_count_sal_update : ', l_flag2 );
6268:
6269:
6270: IF ((l_flag = 0) AND (l_flag1 = 0) )
6271: THEN

Line 6272: pay_in_utils.set_location(g_debug,'Updated Asg Action Not Archived. hence doing '||g_sal_data_rec_upd(i).source_id,1);

6268:
6269:
6270: IF ((l_flag = 0) AND (l_flag1 = 0) )
6271: THEN
6272: pay_in_utils.set_location(g_debug,'Updated Asg Action Not Archived. hence doing '||g_sal_data_rec_upd(i).source_id,1);
6273:
6274: pay_in_utils.set_location(g_debug,'Fetching balances...',2);
6275:
6276: get_balance_values

Line 6274: pay_in_utils.set_location(g_debug,'Fetching balances...',2);

6270: IF ((l_flag = 0) AND (l_flag1 = 0) )
6271: THEN
6272: pay_in_utils.set_location(g_debug,'Updated Asg Action Not Archived. hence doing '||g_sal_data_rec_upd(i).source_id,1);
6273:
6274: pay_in_utils.set_location(g_debug,'Fetching balances...',2);
6275:
6276: get_balance_values
6277: (
6278: g_sal_data_rec_upd(i).source_id

Line 6291: pay_in_utils.set_location(g_debug,'Fetched balances...',2);

6287: ,l_gre_count
6288: );
6289:
6290:
6291: pay_in_utils.set_location(g_debug,'Fetched balances...',2);
6292: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6293: pay_in_utils.set_location(g_debug,'Asg ID' || g_sal_data_rec_upd(i).assignment_id ,2);
6294: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,2);
6295:

Line 6292: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);

6288: );
6289:
6290:
6291: pay_in_utils.set_location(g_debug,'Fetched balances...',2);
6292: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6293: pay_in_utils.set_location(g_debug,'Asg ID' || g_sal_data_rec_upd(i).assignment_id ,2);
6294: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,2);
6295:
6296: OPEN c_asg_act_id(p_payroll_action_id,g_sal_data_rec_upd(i).assignment_id);

Line 6293: pay_in_utils.set_location(g_debug,'Asg ID' || g_sal_data_rec_upd(i).assignment_id ,2);

6289:
6290:
6291: pay_in_utils.set_location(g_debug,'Fetched balances...',2);
6292: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6293: pay_in_utils.set_location(g_debug,'Asg ID' || g_sal_data_rec_upd(i).assignment_id ,2);
6294: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,2);
6295:
6296: OPEN c_asg_act_id(p_payroll_action_id,g_sal_data_rec_upd(i).assignment_id);
6297: FETCH c_asg_act_id INTO l_arch_asg_action_id;

Line 6294: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,2);

6290:
6291: pay_in_utils.set_location(g_debug,'Fetched balances...',2);
6292: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6293: pay_in_utils.set_location(g_debug,'Asg ID' || g_sal_data_rec_upd(i).assignment_id ,2);
6294: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,2);
6295:
6296: OPEN c_asg_act_id(p_payroll_action_id,g_sal_data_rec_upd(i).assignment_id);
6297: FETCH c_asg_act_id INTO l_arch_asg_action_id;
6298: CLOSE c_asg_act_id;

Line 6300: pay_in_utils.set_location(g_debug,'Archival Assignment Action ID is :'|| l_arch_asg_action_id ,2);

6296: OPEN c_asg_act_id(p_payroll_action_id,g_sal_data_rec_upd(i).assignment_id);
6297: FETCH c_asg_act_id INTO l_arch_asg_action_id;
6298: CLOSE c_asg_act_id;
6299:
6300: pay_in_utils.set_location(g_debug,'Archival Assignment Action ID is :'|| l_arch_asg_action_id ,2);
6301:
6302: -- if g_correction_mode = 'C5' and tab_24q_pe_data.pan_number IS VALID and
6303: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
6304: -- then not only arhcive this assignment data, but also last organization PA data

Line 6306: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );

6302: -- if g_correction_mode = 'C5' and tab_24q_pe_data.pan_number IS VALID and
6303: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
6304: -- then not only arhcive this assignment data, but also last organization PA data
6305:
6306: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
6307: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
6308:
6309: IF ((g_correction_mode IN('C4','C5','%'))
6310: AND(tab_24q_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))

Line 6307: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );

6303: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
6304: -- then not only arhcive this assignment data, but also last organization PA data
6305:
6306: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
6307: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
6308:
6309: IF ((g_correction_mode IN('C4','C5','%'))
6310: AND(tab_24q_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))
6311: AND(tab_liv_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))

Line 6328: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

6324: OPEN c_salary_number_24q(tab_liv_pe_data.person_id,g_sal_data_rec_upd(i).source_id);
6325: FETCH c_salary_number_24q INTO j;
6326: CLOSE c_salary_number_24q;
6327:
6328: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6329: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6330:
6331: l_c5_change_only := TRUE;
6332: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

Line 6329: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

6325: FETCH c_salary_number_24q INTO j;
6326: CLOSE c_salary_number_24q;
6327:
6328: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6329: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6330:
6331: l_c5_change_only := TRUE;
6332: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
6333: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

Line 6332: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

6328: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6329: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6330:
6331: l_c5_change_only := TRUE;
6332: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
6333: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
6334:
6335: FOR j IN 1..tab_liv_ba_data.COUNT
6336: LOOP

Line 6333: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

6329: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6330:
6331: l_c5_change_only := TRUE;
6332: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
6333: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
6334:
6335: FOR j IN 1..tab_liv_ba_data.COUNT
6336: LOOP
6337: FOR k IN 1..tab_24q_ba_data.COUNT

Line 6365: pay_in_utils.trace('Update Source_id :',g_sal_data_rec_upd(i).source_id);

6361: THEN
6362: l_future_pay := FALSE;
6363: END IF;
6364:
6365: pay_in_utils.trace('Update Source_id :',g_sal_data_rec_upd(i).source_id);
6366: pay_in_utils.trace('l_max_pact ',l_max_pact);
6367: pay_in_utils.trace('l_gre_count in g_count_sal_update: ',l_gre_count);
6368:
6369: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_flag1=0) AND (l_future_pay=TRUE))

Line 6366: pay_in_utils.trace('l_max_pact ',l_max_pact);

6362: l_future_pay := FALSE;
6363: END IF;
6364:
6365: pay_in_utils.trace('Update Source_id :',g_sal_data_rec_upd(i).source_id);
6366: pay_in_utils.trace('l_max_pact ',l_max_pact);
6367: pay_in_utils.trace('l_gre_count in g_count_sal_update: ',l_gre_count);
6368:
6369: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_flag1=0) AND (l_future_pay=TRUE))
6370: THEN

Line 6367: pay_in_utils.trace('l_gre_count in g_count_sal_update: ',l_gre_count);

6363: END IF;
6364:
6365: pay_in_utils.trace('Update Source_id :',g_sal_data_rec_upd(i).source_id);
6366: pay_in_utils.trace('l_max_pact ',l_max_pact);
6367: pay_in_utils.trace('l_gre_count in g_count_sal_update: ',l_gre_count);
6368:
6369: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_flag1=0) AND (l_future_pay=TRUE))
6370: THEN
6371:

Line 6507: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

6503: OPEN c_max_salary_number_24q;
6504: FETCH c_max_salary_number_24q INTO j;
6505: CLOSE c_max_salary_number_24q;
6506:
6507: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6508: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6509:
6510: IF (INSTR(l_action_information_category,'C4')<> 0)AND(g_correction_mode IN ('%','C4'))
6511: AND (l_c5_change_only=FALSE) AND (g_quarter IN ('Q4') AND (l_flag = 0))

Line 6508: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

6504: FETCH c_max_salary_number_24q INTO j;
6505: CLOSE c_max_salary_number_24q;
6506:
6507: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6508: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6509:
6510: IF (INSTR(l_action_information_category,'C4')<> 0)AND(g_correction_mode IN ('%','C4'))
6511: AND (l_c5_change_only=FALSE) AND (g_quarter IN ('Q4') AND (l_flag = 0))
6512: THEN

Line 6578: pay_in_utils.set_location(g_debug,'Leaving '|| l_procedure, 5);

6574:
6575: END IF;
6576:
6577:
6578: pay_in_utils.set_location(g_debug,'Leaving '|| l_procedure, 5);
6579:
6580: EXCEPTION
6581: WHEN OTHERS THEN
6582: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

Line 6582: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

6578: pay_in_utils.set_location(g_debug,'Leaving '|| l_procedure, 5);
6579:
6580: EXCEPTION
6581: WHEN OTHERS THEN
6582: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
6583: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
6584: END archive_salary_data;
6585:
6586:

Line 6583: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

6579:
6580: EXCEPTION
6581: WHEN OTHERS THEN
6582: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
6583: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
6584: END archive_salary_data;
6585:
6586:
6587:

Line 6729: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

6725: l_message VARCHAR2(250);
6726: BEGIN
6727: g_debug := hr_utility.debug_enabled;
6728: l_procedure := g_package ||'.archive_deductee_data';
6729: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
6730: pay_in_utils.set_location(g_debug,'Fetching Deductee Data ', 1);
6731: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete : '|| g_count_ee_delete, 1);
6732: IF (g_correction_mode <> 'C9')
6733: THEN

Line 6730: pay_in_utils.set_location(g_debug,'Fetching Deductee Data ', 1);

6726: BEGIN
6727: g_debug := hr_utility.debug_enabled;
6728: l_procedure := g_package ||'.archive_deductee_data';
6729: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
6730: pay_in_utils.set_location(g_debug,'Fetching Deductee Data ', 1);
6731: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete : '|| g_count_ee_delete, 1);
6732: IF (g_correction_mode <> 'C9')
6733: THEN
6734: FOR i IN 1..g_count_ee_delete - 1

Line 6731: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete : '|| g_count_ee_delete, 1);

6727: g_debug := hr_utility.debug_enabled;
6728: l_procedure := g_package ||'.archive_deductee_data';
6729: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
6730: pay_in_utils.set_location(g_debug,'Fetching Deductee Data ', 1);
6731: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete : '|| g_count_ee_delete, 1);
6732: IF (g_correction_mode <> 'C9')
6733: THEN
6734: FOR i IN 1..g_count_ee_delete - 1
6735: LOOP

Line 6737: pay_in_utils.set_location(g_debug,'Checking archived presence of this deleted ee',1);

6733: THEN
6734: FOR i IN 1..g_count_ee_delete - 1
6735: LOOP
6736:
6737: pay_in_utils.set_location(g_debug,'Checking archived presence of this deleted ee',1);
6738: l_flag := -1;
6739:
6740: l_flag := check_archival_status(g_ee_data_rec_del(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'D');
6741: IF (l_flag = 0)

Line 6743: pay_in_utils.set_location(g_debug,'Deleted EE Not Archived. hence doing '||g_ee_data_rec_del(i).element_entry_id,1);

6739:
6740: l_flag := check_archival_status(g_ee_data_rec_del(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'D');
6741: IF (l_flag = 0)
6742: THEN
6743: pay_in_utils.set_location(g_debug,'Deleted EE Not Archived. hence doing '||g_ee_data_rec_del(i).element_entry_id,1);
6744:
6745: get_element_entry_values
6746: (
6747: g_ee_data_rec_del(i).element_entry_id

Line 6785: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);

6781: OPEN c_deductee_number_24q(tab_24q_ee_data.challan_number,g_ee_data_rec_del(i).element_entry_id);
6782: FETCH c_deductee_number_24q INTO j;
6783: CLOSE c_deductee_number_24q;
6784:
6785: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);
6786: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);
6787:
6788: IF (INSTR(l_action_information_category,'C5')<> 0)AND(g_correction_mode IN ('%','C5'))
6789: THEN

Line 6786: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);

6782: FETCH c_deductee_number_24q INTO j;
6783: CLOSE c_deductee_number_24q;
6784:
6785: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);
6786: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);
6787:
6788: IF (INSTR(l_action_information_category,'C5')<> 0)AND(g_correction_mode IN ('%','C5'))
6789: THEN
6790: l_category := SUBSTR(l_action_information_category

Line 6880: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition : '|| g_count_ee_addition, 1);

6876: END LOOP;
6877: END IF;
6878: IF (g_correction_mode <> 'C5')
6879: THEN
6880: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition : '|| g_count_ee_addition, 1);
6881: FOR i IN 1..g_count_ee_addition - 1
6882: LOOP
6883:
6884: pay_in_utils.set_location(g_debug,'Checking archived presence of this added ee',1);

Line 6884: pay_in_utils.set_location(g_debug,'Checking archived presence of this added ee',1);

6880: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition : '|| g_count_ee_addition, 1);
6881: FOR i IN 1..g_count_ee_addition - 1
6882: LOOP
6883:
6884: pay_in_utils.set_location(g_debug,'Checking archived presence of this added ee',1);
6885: l_flag := -1;
6886:
6887: l_flag := check_archival_status(g_ee_data_rec_add(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'A');
6888: IF (l_flag = 0)

Line 6890: pay_in_utils.set_location(g_debug,'Added EE Not Archived. hence doing '||g_ee_data_rec_add(i).element_entry_id,1);

6886:
6887: l_flag := check_archival_status(g_ee_data_rec_add(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'A');
6888: IF (l_flag = 0)
6889: THEN
6890: pay_in_utils.set_location(g_debug,'Added EE Not Archived. hence doing '||g_ee_data_rec_add(i).element_entry_id,1);
6891:
6892: IF (l_dummy <> pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number'))
6893: THEN
6894: s := 1;

Line 6892: IF (l_dummy <> pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number'))

6888: IF (l_flag = 0)
6889: THEN
6890: pay_in_utils.set_location(g_debug,'Added EE Not Archived. hence doing '||g_ee_data_rec_add(i).element_entry_id,1);
6891:
6892: IF (l_dummy <> pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number'))
6893: THEN
6894: s := 1;
6895: l_dummy := pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number');
6896: END IF;

Line 6895: l_dummy := pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number');

6891:
6892: IF (l_dummy <> pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number'))
6893: THEN
6894: s := 1;
6895: l_dummy := pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number');
6896: END IF;
6897:
6898: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6899: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);

Line 6898: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);

6894: s := 1;
6895: l_dummy := pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number');
6896: END IF;
6897:
6898: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6899: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);
6900: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);
6901: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);
6902: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);

Line 6899: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);

6895: l_dummy := pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number');
6896: END IF;
6897:
6898: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6899: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);
6900: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);
6901: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);
6902: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);
6903: get_element_entry_values

Line 6900: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);

6896: END IF;
6897:
6898: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6899: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);
6900: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);
6901: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);
6902: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);
6903: get_element_entry_values
6904: (

Line 6901: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);

6897:
6898: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6899: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);
6900: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);
6901: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);
6902: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);
6903: get_element_entry_values
6904: (
6905: g_ee_data_rec_add(i).element_entry_id

Line 6902: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);

6898: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6899: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);
6900: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);
6901: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);
6902: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);
6903: get_element_entry_values
6904: (
6905: g_ee_data_rec_add(i).element_entry_id
6906: ,g_ee_data_rec_add(i).last_action_context_id

Line 6913: pay_in_utils.set_location(g_debug,'Called....get_element_entry_values ',1);

6909: ,tab_24q_ee_data
6910: ,tab_liv_pe_data
6911: ,tab_24q_pe_data
6912: );
6913: pay_in_utils.set_location(g_debug,'Called....get_element_entry_values ',1);
6914: pay_in_utils.set_location(g_debug,'Fetched element entry data ', 1);
6915:
6916: OPEN c_asg_act_id(g_ee_data_rec_add(i).assignment_id);
6917: FETCH c_asg_act_id INTO l_arch_asg_action_id;

Line 6914: pay_in_utils.set_location(g_debug,'Fetched element entry data ', 1);

6910: ,tab_liv_pe_data
6911: ,tab_24q_pe_data
6912: );
6913: pay_in_utils.set_location(g_debug,'Called....get_element_entry_values ',1);
6914: pay_in_utils.set_location(g_debug,'Fetched element entry data ', 1);
6915:
6916: OPEN c_asg_act_id(g_ee_data_rec_add(i).assignment_id);
6917: FETCH c_asg_act_id INTO l_arch_asg_action_id;
6918: CLOSE c_asg_act_id;

Line 6922: pay_in_utils.set_location(g_debug,'Value of p_24qa_pay_act_id is ' || p_24qa_pay_act_id ,1);

6918: CLOSE c_asg_act_id;
6919:
6920: j := -1;
6921: k := -1;
6922: pay_in_utils.set_location(g_debug,'Value of p_24qa_pay_act_id is ' || p_24qa_pay_act_id ,1);
6923: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24Q for ' || tab_liv_ee_data.challan_number,1);
6924: OPEN c_max_challan_number_24q(tab_liv_ee_data.challan_number);
6925: FETCH c_max_challan_number_24q INTO k;
6926: CLOSE c_max_challan_number_24q;

Line 6923: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24Q for ' || tab_liv_ee_data.challan_number,1);

6919:
6920: j := -1;
6921: k := -1;
6922: pay_in_utils.set_location(g_debug,'Value of p_24qa_pay_act_id is ' || p_24qa_pay_act_id ,1);
6923: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24Q for ' || tab_liv_ee_data.challan_number,1);
6924: OPEN c_max_challan_number_24q(tab_liv_ee_data.challan_number);
6925: FETCH c_max_challan_number_24q INTO k;
6926: CLOSE c_max_challan_number_24q;
6927: pay_in_utils.set_location(g_debug,'Number found is ' || k, 2);

Line 6927: pay_in_utils.set_location(g_debug,'Number found is ' || k, 2);

6923: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24Q for ' || tab_liv_ee_data.challan_number,1);
6924: OPEN c_max_challan_number_24q(tab_liv_ee_data.challan_number);
6925: FETCH c_max_challan_number_24q INTO k;
6926: CLOSE c_max_challan_number_24q;
6927: pay_in_utils.set_location(g_debug,'Number found is ' || k, 2);
6928: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24QC for ' || tab_liv_ee_data.challan_number,1);
6929: OPEN c_max_challan_number_24qc(tab_liv_ee_data.challan_number);
6930: FETCH c_max_challan_number_24qc INTO j;
6931: CLOSE c_max_challan_number_24qc;

Line 6928: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24QC for ' || tab_liv_ee_data.challan_number,1);

6924: OPEN c_max_challan_number_24q(tab_liv_ee_data.challan_number);
6925: FETCH c_max_challan_number_24q INTO k;
6926: CLOSE c_max_challan_number_24q;
6927: pay_in_utils.set_location(g_debug,'Number found is ' || k, 2);
6928: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24QC for ' || tab_liv_ee_data.challan_number,1);
6929: OPEN c_max_challan_number_24qc(tab_liv_ee_data.challan_number);
6930: FETCH c_max_challan_number_24qc INTO j;
6931: CLOSE c_max_challan_number_24qc;
6932: pay_in_utils.set_location(g_debug,'Number found is ' || j, 2);

Line 6932: pay_in_utils.set_location(g_debug,'Number found is ' || j, 2);

6928: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24QC for ' || tab_liv_ee_data.challan_number,1);
6929: OPEN c_max_challan_number_24qc(tab_liv_ee_data.challan_number);
6930: FETCH c_max_challan_number_24qc INTO j;
6931: CLOSE c_max_challan_number_24qc;
6932: pay_in_utils.set_location(g_debug,'Number found is ' || j, 2);
6933:
6934: pay_action_information_api.create_action_information
6935: (p_action_context_id => l_arch_asg_action_id
6936: ,p_action_context_type => 'AAP'

Line 6972: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update : '|| g_count_ee_update, 1);

6968: s := s + 1;
6969: END IF;
6970: END LOOP;
6971: END IF;
6972: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update : '|| g_count_ee_update, 1);
6973: FOR i IN 1..g_count_ee_update - 1
6974: LOOP
6975: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated ee',1);
6976: l_flag := -1;

Line 6975: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated ee',1);

6971: END IF;
6972: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update : '|| g_count_ee_update, 1);
6973: FOR i IN 1..g_count_ee_update - 1
6974: LOOP
6975: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated ee',1);
6976: l_flag := -1;
6977:
6978: l_flag := check_archival_status(g_ee_data_rec_upd(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'U');
6979: IF (l_flag = 0)

Line 6981: pay_in_utils.set_location(g_debug,'Updated EE Not Archived. hence doing '||g_ee_data_rec_upd(i).element_entry_id,1);

6977:
6978: l_flag := check_archival_status(g_ee_data_rec_upd(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'U');
6979: IF (l_flag = 0)
6980: THEN
6981: pay_in_utils.set_location(g_debug,'Updated EE Not Archived. hence doing '||g_ee_data_rec_upd(i).element_entry_id,1);
6982:
6983: pay_in_utils.set_location(g_debug,'Fetching element entries...',2);
6984: get_element_entry_values
6985: (

Line 6983: pay_in_utils.set_location(g_debug,'Fetching element entries...',2);

6979: IF (l_flag = 0)
6980: THEN
6981: pay_in_utils.set_location(g_debug,'Updated EE Not Archived. hence doing '||g_ee_data_rec_upd(i).element_entry_id,1);
6982:
6983: pay_in_utils.set_location(g_debug,'Fetching element entries...',2);
6984: get_element_entry_values
6985: (
6986: g_ee_data_rec_upd(i).element_entry_id
6987: ,g_ee_data_rec_upd(i).last_action_context_id

Line 6995: pay_in_utils.set_location(g_debug,'Fetched element entries...',2);

6991: ,tab_liv_pe_data
6992: ,tab_24q_pe_data
6993: );
6994:
6995: pay_in_utils.set_location(g_debug,'Fetched element entries...',2);
6996: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6997: pay_in_utils.set_location(g_debug,'Asg ID' || g_ee_data_rec_upd(i).assignment_id ,1);
6998: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,1);
6999:

Line 6996: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);

6992: ,tab_24q_pe_data
6993: );
6994:
6995: pay_in_utils.set_location(g_debug,'Fetched element entries...',2);
6996: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6997: pay_in_utils.set_location(g_debug,'Asg ID' || g_ee_data_rec_upd(i).assignment_id ,1);
6998: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,1);
6999:
7000: OPEN c_asg_act_id(g_ee_data_rec_upd(i).assignment_id);

Line 6997: pay_in_utils.set_location(g_debug,'Asg ID' || g_ee_data_rec_upd(i).assignment_id ,1);

6993: );
6994:
6995: pay_in_utils.set_location(g_debug,'Fetched element entries...',2);
6996: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6997: pay_in_utils.set_location(g_debug,'Asg ID' || g_ee_data_rec_upd(i).assignment_id ,1);
6998: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,1);
6999:
7000: OPEN c_asg_act_id(g_ee_data_rec_upd(i).assignment_id);
7001: FETCH c_asg_act_id INTO l_arch_asg_action_id;

Line 6998: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,1);

6994:
6995: pay_in_utils.set_location(g_debug,'Fetched element entries...',2);
6996: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6997: pay_in_utils.set_location(g_debug,'Asg ID' || g_ee_data_rec_upd(i).assignment_id ,1);
6998: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,1);
6999:
7000: OPEN c_asg_act_id(g_ee_data_rec_upd(i).assignment_id);
7001: FETCH c_asg_act_id INTO l_arch_asg_action_id;
7002: CLOSE c_asg_act_id;

Line 7004: pay_in_utils.set_location(g_debug,'Archival Assignment Action ID is :'|| l_arch_asg_action_id ,2);

7000: OPEN c_asg_act_id(g_ee_data_rec_upd(i).assignment_id);
7001: FETCH c_asg_act_id INTO l_arch_asg_action_id;
7002: CLOSE c_asg_act_id;
7003:
7004: pay_in_utils.set_location(g_debug,'Archival Assignment Action ID is :'|| l_arch_asg_action_id ,2);
7005:
7006: OPEN c_deductee_number_24qc(tab_24q_ee_data.challan_number,g_ee_data_rec_upd(i).element_entry_id);
7007: FETCH c_deductee_number_24qc INTO k;
7008: CLOSE c_deductee_number_24qc;

Line 7014: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);

7010: OPEN c_deductee_number_24q(tab_24q_ee_data.challan_number,g_ee_data_rec_upd(i).element_entry_id);
7011: FETCH c_deductee_number_24q INTO j;
7012: CLOSE c_deductee_number_24q;
7013:
7014: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);
7015:
7016: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);
7017: -- if g_correction_mode = 'C5' and tab_24q_pe_data.pan_number IS VALID and
7018: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other

Line 7016: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);

7012: CLOSE c_deductee_number_24q;
7013:
7014: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);
7015:
7016: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);
7017: -- if g_correction_mode = 'C5' and tab_24q_pe_data.pan_number IS VALID and
7018: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
7019: -- then not only arhcive this assignment data, but also last organization PA data
7020:

Line 7031: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);

7027: OPEN c_c5_correction_type_details(g_ee_data_rec_upd(i).last_action_context_id);
7028: FETCH c_c5_correction_type_details INTO l_action_information_category,l_action_context_id;
7029: CLOSE c_c5_correction_type_details;
7030:
7031: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);
7032: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);
7033: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);
7034: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);
7035: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);

Line 7032: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);

7028: FETCH c_c5_correction_type_details INTO l_action_information_category,l_action_context_id;
7029: CLOSE c_c5_correction_type_details;
7030:
7031: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);
7032: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);
7033: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);
7034: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);
7035: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);
7036:

Line 7033: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);

7029: CLOSE c_c5_correction_type_details;
7030:
7031: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);
7032: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);
7033: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);
7034: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);
7035: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);
7036:
7037: l_c5_change := check_c5_change_only(g_ee_data_rec_upd(i).element_entry_id

Line 7034: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);

7030:
7031: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);
7032: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);
7033: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);
7034: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);
7035: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);
7036:
7037: l_c5_change := check_c5_change_only(g_ee_data_rec_upd(i).element_entry_id
7038: ,g_ee_data_rec_upd(i).last_action_context_id

Line 7035: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);

7031: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);
7032: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);
7033: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);
7034: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);
7035: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);
7036:
7037: l_c5_change := check_c5_change_only(g_ee_data_rec_upd(i).element_entry_id
7038: ,g_ee_data_rec_upd(i).last_action_context_id
7039: ,g_ee_data_rec_upd(i).assignment_id

Line 7045: pay_in_utils.set_location(g_debug,'Only C5 Change!!!',3);

7041: IF (l_c5_change)
7042: THEN
7043: IF (g_correction_mode IN ('%','C5'))
7044: THEN
7045: pay_in_utils.set_location(g_debug,'Only C5 Change!!!',3);
7046: l_action_information_category := l_action_information_category || ':C5';
7047: END IF;
7048: ELSIF g_correction_mode = '%'
7049: THEN

Line 7050: pay_in_utils.set_location(g_debug,'C3 and C5 Change is there!',4);

7046: l_action_information_category := l_action_information_category || ':C5';
7047: END IF;
7048: ELSIF g_correction_mode = '%'
7049: THEN
7050: pay_in_utils.set_location(g_debug,'C3 and C5 Change is there!',4);
7051: l_action_information_category := l_action_information_category || ':C3:C5';
7052: ELSIF g_correction_mode = 'C5'
7053: THEN
7054: l_action_information_category := l_action_information_category || ':C5';

Line 7063: pay_in_utils.set_location(g_debug,'l_action_information_category is '|| l_action_information_category,1);

7059: l_action_information_category := 'C3';
7060: l_action_context_id := NULL;
7061: END IF;
7062:
7063: pay_in_utils.set_location(g_debug,'l_action_information_category is '|| l_action_information_category,1);
7064:
7065: IF (INSTR(l_action_information_category,'C5')<> 0)AND(g_correction_mode IN ('%','C5'))
7066: THEN
7067: pay_in_utils.set_location(g_debug,'Archiving C5 data for this deductee',1);

Line 7067: pay_in_utils.set_location(g_debug,'Archiving C5 data for this deductee',1);

7063: pay_in_utils.set_location(g_debug,'l_action_information_category is '|| l_action_information_category,1);
7064:
7065: IF (INSTR(l_action_information_category,'C5')<> 0)AND(g_correction_mode IN ('%','C5'))
7066: THEN
7067: pay_in_utils.set_location(g_debug,'Archiving C5 data for this deductee',1);
7068: l_category := SUBSTR(l_action_information_category
7069: ,1
7070: ,INSTR(l_action_information_category,'G')
7071: );

Line 7112: pay_in_utils.set_location(g_debug,'Archiving C3 data for this deductee',1);

7108: END IF;
7109:
7110: IF (INSTR(l_action_information_category,'C3')<> 0)AND(g_correction_mode IN ('%','C3'))
7111: THEN
7112: pay_in_utils.set_location(g_debug,'Archiving C3 data for this deductee',1);
7113: l_category := SUBSTR(l_action_information_category
7114: ,1
7115: ,INSTR(l_action_information_category,'G')
7116: );

Line 7156: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_deductee_data ', 5);

7152: );
7153: END IF;
7154: END IF;
7155: END LOOP;
7156: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_deductee_data ', 5);
7157: EXCEPTION
7158: WHEN OTHERS THEN
7159: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7160: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 7159: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

7155: END LOOP;
7156: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_deductee_data ', 5);
7157: EXCEPTION
7158: WHEN OTHERS THEN
7159: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7160: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7161: END archive_deductee_data;
7162:
7163: --------------------------------------------------------------------------

Line 7160: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

7156: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_deductee_data ', 5);
7157: EXCEPTION
7158: WHEN OTHERS THEN
7159: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7160: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7161: END archive_deductee_data;
7162:
7163: --------------------------------------------------------------------------
7164: -- --

Line 7270: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

7266: l_message VARCHAR2(250);
7267: BEGIN
7268: g_debug := hr_utility.debug_enabled;
7269: l_procedure := g_package ||'.archive_no_change_challan';
7270: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7271: FOR c_rec IN c_populate_no_change_data
7272: LOOP
7273: l_flag := TRUE;
7274:

Line 7275: pay_in_utils.set_location(g_debug,'Checking in Added Challans ', 1);

7271: FOR c_rec IN c_populate_no_change_data
7272: LOOP
7273: l_flag := TRUE;
7274:
7275: pay_in_utils.set_location(g_debug,'Checking in Added Challans ', 1);
7276: -- Checking in Added Challans
7277: FOR i IN 1..g_count_challan_add - 1
7278: LOOP
7279: IF( (g_challan_data_add(i).transfer_voucher_number = NVL(c_rec.bank_branch_code,'BOOK')||' - '||c_rec.challan_number||' - '||to_char(fnd_date.canonical_to_date(c_rec.transfer_voucher_date),'DD-Mon-RRRR') )

Line 7288: pay_in_utils.set_location(g_debug,'Checking in Updated Challans ', 1);

7284: l_flag := FALSE;
7285: END IF;
7286: END LOOP;
7287:
7288: pay_in_utils.set_location(g_debug,'Checking in Updated Challans ', 1);
7289: FOR i IN 1..g_count_challan_upd - 1
7290: LOOP
7291: IF ((g_challan_data_upd(i).transfer_voucher_number = NVL(c_rec.bank_branch_code,'BOOK')||' - '||c_rec.challan_number||' - '||to_char(fnd_date.canonical_to_date(c_rec.transfer_voucher_date),'DD-Mon-RRRR') )
7292: OR

Line 7320: pay_in_utils.set_location(g_debug,'Checking Challan no change status',1);

7316: END LOOP;
7317:
7318: FOR i IN 1..g_count_challan_noc - 1
7319: LOOP
7320: pay_in_utils.set_location(g_debug,'Checking Challan no change status',1);
7321: l_flag_number := -1;
7322: l_flag_number := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_noc(i).transfer_voucher_number,NULL);
7323: IF (l_flag_number = 0 AND g_correction_mode <> 'C5')
7324: THEN

Line 7325: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival',2);

7321: l_flag_number := -1;
7322: l_flag_number := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_noc(i).transfer_voucher_number,NULL);
7323: IF (l_flag_number = 0 AND g_correction_mode <> 'C5')
7324: THEN
7325: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival',2);
7326: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival for g_challan_data_noc(i).transfer_voucher_number' || g_challan_data_noc(i).transfer_voucher_number,2);
7327: OPEN c_latest_correction_details(g_challan_data_noc(i).transfer_voucher_number);
7328: FETCH c_latest_correction_details INTO l_pre_bank_branch_code
7329: ,l_pre_transfer_voucher_date

Line 7326: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival for g_challan_data_noc(i).transfer_voucher_number' || g_challan_data_noc(i).transfer_voucher_number,2);

7322: l_flag_number := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_noc(i).transfer_voucher_number,NULL);
7323: IF (l_flag_number = 0 AND g_correction_mode <> 'C5')
7324: THEN
7325: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival',2);
7326: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival for g_challan_data_noc(i).transfer_voucher_number' || g_challan_data_noc(i).transfer_voucher_number,2);
7327: OPEN c_latest_correction_details(g_challan_data_noc(i).transfer_voucher_number);
7328: FETCH c_latest_correction_details INTO l_pre_bank_branch_code
7329: ,l_pre_transfer_voucher_date
7330: ,l_previous_total_amount

Line 7334: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);

7330: ,l_previous_total_amount
7331: ,l_challan_deductee_no
7332: ,l_action_information_id;
7333: CLOSE c_latest_correction_details;
7334: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7335: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7336: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7337: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7338: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);

Line 7335: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);

7331: ,l_challan_deductee_no
7332: ,l_action_information_id;
7333: CLOSE c_latest_correction_details;
7334: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7335: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7336: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7337: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7338: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7339: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);

Line 7336: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);

7332: ,l_action_information_id;
7333: CLOSE c_latest_correction_details;
7334: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7335: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7336: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7337: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7338: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7339: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7340:

Line 7337: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);

7333: CLOSE c_latest_correction_details;
7334: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7335: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7336: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7337: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7338: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7339: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7340:
7341:

Line 7338: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);

7334: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7335: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7336: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7337: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7338: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7339: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7340:
7341:
7342: IF (l_action_information_id IS NULL)

Line 7339: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);

7335: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7336: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7337: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7338: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7339: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7340:
7341:
7342: IF (l_action_information_id IS NULL)
7343: THEN

Line 7344: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Archival',2);

7340:
7341:
7342: IF (l_action_information_id IS NULL)
7343: THEN
7344: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Archival',2);
7345: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival for g_challan_data_noc(i).transfer_voucher_number' || g_challan_data_noc(i).transfer_voucher_number,2);
7346: OPEN c_24q_details(g_challan_data_noc(i).transfer_voucher_number);
7347: FETCH c_24q_details INTO l_pre_bank_branch_code
7348: ,l_pre_transfer_voucher_date

Line 7345: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival for g_challan_data_noc(i).transfer_voucher_number' || g_challan_data_noc(i).transfer_voucher_number,2);

7341:
7342: IF (l_action_information_id IS NULL)
7343: THEN
7344: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Archival',2);
7345: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival for g_challan_data_noc(i).transfer_voucher_number' || g_challan_data_noc(i).transfer_voucher_number,2);
7346: OPEN c_24q_details(g_challan_data_noc(i).transfer_voucher_number);
7347: FETCH c_24q_details INTO l_pre_bank_branch_code
7348: ,l_pre_transfer_voucher_date
7349: ,l_previous_total_amount

Line 7352: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);

7348: ,l_pre_transfer_voucher_date
7349: ,l_previous_total_amount
7350: ,l_challan_deductee_no;
7351: CLOSE c_24q_details;
7352: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7353: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7354: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7355: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7356: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);

Line 7353: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);

7349: ,l_previous_total_amount
7350: ,l_challan_deductee_no;
7351: CLOSE c_24q_details;
7352: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7353: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7354: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7355: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7356: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7357: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);

Line 7354: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);

7350: ,l_challan_deductee_no;
7351: CLOSE c_24q_details;
7352: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7353: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7354: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7355: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7356: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7357: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7358: END IF;

Line 7355: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);

7351: CLOSE c_24q_details;
7352: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7353: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7354: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7355: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7356: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7357: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7358: END IF;
7359: -- Now Archive these details

Line 7356: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);

7352: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7353: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7354: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7355: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7356: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7357: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7358: END IF;
7359: -- Now Archive these details
7360: pay_action_information_api.create_action_information

Line 7357: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);

7353: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7354: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7355: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7356: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7357: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7358: END IF;
7359: -- Now Archive these details
7360: pay_action_information_api.create_action_information
7361: (p_action_context_id => p_24qc_pay_act_id

Line 7390: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_no_change_challan ', 5);

7386: ,p_object_version_number => l_ovn
7387: );
7388: END IF;
7389: END LOOP;
7390: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_no_change_challan ', 5);
7391: EXCEPTION
7392: WHEN OTHERS THEN
7393: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7394: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 7393: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

7389: END LOOP;
7390: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_no_change_challan ', 5);
7391: EXCEPTION
7392: WHEN OTHERS THEN
7393: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7394: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7395: END archive_no_change_challan;
7396: --------------------------------------------------------------------------
7397: -- --

Line 7394: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

7390: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_no_change_challan ', 5);
7391: EXCEPTION
7392: WHEN OTHERS THEN
7393: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7394: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7395: END archive_no_change_challan;
7396: --------------------------------------------------------------------------
7397: -- --
7398: -- Name : ARCHIVE_CHALLAN_DATA --

Line 7478: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

7474: l_message VARCHAR2(250);
7475: BEGIN
7476: g_debug := hr_utility.debug_enabled;
7477: l_procedure := g_package ||'.archive_challan_data';
7478: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7479: pay_in_utils.set_location(g_debug,'Fetching Challan Data ', 1);
7480: BEGIN
7481: SELECT MAX(TO_NUMBER(action_information25))
7482: INTO j

Line 7479: pay_in_utils.set_location(g_debug,'Fetching Challan Data ', 1);

7475: BEGIN
7476: g_debug := hr_utility.debug_enabled;
7477: l_procedure := g_package ||'.archive_challan_data';
7478: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7479: pay_in_utils.set_location(g_debug,'Fetching Challan Data ', 1);
7480: BEGIN
7481: SELECT MAX(TO_NUMBER(action_information25))
7482: INTO j
7483: FROM pay_action_information

Line 7499: pay_in_utils.set_location(g_debug,'Addition:Value of j is : '|| j ,1);

7495: AND org_information5 = 'A'
7496: AND org_information6 = 'O'
7497: );
7498:
7499: pay_in_utils.set_location(g_debug,'Addition:Value of j is : '|| j ,1);
7500: SELECT MAX(TO_NUMBER(action_information25))
7501: INTO k
7502: FROM pay_action_information
7503: WHERE action_information_category = 'IN_24QC_CHALLAN'

Line 7522: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);

7518: WHEN OTHERS THEN
7519: NULL;
7520: END;
7521:
7522: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);
7523: l_challan_record_number := GREATEST(NVL(j,0),NVL(k,0));
7524:
7525: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);
7526:

Line 7525: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);

7521:
7522: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);
7523: l_challan_record_number := GREATEST(NVL(j,0),NVL(k,0));
7524:
7525: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);
7526:
7527: --if C9 only new Challans would (addition/Insert) be archived
7528: IF (g_correction_mode IN ('C9','%'))
7529: THEN

Line 7532: pay_in_utils.set_location(g_debug,'Checking archived presence of this added challan',1);

7528: IF (g_correction_mode IN ('C9','%'))
7529: THEN
7530: FOR i IN 1.. g_count_challan_add - 1
7531: LOOP
7532: pay_in_utils.set_location(g_debug,'Checking archived presence of this added challan',1);
7533: l_flag := -1;
7534:
7535: l_flag := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_add(i).transfer_voucher_number,NULL);
7536: IF (l_flag = 0)

Line 7538: pay_in_utils.set_location(g_debug,'Archiving added challan ' || g_challan_data_add(i).transfer_voucher_number,1);

7534:
7535: l_flag := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_add(i).transfer_voucher_number,NULL);
7536: IF (l_flag = 0)
7537: THEN
7538: pay_in_utils.set_location(g_debug,'Archiving added challan ' || g_challan_data_add(i).transfer_voucher_number,1);
7539: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,1);
7540: OPEN c_challan_live_data(g_challan_data_add(i).transfer_voucher_number,g_challan_data_add(i).org_information_id);
7541: FETCH c_challan_live_data INTO l_transfer_voucher_number,
7542: l_transfer_voucher_date,

Line 7539: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,1);

7535: l_flag := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_add(i).transfer_voucher_number,NULL);
7536: IF (l_flag = 0)
7537: THEN
7538: pay_in_utils.set_location(g_debug,'Archiving added challan ' || g_challan_data_add(i).transfer_voucher_number,1);
7539: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,1);
7540: OPEN c_challan_live_data(g_challan_data_add(i).transfer_voucher_number,g_challan_data_add(i).org_information_id);
7541: FETCH c_challan_live_data INTO l_transfer_voucher_number,
7542: l_transfer_voucher_date,
7543: l_amount,

Line 7553: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,1);

7549: l_cheque_dd_num,
7550: l_book_entry,
7551: l_org_information_id;
7552: CLOSE c_challan_live_data;
7553: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,1);
7554:
7555: pay_in_utils.set_location(g_debug,'Archiving Data ' ,1);
7556: pay_action_information_api.create_action_information
7557: (p_action_context_id => p_24qc_pay_act_id

Line 7555: pay_in_utils.set_location(g_debug,'Archiving Data ' ,1);

7551: l_org_information_id;
7552: CLOSE c_challan_live_data;
7553: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,1);
7554:
7555: pay_in_utils.set_location(g_debug,'Archiving Data ' ,1);
7556: pay_action_information_api.create_action_information
7557: (p_action_context_id => p_24qc_pay_act_id
7558: ,p_action_context_type => 'PA'
7559: ,p_action_information_category => 'IN_24QC_CHALLAN'

Line 7588: pay_in_utils.set_location(g_debug,'Fetching Updated Challan Data ' ,1);

7584: END IF;
7585: END LOOP;
7586: END IF;
7587:
7588: pay_in_utils.set_location(g_debug,'Fetching Updated Challan Data ' ,1);
7589: --C2,C3 then archive only updated Challans
7590: --Later need to archive all those challans that have undergone no change under C3
7591: IF (g_correction_mode IN ('C2','C3','%'))
7592: THEN

Line 7595: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated challan',1);

7591: IF (g_correction_mode IN ('C2','C3','%'))
7592: THEN
7593: FOR i IN 1.. g_count_challan_upd - 1
7594: LOOP
7595: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated challan',1);
7596: l_flag := -1;
7597:
7598: l_flag := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_upd(i).transfer_voucher_number,NULL);
7599: IF (l_flag = 0)

Line 7630: pay_in_utils.set_location(g_debug,'Updation:Value of j is : '|| j ,1);

7626: EXCEPTION
7627: WHEN OTHERS THEN
7628: NULL;
7629: END;
7630: pay_in_utils.set_location(g_debug,'Updation:Value of j is : '|| j ,1);
7631:
7632: BEGIN
7633: SELECT DISTINCT action_information25
7634: INTO k

Line 7658: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);

7654: EXCEPTION
7655: WHEN OTHERS THEN
7656: NULL;
7657: END;
7658: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);
7659:
7660: l_challan_record_number := GREATEST(j,k);
7661:
7662: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);

Line 7662: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);

7658: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);
7659:
7660: l_challan_record_number := GREATEST(j,k);
7661:
7662: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);
7663:
7664: OPEN c_challan_live_data(g_challan_data_upd(i).transfer_voucher_number,g_challan_data_upd(i).org_information_id);
7665: FETCH c_challan_live_data INTO l_transfer_voucher_number,
7666: l_transfer_voucher_date,

Line 7717: pay_in_utils.set_location(g_debug,'Starting Archival of no change challans ',1);

7713: END LOOP;
7714: END IF;
7715: IF (g_correction_mode IN ('C3','C5','%'))
7716: THEN
7717: pay_in_utils.set_location(g_debug,'Starting Archival of no change challans ',1);
7718: archive_no_change_challan(p_24qc_pay_act_id,p_24qa_pay_act_id);
7719: END IF;
7720: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_challan_data ',1);
7721: EXCEPTION

Line 7720: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_challan_data ',1);

7716: THEN
7717: pay_in_utils.set_location(g_debug,'Starting Archival of no change challans ',1);
7718: archive_no_change_challan(p_24qc_pay_act_id,p_24qa_pay_act_id);
7719: END IF;
7720: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_challan_data ',1);
7721: EXCEPTION
7722: WHEN OTHERS THEN
7723: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7724: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 7723: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

7719: END IF;
7720: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_challan_data ',1);
7721: EXCEPTION
7722: WHEN OTHERS THEN
7723: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7724: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7725: END archive_challan_data;
7726:
7727:

Line 7724: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

7720: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_challan_data ',1);
7721: EXCEPTION
7722: WHEN OTHERS THEN
7723: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7724: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7725: END archive_challan_data;
7726:
7727:
7728: --------------------------------------------------------------------------

Line 7779: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

7775: l_message VARCHAR2(250);
7776: BEGIN
7777: g_debug := hr_utility.debug_enabled;
7778: l_procedure := g_package ||'.archive_cancellation_data';
7779: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7780: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7781: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7782: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7783: pay_in_utils.set_location(g_debug,'Program parameters ',5);

Line 7780: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);

7776: BEGIN
7777: g_debug := hr_utility.debug_enabled;
7778: l_procedure := g_package ||'.archive_cancellation_data';
7779: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7780: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7781: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7782: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7783: pay_in_utils.set_location(g_debug,'Program parameters ',5);
7784: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);

Line 7781: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);

7777: g_debug := hr_utility.debug_enabled;
7778: l_procedure := g_package ||'.archive_cancellation_data';
7779: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7780: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7781: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7782: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7783: pay_in_utils.set_location(g_debug,'Program parameters ',5);
7784: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);
7785:

Line 7782: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);

7778: l_procedure := g_package ||'.archive_cancellation_data';
7779: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7780: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7781: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7782: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7783: pay_in_utils.set_location(g_debug,'Program parameters ',5);
7784: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);
7785:
7786: OPEN c_get_act_ctxt_id;

Line 7783: pay_in_utils.set_location(g_debug,'Program parameters ',5);

7779: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7780: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7781: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7782: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7783: pay_in_utils.set_location(g_debug,'Program parameters ',5);
7784: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);
7785:
7786: OPEN c_get_act_ctxt_id;
7787: FETCH c_get_act_ctxt_id INTO l_action_context_id;

Line 7784: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);

7780: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7781: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7782: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7783: pay_in_utils.set_location(g_debug,'Program parameters ',5);
7784: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);
7785:
7786: OPEN c_get_act_ctxt_id;
7787: FETCH c_get_act_ctxt_id INTO l_action_context_id;
7788: CLOSE c_get_act_ctxt_id;

Line 7803: pay_in_utils.set_location(g_debug,'Action Context ID is: ' || l_action_context_id, 6);

7799: ELSE
7800: l_deductor_type := l_emplr_type_24Q;
7801: END IF;
7802:
7803: pay_in_utils.set_location(g_debug,'Action Context ID is: ' || l_action_context_id, 6);
7804: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);
7805: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);
7806: pay_in_utils.set_location(g_debug,'Deductor Type is : ' || l_deductor_type,9);
7807:

Line 7804: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);

7800: l_deductor_type := l_emplr_type_24Q;
7801: END IF;
7802:
7803: pay_in_utils.set_location(g_debug,'Action Context ID is: ' || l_action_context_id, 6);
7804: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);
7805: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);
7806: pay_in_utils.set_location(g_debug,'Deductor Type is : ' || l_deductor_type,9);
7807:
7808: pay_in_utils.set_location(g_debug,'Archiving Data ', 9);

Line 7805: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);

7801: END IF;
7802:
7803: pay_in_utils.set_location(g_debug,'Action Context ID is: ' || l_action_context_id, 6);
7804: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);
7805: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);
7806: pay_in_utils.set_location(g_debug,'Deductor Type is : ' || l_deductor_type,9);
7807:
7808: pay_in_utils.set_location(g_debug,'Archiving Data ', 9);
7809:

Line 7806: pay_in_utils.set_location(g_debug,'Deductor Type is : ' || l_deductor_type,9);

7802:
7803: pay_in_utils.set_location(g_debug,'Action Context ID is: ' || l_action_context_id, 6);
7804: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);
7805: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);
7806: pay_in_utils.set_location(g_debug,'Deductor Type is : ' || l_deductor_type,9);
7807:
7808: pay_in_utils.set_location(g_debug,'Archiving Data ', 9);
7809:
7810: pay_action_information_api.create_action_information

Line 7808: pay_in_utils.set_location(g_debug,'Archiving Data ', 9);

7804: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);
7805: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);
7806: pay_in_utils.set_location(g_debug,'Deductor Type is : ' || l_deductor_type,9);
7807:
7808: pay_in_utils.set_location(g_debug,'Archiving Data ', 9);
7809:
7810: pay_action_information_api.create_action_information
7811: (p_action_context_id => p_payroll_action_id
7812: ,p_action_context_type => 'PA'

Line 7849: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_cancellation_data', 1);

7845: ,p_action_information_id => l_action_info_id
7846: ,p_object_version_number => l_ovn
7847: );
7848:
7849: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_cancellation_data', 1);
7850: EXCEPTION
7851: WHEN OTHERS THEN
7852: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7853: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 7852: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

7848:
7849: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_cancellation_data', 1);
7850: EXCEPTION
7851: WHEN OTHERS THEN
7852: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7853: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7854: END archive_cancellation_data;
7855:
7856: --------------------------------------------------------------------------

Line 7853: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

7849: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_cancellation_data', 1);
7850: EXCEPTION
7851: WHEN OTHERS THEN
7852: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7853: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7854: END archive_cancellation_data;
7855:
7856: --------------------------------------------------------------------------
7857: -- --

Line 7943: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

7939: l_message VARCHAR2(250);
7940: BEGIN
7941: g_debug := hr_utility.debug_enabled;
7942: l_procedure := g_package ||'.archive_organization_data';
7943: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7944: pay_in_utils.set_location(g_debug,'Fetching Organization Data ', 1);
7945: get_org_details(g_gre_id,
7946: l_tan_number,
7947: l_deductor_type,

Line 7944: pay_in_utils.set_location(g_debug,'Fetching Organization Data ', 1);

7940: BEGIN
7941: g_debug := hr_utility.debug_enabled;
7942: l_procedure := g_package ||'.archive_organization_data';
7943: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7944: pay_in_utils.set_location(g_debug,'Fetching Organization Data ', 1);
7945: get_org_details(g_gre_id,
7946: l_tan_number,
7947: l_deductor_type,
7948: l_branch_or_division,

Line 7967: pay_in_utils.set_location(g_debug,'Received Organization Data ', 1);

7963: l_pao_reg_code,
7964: l_ddo_reg_code
7965: );
7966:
7967: pay_in_utils.set_location(g_debug,'Received Organization Data ', 1);
7968:
7969: l_previous_org_legal_name := NULL;
7970: l_previous_deductor_type := NULL;
7971: l_batch_upd_indicator := 0;

Line 7975: pay_in_utils.set_location(g_debug,'Archiving ORG data',1);

7971: l_batch_upd_indicator := 0;
7972:
7973: IF (g_count_org = 1)
7974: THEN
7975: pay_in_utils.set_location(g_debug,'Archiving ORG data',1);
7976: SELECT DECODE(DECODE(g_24qc_empr_change,'N',DECODE(g_24qc_rep_adr_chg,'Y','Y','N'),'Y'),'Y',1,0)
7977: INTO l_batch_upd_indicator
7978: FROM dual;
7979:

Line 7980: pay_in_utils.set_location(g_debug,'Checking Last NIL Challan Indicator details ',6);

7976: SELECT DECODE(DECODE(g_24qc_empr_change,'N',DECODE(g_24qc_rep_adr_chg,'Y','Y','N'),'Y'),'Y',1,0)
7977: INTO l_batch_upd_indicator
7978: FROM dual;
7979:
7980: pay_in_utils.set_location(g_debug,'Checking Last NIL Challan Indicator details ',6);
7981: OPEN c_24qa_nil_challan_indicator(l_tan_number);
7982: FETCH c_24qa_nil_challan_indicator INTO l_old_nil_challan;
7983: CLOSE c_24qa_nil_challan_indicator;
7984:

Line 8029: pay_in_utils.set_location(g_debug,'Leaving archive_organization_data NC',9);

8025: ,p_action_information28 => l_ddo_reg_code
8026: ,p_action_information_id => l_action_info_id
8027: ,p_object_version_number => l_ovn
8028: );
8029: pay_in_utils.set_location(g_debug,'Leaving archive_organization_data NC',9);
8030:
8031: RETURN;
8032: END IF;
8033:

Line 8034: pay_in_utils.set_location(g_debug,'Value of g_count_org is '|| g_count_org ,2);

8030:
8031: RETURN;
8032: END IF;
8033:
8034: pay_in_utils.set_location(g_debug,'Value of g_count_org is '|| g_count_org ,2);
8035:
8036: FOR i IN 1.. g_count_org - 1
8037: LOOP
8038: IF (g_org_data(i).gre_id = g_gre_id)

Line 8040: pay_in_utils.set_location(g_debug,'Fetching previous statement details ',3);

8036: FOR i IN 1.. g_count_org - 1
8037: LOOP
8038: IF (g_org_data(i).gre_id = g_gre_id)
8039: THEN
8040: pay_in_utils.set_location(g_debug,'Fetching previous statement details ',3);
8041: OPEN c_prev_stmt_details(l_tan_number,g_org_data(i).last_action_context_id);
8042: FETCH c_prev_stmt_details INTO l_previous_org_legal_name
8043: ,l_previous_emplr_type
8044: ,l_previous_emplr_type_24Q

Line 8054: pay_in_utils.set_location(g_debug,'Fetched previous statement details ',3);

8050: l_previous_deductor_type := l_previous_emplr_type;
8051: ELSE
8052: l_previous_deductor_type := l_previous_emplr_type_24Q;
8053: END IF;
8054: pay_in_utils.set_location(g_debug,'Fetched previous statement details ',3);
8055:
8056: pay_in_utils.set_location(g_debug,'Checking New NIL Challan Indicator details ',4);
8057: IF ((g_count_challan_add > 1) OR (g_count_challan_upd > 1) OR (g_count_challan_noc > 1))
8058: THEN

Line 8056: pay_in_utils.set_location(g_debug,'Checking New NIL Challan Indicator details ',4);

8052: l_previous_deductor_type := l_previous_emplr_type_24Q;
8053: END IF;
8054: pay_in_utils.set_location(g_debug,'Fetched previous statement details ',3);
8055:
8056: pay_in_utils.set_location(g_debug,'Checking New NIL Challan Indicator details ',4);
8057: IF ((g_count_challan_add > 1) OR (g_count_challan_upd > 1) OR (g_count_challan_noc > 1))
8058: THEN
8059: l_new_nil_challan := 'N';
8060: ELSE

Line 8063: pay_in_utils.set_location(g_debug,'New NIL Challan Indicator is '|| l_new_nil_challan,5);

8059: l_new_nil_challan := 'N';
8060: ELSE
8061: l_new_nil_challan := 'Y';
8062: END IF;
8063: pay_in_utils.set_location(g_debug,'New NIL Challan Indicator is '|| l_new_nil_challan,5);
8064: END IF;
8065: END LOOP;
8066:
8067: pay_in_utils.set_location(g_debug,'Checking Last NIL Challan Indicator details ',6);

Line 8067: pay_in_utils.set_location(g_debug,'Checking Last NIL Challan Indicator details ',6);

8063: pay_in_utils.set_location(g_debug,'New NIL Challan Indicator is '|| l_new_nil_challan,5);
8064: END IF;
8065: END LOOP;
8066:
8067: pay_in_utils.set_location(g_debug,'Checking Last NIL Challan Indicator details ',6);
8068: OPEN c_24qa_nil_challan_indicator(l_tan_number);
8069: FETCH c_24qa_nil_challan_indicator INTO l_old_nil_challan;
8070: CLOSE c_24qa_nil_challan_indicator;
8071:

Line 8072: pay_in_utils.set_location(g_debug,'Archiving Data ',7);

8068: OPEN c_24qa_nil_challan_indicator(l_tan_number);
8069: FETCH c_24qa_nil_challan_indicator INTO l_old_nil_challan;
8070: CLOSE c_24qa_nil_challan_indicator;
8071:
8072: pay_in_utils.set_location(g_debug,'Archiving Data ',7);
8073: pay_in_utils.set_location(g_debug,'Address Change is '|| g_24qc_empr_change , 2);
8074:
8075: pay_action_information_api.create_action_information
8076: (p_action_context_id => p_24qc_pay_act_id

Line 8073: pay_in_utils.set_location(g_debug,'Address Change is '|| g_24qc_empr_change , 2);

8069: FETCH c_24qa_nil_challan_indicator INTO l_old_nil_challan;
8070: CLOSE c_24qa_nil_challan_indicator;
8071:
8072: pay_in_utils.set_location(g_debug,'Archiving Data ',7);
8073: pay_in_utils.set_location(g_debug,'Address Change is '|| g_24qc_empr_change , 2);
8074:
8075: pay_action_information_api.create_action_information
8076: (p_action_context_id => p_24qc_pay_act_id
8077: ,p_action_context_type => 'PA'

Line 8112: pay_in_utils.set_location(g_debug,'Leaving:'|| g_package||'.archive_organization_data',1);

8108: ,p_action_information28 => l_ddo_reg_code
8109: ,p_action_information_id => l_action_info_id
8110: ,p_object_version_number => l_ovn
8111: );
8112: pay_in_utils.set_location(g_debug,'Leaving:'|| g_package||'.archive_organization_data',1);
8113: EXCEPTION
8114: WHEN OTHERS THEN
8115: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8116: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 8115: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

8111: );
8112: pay_in_utils.set_location(g_debug,'Leaving:'|| g_package||'.archive_organization_data',1);
8113: EXCEPTION
8114: WHEN OTHERS THEN
8115: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8116: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8117: END archive_organization_data;
8118: --------------------------------------------------------------------------
8119: -- --

Line 8116: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

8112: pay_in_utils.set_location(g_debug,'Leaving:'|| g_package||'.archive_organization_data',1);
8113: EXCEPTION
8114: WHEN OTHERS THEN
8115: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8116: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8117: END archive_organization_data;
8118: --------------------------------------------------------------------------
8119: -- --
8120: -- Name : CHECK_GRE --

Line 8158: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);

8154: l_procedure VARCHAR2(250);
8155: l_message VARCHAR2(250);
8156: BEGIN
8157: l_procedure := g_package || '.check_gre';
8158: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
8159: pay_in_utils.set_location(g_debug,'Checking Asg Action ID: '|| p_assignment_act_id,20);
8160:
8161: l_flag := -1;
8162:

Line 8159: pay_in_utils.set_location(g_debug,'Checking Asg Action ID: '|| p_assignment_act_id,20);

8155: l_message VARCHAR2(250);
8156: BEGIN
8157: l_procedure := g_package || '.check_gre';
8158: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
8159: pay_in_utils.set_location(g_debug,'Checking Asg Action ID: '|| p_assignment_act_id,20);
8160:
8161: l_flag := -1;
8162:
8163: OPEN c_24q_per_check;

Line 8167: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,25);

8163: OPEN c_24q_per_check;
8164: FETCH c_24q_per_check INTO l_flag;
8165: CLOSE c_24q_per_check;
8166:
8167: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,25);
8168:
8169: IF (l_flag = -1)
8170: THEN
8171: pay_in_utils.set_location(g_debug,'Checking in 24Q Correction',30);

Line 8171: pay_in_utils.set_location(g_debug,'Checking in 24Q Correction',30);

8167: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,25);
8168:
8169: IF (l_flag = -1)
8170: THEN
8171: pay_in_utils.set_location(g_debug,'Checking in 24Q Correction',30);
8172: OPEN c_24qc_ded_check;
8173: FETCH c_24qc_ded_check INTO l_flag;
8174: CLOSE c_24qc_ded_check;
8175: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,40);

Line 8175: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,40);

8171: pay_in_utils.set_location(g_debug,'Checking in 24Q Correction',30);
8172: OPEN c_24qc_ded_check;
8173: FETCH c_24qc_ded_check INTO l_flag;
8174: CLOSE c_24qc_ded_check;
8175: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,40);
8176: END IF;
8177:
8178: IF (l_flag = 1)
8179: THEN

Line 8186: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

8182: RETURN FALSE;
8183: END IF;
8184: EXCEPTION
8185: WHEN OTHERS THEN
8186: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8187: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8188: END check_gre;
8189: --------------------------------------------------------------------------
8190: -- --

Line 8187: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

8183: END IF;
8184: EXCEPTION
8185: WHEN OTHERS THEN
8186: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8187: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8188: END check_gre;
8189: --------------------------------------------------------------------------
8190: -- --
8191: -- Name : GENERATE_LOCKING --

Line 8261: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);

8257: l_24qc_prv_pay_act_id NUMBER;
8258: --
8259: BEGIN
8260: l_procedure := g_package || '.generate_locking';
8261: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
8262:
8263: FOR c_rec IN c_assignment_action_id(p_locked_pay_act_id_q)
8264: LOOP
8265: IF (check_gre(c_rec.assignment_action_id))

Line 8277: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);

8273: SELECT pay_assignment_actions_s.NEXTVAL
8274: INTO l_action_id
8275: FROM dual;
8276:
8277: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
8278: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
8279: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
8280:
8281: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions ', 14);

Line 8278: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);

8274: INTO l_action_id
8275: FROM dual;
8276:
8277: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
8278: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
8279: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
8280:
8281: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions ', 14);
8282: hr_nonrun_asact.insact(lockingactid => l_action_id

Line 8279: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);

8275: FROM dual;
8276:
8277: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
8278: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
8279: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
8280:
8281: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions ', 14);
8282: hr_nonrun_asact.insact(lockingactid => l_action_id
8283: ,assignid => c_rec.assignment_id

Line 8281: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions ', 14);

8277: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
8278: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
8279: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
8280:
8281: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions ', 14);
8282: hr_nonrun_asact.insact(lockingactid => l_action_id
8283: ,assignid => c_rec.assignment_id
8284: ,pactid => p_locking_pay_act_id
8285: ,chunk => p_chunk

Line 8287: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);

8283: ,assignid => c_rec.assignment_id
8284: ,pactid => p_locking_pay_act_id
8285: ,chunk => p_chunk
8286: );
8287: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
8288: hr_nonrun_asact.insint(lockingactid => l_action_id
8289: ,lockedactid => c_rec.assignment_action_id
8290: );
8291: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

Line 8291: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

8287: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
8288: hr_nonrun_asact.insint(lockingactid => l_action_id
8289: ,lockedactid => c_rec.assignment_action_id
8290: );
8291: pay_in_utils.set_location(g_debug,'Locking enforced', 16);
8292: END IF;
8293: END IF;
8294: END LOOP;
8295:

Line 8296: pay_in_utils.set_location(g_debug,'Now starting locking Latest 24Q Correction Assignments', 16);

8292: END IF;
8293: END IF;
8294: END LOOP;
8295:
8296: pay_in_utils.set_location(g_debug,'Now starting locking Latest 24Q Correction Assignments', 16);
8297: FOR c_rec IN c_assignment_action_id(p_locked_pay_act_id_qc)
8298: LOOP
8299: IF (check_gre(c_rec.assignment_action_id))
8300: THEN

Line 8305: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);

8301: l_action_id := NULL;
8302: OPEN c_chk_asg_action(c_rec.assignment_id,p_locking_pay_act_id);
8303: FETCH c_chk_asg_action INTO l_action_id;
8304: CLOSE c_chk_asg_action;
8305: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
8306:
8307: IF (l_action_id IS NULL)
8308: THEN
8309: SELECT pay_assignment_actions_s.NEXTVAL

Line 8313: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions as it was null', 14);

8309: SELECT pay_assignment_actions_s.NEXTVAL
8310: INTO l_action_id
8311: FROM dual;
8312:
8313: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions as it was null', 14);
8314: hr_nonrun_asact.insact(lockingactid => l_action_id
8315: ,assignid => c_rec.assignment_id
8316: ,pactid => p_locking_pay_act_id
8317: ,chunk => p_chunk

Line 8321: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);

8317: ,chunk => p_chunk
8318: );
8319: END IF;
8320:
8321: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
8322: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
8323:
8324: l_flag := NULL;
8325: OPEN c_check_action(l_action_id,c_rec.assignment_action_id);

Line 8322: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);

8318: );
8319: END IF;
8320:
8321: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
8322: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
8323:
8324: l_flag := NULL;
8325: OPEN c_check_action(l_action_id,c_rec.assignment_action_id);
8326: FETCH c_check_action INTO l_flag;

Line 8331: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);

8327: CLOSE c_check_action;
8328:
8329: IF (l_flag IS NULL)
8330: THEN
8331: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
8332: hr_nonrun_asact.insint(lockingactid => l_action_id
8333: ,lockedactid => c_rec.assignment_action_id
8334: );
8335: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

Line 8335: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

8331: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
8332: hr_nonrun_asact.insint(lockingactid => l_action_id
8333: ,lockedactid => c_rec.assignment_action_id
8334: );
8335: pay_in_utils.set_location(g_debug,'Locking enforced', 16);
8336: END IF;
8337: END IF;
8338: END LOOP;
8339:

Line 8344: pay_in_utils.set_location(g_debug,'Payroll Action ID of previous 24Q Correction archival is '||l_24qc_prv_pay_act_id,1);

8340: OPEN c_select_prev_24qc;
8341: FETCH c_select_prev_24qc INTO l_24qc_prv_pay_act_id;
8342: CLOSE c_select_prev_24qc;
8343:
8344: pay_in_utils.set_location(g_debug,'Payroll Action ID of previous 24Q Correction archival is '||l_24qc_prv_pay_act_id,1);
8345:
8346: IF (l_24qc_prv_pay_act_id IS NOT NULL)
8347: THEN
8348: pay_in_utils.set_location(g_debug,'Now starting locking Previous 24Q Correction Assignments', 16);

Line 8348: pay_in_utils.set_location(g_debug,'Now starting locking Previous 24Q Correction Assignments', 16);

8344: pay_in_utils.set_location(g_debug,'Payroll Action ID of previous 24Q Correction archival is '||l_24qc_prv_pay_act_id,1);
8345:
8346: IF (l_24qc_prv_pay_act_id IS NOT NULL)
8347: THEN
8348: pay_in_utils.set_location(g_debug,'Now starting locking Previous 24Q Correction Assignments', 16);
8349: FOR c_rec IN c_assignment_action_id(l_24qc_prv_pay_act_id)
8350: LOOP
8351: IF (check_gre(c_rec.assignment_action_id))
8352: THEN

Line 8357: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);

8353: l_action_id := NULL;
8354: OPEN c_chk_asg_action(c_rec.assignment_id,p_locking_pay_act_id);
8355: FETCH c_chk_asg_action INTO l_action_id;
8356: CLOSE c_chk_asg_action;
8357: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
8358:
8359: IF (l_action_id IS NULL)
8360: THEN
8361: SELECT pay_assignment_actions_s.NEXTVAL

Line 8365: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions as it was null', 14);

8361: SELECT pay_assignment_actions_s.NEXTVAL
8362: INTO l_action_id
8363: FROM dual;
8364:
8365: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions as it was null', 14);
8366: hr_nonrun_asact.insact(lockingactid => l_action_id
8367: ,assignid => c_rec.assignment_id
8368: ,pactid => p_locking_pay_act_id
8369: ,chunk => p_chunk

Line 8373: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);

8369: ,chunk => p_chunk
8370: );
8371: END IF;
8372:
8373: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
8374: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
8375:
8376: l_flag := NULL;
8377: OPEN c_check_action(l_action_id,c_rec.assignment_action_id);

Line 8374: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);

8370: );
8371: END IF;
8372:
8373: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
8374: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
8375:
8376: l_flag := NULL;
8377: OPEN c_check_action(l_action_id,c_rec.assignment_action_id);
8378: FETCH c_check_action INTO l_flag;

Line 8383: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);

8379: CLOSE c_check_action;
8380:
8381: IF (l_flag IS NULL)
8382: THEN
8383: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
8384: hr_nonrun_asact.insint(lockingactid => l_action_id
8385: ,lockedactid => c_rec.assignment_action_id
8386: );
8387: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

Line 8387: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

8383: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
8384: hr_nonrun_asact.insint(lockingactid => l_action_id
8385: ,lockedactid => c_rec.assignment_action_id
8386: );
8387: pay_in_utils.set_location(g_debug,'Locking enforced', 16);
8388: END IF;
8389: END IF;
8390: END LOOP;
8391: END IF;

Line 8392: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,10);

8388: END IF;
8389: END IF;
8390: END LOOP;
8391: END IF;
8392: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,10);
8393: EXCEPTION
8394: WHEN OTHERS THEN
8395: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8396: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 8395: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

8391: END IF;
8392: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,10);
8393: EXCEPTION
8394: WHEN OTHERS THEN
8395: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8396: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8397: END generate_locking;
8398:
8399: --------------------------------------------------------------------------

Line 8396: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

8392: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,10);
8393: EXCEPTION
8394: WHEN OTHERS THEN
8395: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8396: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8397: END generate_locking;
8398:
8399: --------------------------------------------------------------------------
8400: -- --

Line 8493: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

8489: l_message VARCHAR2(250);
8490: BEGIN
8491: g_debug := hr_utility.debug_enabled;
8492: l_procedure := g_package ||'.archive_c5_data_only';
8493: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
8494:
8495: pay_in_utils.set_location(g_debug,'Checking Challan Data', 1);
8496: FOR c_rec IN c_select_deductee
8497: LOOP

Line 8495: pay_in_utils.set_location(g_debug,'Checking Challan Data', 1);

8491: g_debug := hr_utility.debug_enabled;
8492: l_procedure := g_package ||'.archive_c5_data_only';
8493: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
8494:
8495: pay_in_utils.set_location(g_debug,'Checking Challan Data', 1);
8496: FOR c_rec IN c_select_deductee
8497: LOOP
8498: OPEN c_challan_sequence(c_rec.challan);
8499: FETCH c_challan_sequence INTO l_challan_deductee_no;

Line 8502: pay_in_utils.set_location(g_debug,'Challan No is :'|| c_rec.challan, 1);

8498: OPEN c_challan_sequence(c_rec.challan);
8499: FETCH c_challan_sequence INTO l_challan_deductee_no;
8500: CLOSE c_challan_sequence;
8501:
8502: pay_in_utils.set_location(g_debug,'Challan No is :'|| c_rec.challan, 1);
8503: pay_in_utils.set_location(g_debug,'Challan Seq No is :'|| l_challan_deductee_no, 1);
8504: pay_in_utils.set_location(g_debug,'Checking Challan Data in updated Data', 1);
8505: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);
8506:

Line 8503: pay_in_utils.set_location(g_debug,'Challan Seq No is :'|| l_challan_deductee_no, 1);

8499: FETCH c_challan_sequence INTO l_challan_deductee_no;
8500: CLOSE c_challan_sequence;
8501:
8502: pay_in_utils.set_location(g_debug,'Challan No is :'|| c_rec.challan, 1);
8503: pay_in_utils.set_location(g_debug,'Challan Seq No is :'|| l_challan_deductee_no, 1);
8504: pay_in_utils.set_location(g_debug,'Checking Challan Data in updated Data', 1);
8505: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);
8506:
8507: FOR i IN 1..g_count_challan_upd - 1

Line 8504: pay_in_utils.set_location(g_debug,'Checking Challan Data in updated Data', 1);

8500: CLOSE c_challan_sequence;
8501:
8502: pay_in_utils.set_location(g_debug,'Challan No is :'|| c_rec.challan, 1);
8503: pay_in_utils.set_location(g_debug,'Challan Seq No is :'|| l_challan_deductee_no, 1);
8504: pay_in_utils.set_location(g_debug,'Checking Challan Data in updated Data', 1);
8505: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);
8506:
8507: FOR i IN 1..g_count_challan_upd - 1
8508: LOOP

Line 8505: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);

8501:
8502: pay_in_utils.set_location(g_debug,'Challan No is :'|| c_rec.challan, 1);
8503: pay_in_utils.set_location(g_debug,'Challan Seq No is :'|| l_challan_deductee_no, 1);
8504: pay_in_utils.set_location(g_debug,'Checking Challan Data in updated Data', 1);
8505: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);
8506:
8507: FOR i IN 1..g_count_challan_upd - 1
8508: LOOP
8509: pay_in_utils.set_location(g_debug,'Found Challan in updated Data', 1);

Line 8509: pay_in_utils.set_location(g_debug,'Found Challan in updated Data', 1);

8505: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);
8506:
8507: FOR i IN 1..g_count_challan_upd - 1
8508: LOOP
8509: pay_in_utils.set_location(g_debug,'Found Challan in updated Data', 1);
8510: l_flag_number := -1;
8511: l_flag_number := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_upd(i).transfer_voucher_number,NULL);
8512: IF((g_challan_data_upd(i).transfer_voucher_number = c_rec.challan)AND(l_flag_number = 0))
8513: THEN

Line 8538: pay_in_utils.set_location(g_debug,'Checking Challan Data in No Change Data', 1);

8534: );
8535: END IF;
8536: END LOOP;
8537:
8538: pay_in_utils.set_location(g_debug,'Checking Challan Data in No Change Data', 1);
8539: pay_in_utils.set_location(g_debug,'Value of g_count_challan_noc C5 is '|| g_count_challan_noc,2);
8540: FOR i IN 1..g_count_challan_noc - 1
8541: LOOP
8542: pay_in_utils.set_location(g_debug,'Found Challan in no change Data', 1);

Line 8539: pay_in_utils.set_location(g_debug,'Value of g_count_challan_noc C5 is '|| g_count_challan_noc,2);

8535: END IF;
8536: END LOOP;
8537:
8538: pay_in_utils.set_location(g_debug,'Checking Challan Data in No Change Data', 1);
8539: pay_in_utils.set_location(g_debug,'Value of g_count_challan_noc C5 is '|| g_count_challan_noc,2);
8540: FOR i IN 1..g_count_challan_noc - 1
8541: LOOP
8542: pay_in_utils.set_location(g_debug,'Found Challan in no change Data', 1);
8543: l_flag_number := -1;

Line 8542: pay_in_utils.set_location(g_debug,'Found Challan in no change Data', 1);

8538: pay_in_utils.set_location(g_debug,'Checking Challan Data in No Change Data', 1);
8539: pay_in_utils.set_location(g_debug,'Value of g_count_challan_noc C5 is '|| g_count_challan_noc,2);
8540: FOR i IN 1..g_count_challan_noc - 1
8541: LOOP
8542: pay_in_utils.set_location(g_debug,'Found Challan in no change Data', 1);
8543: l_flag_number := -1;
8544: l_flag_number := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_noc(i).transfer_voucher_number,NULL);
8545: IF((g_challan_data_noc(i).transfer_voucher_number = c_rec.challan)AND(l_flag_number =0))
8546: THEN

Line 8572: pay_in_utils.set_location(g_debug,'Checking Organization Data', 1);

8568: END IF;
8569: END LOOP;
8570: END LOOP;
8571:
8572: pay_in_utils.set_location(g_debug,'Checking Organization Data', 1);
8573: l_flag_number := -1;
8574: l_flag_number := check_archival_status(NULL,'IN_24QC_ORG',NULL,NULL);
8575: IF (l_flag_number <> 0)
8576: THEN

Line 8579: pay_in_utils.set_location(g_debug,'Value of g_count_org is ' || g_count_org,2);

8575: IF (l_flag_number <> 0)
8576: THEN
8577: RETURN;
8578: END IF;
8579: pay_in_utils.set_location(g_debug,'Value of g_count_org is ' || g_count_org,2);
8580:
8581: IF (g_count_org = 1)
8582: THEN
8583: pay_in_utils.set_location(g_debug,'Fetching Live Organization Data ', 1);

Line 8583: pay_in_utils.set_location(g_debug,'Fetching Live Organization Data ', 1);

8579: pay_in_utils.set_location(g_debug,'Value of g_count_org is ' || g_count_org,2);
8580:
8581: IF (g_count_org = 1)
8582: THEN
8583: pay_in_utils.set_location(g_debug,'Fetching Live Organization Data ', 1);
8584: get_org_details(g_gre_id,
8585: l_tan_number,
8586: l_deductor_type,
8587: l_branch_or_division,

Line 8620: pay_in_utils.set_location(g_debug,'Archiving Org Data for C5 ', 9);

8616: l_deductor_type := l_emplr_type_24Q;
8617: END IF;
8618: END IF;
8619:
8620: pay_in_utils.set_location(g_debug,'Archiving Org Data for C5 ', 9);
8621: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id, 10);
8622: l_action_info_id := NULL;
8623: l_ovn := NULL;
8624:

Line 8621: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id, 10);

8617: END IF;
8618: END IF;
8619:
8620: pay_in_utils.set_location(g_debug,'Archiving Org Data for C5 ', 9);
8621: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id, 10);
8622: l_action_info_id := NULL;
8623: l_ovn := NULL;
8624:
8625: pay_action_information_api.create_action_information

Line 8643: pay_in_utils.set_location(g_debug,'Archived Org Data for C5 ', 9);

8639: ,p_action_information_id => l_action_info_id
8640: ,p_object_version_number => l_ovn
8641: );
8642:
8643: pay_in_utils.set_location(g_debug,'Archived Org Data for C5 ', 9);
8644: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_c5_data_only', 1);
8645: EXCEPTION
8646: WHEN OTHERS THEN
8647: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

Line 8644: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_c5_data_only', 1);

8640: ,p_object_version_number => l_ovn
8641: );
8642:
8643: pay_in_utils.set_location(g_debug,'Archived Org Data for C5 ', 9);
8644: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_c5_data_only', 1);
8645: EXCEPTION
8646: WHEN OTHERS THEN
8647: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8648: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

Line 8647: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

8643: pay_in_utils.set_location(g_debug,'Archived Org Data for C5 ', 9);
8644: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_c5_data_only', 1);
8645: EXCEPTION
8646: WHEN OTHERS THEN
8647: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8648: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8649: END archive_c5_data_only;
8650:
8651: --------------------------------------------------------------------------

Line 8648: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

8644: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_c5_data_only', 1);
8645: EXCEPTION
8646: WHEN OTHERS THEN
8647: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8648: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8649: END archive_c5_data_only;
8650:
8651: --------------------------------------------------------------------------
8652: -- --

Line 8772: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);

8768: --
8769:
8770: l_procedure := g_package || '.assignment_action_code';
8771: g_debug := hr_utility.debug_enabled;
8772: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
8773:
8774: pay_in_utils.set_location(g_debug,'Archival for C4,C5 Modes Starts : '||l_procedure,12);
8775:
8776: --C4,C5 Salary Data Archival Starts

Line 8774: pay_in_utils.set_location(g_debug,'Archival for C4,C5 Modes Starts : '||l_procedure,12);

8770: l_procedure := g_package || '.assignment_action_code';
8771: g_debug := hr_utility.debug_enabled;
8772: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
8773:
8774: pay_in_utils.set_location(g_debug,'Archival for C4,C5 Modes Starts : '||l_procedure,12);
8775:
8776: --C4,C5 Salary Data Archival Starts
8777: IF (g_sal_action)
8778: THEN

Line 8779: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,15);

8775:
8776: --C4,C5 Salary Data Archival Starts
8777: IF (g_sal_action)
8778: THEN
8779: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,15);
8780:
8781: initialization_code(p_payroll_action_id);
8782:
8783: l_flag := TRUE;

Line 8787: pay_in_utils.set_location(g_debug,'ASSIGNMENT_ACTION_CODE : In c_pay_act_id_last_24Q ', 1);

8783: l_flag := TRUE;
8784: --Fetch last Form 24Q archival Payroll action id
8785: FOR c_rec IN c_pay_act_id_last_24Q
8786: LOOP
8787: pay_in_utils.set_location(g_debug,'ASSIGNMENT_ACTION_CODE : In c_pay_act_id_last_24Q ', 1);
8788: pay_in_utils.set_location(g_debug,'In c_rec.org_information6 : ' || c_rec.org_information6, 1);
8789: pay_in_utils.set_location(g_debug,'In c_rec.org_information3 : ' || c_rec.org_information3, 1);
8790: IF (l_flag)
8791: THEN

Line 8788: pay_in_utils.set_location(g_debug,'In c_rec.org_information6 : ' || c_rec.org_information6, 1);

8784: --Fetch last Form 24Q archival Payroll action id
8785: FOR c_rec IN c_pay_act_id_last_24Q
8786: LOOP
8787: pay_in_utils.set_location(g_debug,'ASSIGNMENT_ACTION_CODE : In c_pay_act_id_last_24Q ', 1);
8788: pay_in_utils.set_location(g_debug,'In c_rec.org_information6 : ' || c_rec.org_information6, 1);
8789: pay_in_utils.set_location(g_debug,'In c_rec.org_information3 : ' || c_rec.org_information3, 1);
8790: IF (l_flag)
8791: THEN
8792: IF (c_rec.org_information6 = 'O')

Line 8789: pay_in_utils.set_location(g_debug,'In c_rec.org_information3 : ' || c_rec.org_information3, 1);

8785: FOR c_rec IN c_pay_act_id_last_24Q
8786: LOOP
8787: pay_in_utils.set_location(g_debug,'ASSIGNMENT_ACTION_CODE : In c_pay_act_id_last_24Q ', 1);
8788: pay_in_utils.set_location(g_debug,'In c_rec.org_information6 : ' || c_rec.org_information6, 1);
8789: pay_in_utils.set_location(g_debug,'In c_rec.org_information3 : ' || c_rec.org_information3, 1);
8790: IF (l_flag)
8791: THEN
8792: IF (c_rec.org_information6 = 'O')
8793: THEN

Line 8795: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);

8791: THEN
8792: IF (c_rec.org_information6 = 'O')
8793: THEN
8794: l_pay_act_id_last_24Q := c_rec.org_information3;
8795: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);
8796: ELSE
8797: l_pay_act_id_last_24Q := c_rec.org_information3;
8798: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);
8799: END IF;

Line 8798: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);

8794: l_pay_act_id_last_24Q := c_rec.org_information3;
8795: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);
8796: ELSE
8797: l_pay_act_id_last_24Q := c_rec.org_information3;
8798: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);
8799: END IF;
8800: l_flag := FALSE;
8801: END IF;
8802: END LOOP;

Line 8803: pay_in_utils.set_location(g_debug,' Archival Action with which we need comparison is '|| l_pay_act_id_last_24Q,1);

8799: END IF;
8800: l_flag := FALSE;
8801: END IF;
8802: END LOOP;
8803: pay_in_utils.set_location(g_debug,' Archival Action with which we need comparison is '|| l_pay_act_id_last_24Q,1);
8804:
8805: IF (l_pay_act_id_last_24Q IS NOT NULL)
8806: THEN
8807: OPEN c_act_category(l_pay_act_id_last_24Q);

Line 8811: pay_in_utils.set_location(g_debug,' l_dummy is : '|| l_dummy, 3);

8807: OPEN c_act_category(l_pay_act_id_last_24Q);
8808: FETCH c_act_category INTO l_dummy;
8809: CLOSE c_act_category;
8810: END IF;
8811: pay_in_utils.set_location(g_debug,' l_dummy is : '|| l_dummy, 3);
8812:
8813: IF (l_dummy = 1)
8814: THEN
8815: -- This means that l_pay_act_id_last_24Q corresponds to 24Q Archival only.

Line 8827: pay_in_utils.set_location(g_debug,' l_24q_locked_pay_id is '|| l_24q_locked_pay_id ,4);

8823: CLOSE c_source_id;
8824:
8825: l_24qc_locked_pay_id := l_pay_act_id_last_24Q;
8826: END IF;
8827: pay_in_utils.set_location(g_debug,' l_24q_locked_pay_id is '|| l_24q_locked_pay_id ,4);
8828: pay_in_utils.set_location(g_debug,' l_24qc_locked_pay_id is '|| l_24qc_locked_pay_id ,5);
8829:
8830: g_payroll_action_id := p_payroll_action_id;
8831: g_24q_payroll_act_id := l_24q_locked_pay_id;

Line 8828: pay_in_utils.set_location(g_debug,' l_24qc_locked_pay_id is '|| l_24qc_locked_pay_id ,5);

8824:
8825: l_24qc_locked_pay_id := l_pay_act_id_last_24Q;
8826: END IF;
8827: pay_in_utils.set_location(g_debug,' l_24q_locked_pay_id is '|| l_24q_locked_pay_id ,4);
8828: pay_in_utils.set_location(g_debug,' l_24qc_locked_pay_id is '|| l_24qc_locked_pay_id ,5);
8829:
8830: g_payroll_action_id := p_payroll_action_id;
8831: g_24q_payroll_act_id := l_24q_locked_pay_id;
8832: g_24qc_payroll_act_id := l_24qc_locked_pay_id;

Line 8838: pay_in_utils.set_location(g_debug,'Payroll Action ID of previous 24Q Correction is '|| l_last_24qc_pay_act_id,2);

8834: OPEN c_select_prev_24qc(g_24qc_payroll_act_id);
8835: FETCH c_select_prev_24qc INTO l_last_24qc_pay_act_id;
8836: CLOSE c_select_prev_24qc;
8837:
8838: pay_in_utils.set_location(g_debug,'Payroll Action ID of previous 24Q Correction is '|| l_last_24qc_pay_act_id,2);
8839:
8840: IF ((l_pay_act_id_last_24Q IS NULL)AND(g_correction_mode <> 'Y'))
8841: THEN
8842: RETURN;

Line 8847: pay_in_utils.set_location(g_debug,'Calling : generate_employee_data '|| l_procedure,10);

8843: END IF;
8844:
8845: IF (g_correction_mode <> 'Y')
8846: THEN
8847: pay_in_utils.set_location(g_debug,'Calling : generate_employee_data '|| l_procedure,10);
8848: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,11);
8849: generate_employee_data(l_24q_locked_pay_id);
8850:
8851: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);

Line 8848: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,11);

8844:
8845: IF (g_correction_mode <> 'Y')
8846: THEN
8847: pay_in_utils.set_location(g_debug,'Calling : generate_employee_data '|| l_procedure,10);
8848: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,11);
8849: generate_employee_data(l_24q_locked_pay_id);
8850:
8851: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);
8852: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,21);

Line 8851: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);

8847: pay_in_utils.set_location(g_debug,'Calling : generate_employee_data '|| l_procedure,10);
8848: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,11);
8849: generate_employee_data(l_24q_locked_pay_id);
8850:
8851: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);
8852: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,21);
8853: generate_salary_data(l_24q_locked_pay_id, p_start_person, p_end_person);
8854:
8855: pay_in_utils.set_location(g_debug,'Calling : generate_challan_data '|| l_procedure,30);

Line 8852: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,21);

8848: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,11);
8849: generate_employee_data(l_24q_locked_pay_id);
8850:
8851: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);
8852: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,21);
8853: generate_salary_data(l_24q_locked_pay_id, p_start_person, p_end_person);
8854:
8855: pay_in_utils.set_location(g_debug,'Calling : generate_challan_data '|| l_procedure,30);
8856: generate_challan_data(l_24q_locked_pay_id,g_gre_id);

Line 8855: pay_in_utils.set_location(g_debug,'Calling : generate_challan_data '|| l_procedure,30);

8851: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);
8852: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,21);
8853: generate_salary_data(l_24q_locked_pay_id, p_start_person, p_end_person);
8854:
8855: pay_in_utils.set_location(g_debug,'Calling : generate_challan_data '|| l_procedure,30);
8856: generate_challan_data(l_24q_locked_pay_id,g_gre_id);
8857:
8858: pay_in_utils.set_location(g_debug,'Calling : generate_organization_data '|| l_procedure,20);
8859: generate_organization_data(l_24q_locked_pay_id,g_gre_id);

Line 8858: pay_in_utils.set_location(g_debug,'Calling : generate_organization_data '|| l_procedure,20);

8854:
8855: pay_in_utils.set_location(g_debug,'Calling : generate_challan_data '|| l_procedure,30);
8856: generate_challan_data(l_24q_locked_pay_id,g_gre_id);
8857:
8858: pay_in_utils.set_location(g_debug,'Calling : generate_organization_data '|| l_procedure,20);
8859: generate_organization_data(l_24q_locked_pay_id,g_gre_id);
8860: ELSE
8861: pay_in_utils.set_location(g_debug,'Calling : archive_cancellation_data '|| l_procedure,20);
8862: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);

Line 8861: pay_in_utils.set_location(g_debug,'Calling : archive_cancellation_data '|| l_procedure,20);

8857:
8858: pay_in_utils.set_location(g_debug,'Calling : generate_organization_data '|| l_procedure,20);
8859: generate_organization_data(l_24q_locked_pay_id,g_gre_id);
8860: ELSE
8861: pay_in_utils.set_location(g_debug,'Calling : archive_cancellation_data '|| l_procedure,20);
8862: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);
8863: l_flag_number := -1;
8864: l_flag_number := check_archival_status(NULL,'IN_24QC_ORG',NULL,NULL);
8865: IF (l_flag_number = 0)

Line 8862: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);

8858: pay_in_utils.set_location(g_debug,'Calling : generate_organization_data '|| l_procedure,20);
8859: generate_organization_data(l_24q_locked_pay_id,g_gre_id);
8860: ELSE
8861: pay_in_utils.set_location(g_debug,'Calling : archive_cancellation_data '|| l_procedure,20);
8862: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);
8863: l_flag_number := -1;
8864: l_flag_number := check_archival_status(NULL,'IN_24QC_ORG',NULL,NULL);
8865: IF (l_flag_number = 0)
8866: THEN

Line 8874: pay_in_utils.set_location(g_debug,'Inserting assignment action ids for Salary Records',30);

8870: generate_locking(p_payroll_action_id,l_24q_locked_pay_id,l_24qc_locked_pay_id,p_chunk);
8871: RETURN;
8872: END IF;
8873:
8874: pay_in_utils.set_location(g_debug,'Inserting assignment action ids for Salary Records',30);
8875:
8876: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Assignment Actions ' ,35);
8877:
8878: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete is '|| g_count_sal_delete, 39);

Line 8876: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Assignment Actions ' ,35);

8872: END IF;
8873:
8874: pay_in_utils.set_location(g_debug,'Inserting assignment action ids for Salary Records',30);
8875:
8876: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Assignment Actions ' ,35);
8877:
8878: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete is '|| g_count_sal_delete, 39);
8879: IF ((g_count_sal_delete > 1) AND (g_correction_mode <> 'Y'))
8880: THEN

Line 8878: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete is '|| g_count_sal_delete, 39);

8874: pay_in_utils.set_location(g_debug,'Inserting assignment action ids for Salary Records',30);
8875:
8876: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Assignment Actions ' ,35);
8877:
8878: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete is '|| g_count_sal_delete, 39);
8879: IF ((g_count_sal_delete > 1) AND (g_correction_mode <> 'Y'))
8880: THEN
8881: FOR i IN 1..g_count_sal_delete - 1
8882: LOOP

Line 8885: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_del(i).assignment_id,1);

8881: FOR i IN 1..g_count_sal_delete - 1
8882: LOOP
8883: l_24q_asg_action_id := NULL;
8884: l_dummy := NULL;
8885: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_del(i).assignment_id,1);
8886: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
8887: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,p_payroll_action_id);
8888: FETCH c_chk_asg_action INTO l_dummy;
8889: CLOSE c_chk_asg_action;

Line 8886: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);

8882: LOOP
8883: l_24q_asg_action_id := NULL;
8884: l_dummy := NULL;
8885: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_del(i).assignment_id,1);
8886: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
8887: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,p_payroll_action_id);
8888: FETCH c_chk_asg_action INTO l_dummy;
8889: CLOSE c_chk_asg_action;
8890:

Line 8892: pay_in_utils.trace('l_dummy in g_count_sal_delete ',l_dummy);

8888: FETCH c_chk_asg_action INTO l_dummy;
8889: CLOSE c_chk_asg_action;
8890:
8891:
8892: pay_in_utils.trace('l_dummy in g_count_sal_delete ',l_dummy);
8893:
8894: IF (l_dummy IS NULL)
8895: THEN
8896: SELECT pay_assignment_actions_s.NEXTVAL

Line 8900: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

8896: SELECT pay_assignment_actions_s.NEXTVAL
8897: INTO l_action_id
8898: FROM dual;
8899:
8900: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
8901: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
8902:
8903: hr_nonrun_asact.insact(lockingactid => l_action_id
8904: ,assignid => g_sal_data_rec_del(i).assignment_id

Line 8901: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

8897: INTO l_action_id
8898: FROM dual;
8899:
8900: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
8901: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
8902:
8903: hr_nonrun_asact.insact(lockingactid => l_action_id
8904: ,assignid => g_sal_data_rec_del(i).assignment_id
8905: ,pactid => p_payroll_action_id

Line 8909: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

8905: ,pactid => p_payroll_action_id
8906: ,chunk => p_chunk
8907: );
8908:
8909: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8910:
8911: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24q_locked_pay_id);
8912: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8913: CLOSE c_chk_asg_action;

Line 8915: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

8911: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24q_locked_pay_id);
8912: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8913: CLOSE c_chk_asg_action;
8914:
8915: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
8916:
8917: IF (l_24q_asg_action_id IS NOT NULL)
8918: THEN
8919: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8924: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

8920: ,lockedactid => l_24q_asg_action_id
8921: );
8922: END IF;
8923:
8924: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
8925: l_24q_asg_action_id := NULL;
8926: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24qc_locked_pay_id);
8927: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8928: CLOSE c_chk_asg_action;

Line 8930: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

8926: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24qc_locked_pay_id);
8927: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8928: CLOSE c_chk_asg_action;
8929:
8930: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
8931:
8932: IF (l_24q_asg_action_id IS NOT NULL)
8933: THEN
8934: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8939: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

8935: ,lockedactid => l_24q_asg_action_id
8936: );
8937: END IF;
8938:
8939: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
8940: l_24q_asg_action_id := NULL;
8941: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_last_24qc_pay_act_id);
8942: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8943: CLOSE c_chk_asg_action;

Line 8945: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

8941: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_last_24qc_pay_act_id);
8942: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8943: CLOSE c_chk_asg_action;
8944:
8945: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
8946:
8947: IF (l_24q_asg_action_id IS NOT NULL)
8948: THEN
8949: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8958: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);

8954:
8955: IF (l_dummy IS NOT NULL)
8956: THEN
8957:
8958: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
8959:
8960: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8961: l_24q_asg_action_id := NULL;
8962: l_lock_exists := 0;

Line 8960: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

8956: THEN
8957:
8958: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
8959:
8960: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8961: l_24q_asg_action_id := NULL;
8962: l_lock_exists := 0;
8963:
8964: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24q_locked_pay_id);

Line 8972: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

8968: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
8969: FETCH c_chk_action_lock INTO l_lock_exists;
8970: CLOSE c_chk_action_lock;
8971:
8972: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
8973:
8974: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
8975: THEN
8976: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 8981: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

8977: ,lockedactid => l_24q_asg_action_id
8978: );
8979: END IF;
8980:
8981: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
8982: l_24q_asg_action_id := NULL;
8983: l_lock_exists := 0;
8984: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24qc_locked_pay_id);
8985: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 8992: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

8988: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
8989: FETCH c_chk_action_lock INTO l_lock_exists;
8990: CLOSE c_chk_action_lock;
8991:
8992: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
8993:
8994: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
8995: THEN
8996: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 9001: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

8997: ,lockedactid => l_24q_asg_action_id
8998: );
8999: END IF;
9000:
9001: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
9002: l_24q_asg_action_id := NULL;
9003: l_lock_exists := 0;
9004: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_last_24qc_pay_act_id);
9005: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 9012: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

9008: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
9009: FETCH c_chk_action_lock INTO l_lock_exists;
9010: CLOSE c_chk_action_lock;
9011:
9012: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
9013:
9014: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
9015: THEN
9016: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 9026: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Assignment Actions ' ,60);

9022: END LOOP;
9023: END IF;
9024:
9025:
9026: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Assignment Actions ' ,60);
9027: pay_in_utils.set_location(g_debug,'Value of g_count_sal_addition is '|| g_count_sal_addition, 61);
9028: IF ((g_count_sal_addition > 1) AND (g_correction_mode <> 'Y'))
9029: THEN
9030: FOR i IN 1..g_count_sal_addition - 1

Line 9027: pay_in_utils.set_location(g_debug,'Value of g_count_sal_addition is '|| g_count_sal_addition, 61);

9023: END IF;
9024:
9025:
9026: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Assignment Actions ' ,60);
9027: pay_in_utils.set_location(g_debug,'Value of g_count_sal_addition is '|| g_count_sal_addition, 61);
9028: IF ((g_count_sal_addition > 1) AND (g_correction_mode <> 'Y'))
9029: THEN
9030: FOR i IN 1..g_count_sal_addition - 1
9031: LOOP

Line 9034: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_add(i).assignment_id,1);

9030: FOR i IN 1..g_count_sal_addition - 1
9031: LOOP
9032: l_24q_asg_action_id := NULL;
9033: l_dummy := NULL;
9034: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_add(i).assignment_id,1);
9035: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
9036:
9037: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,p_payroll_action_id);
9038: FETCH c_chk_asg_action INTO l_dummy;

Line 9035: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);

9031: LOOP
9032: l_24q_asg_action_id := NULL;
9033: l_dummy := NULL;
9034: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_add(i).assignment_id,1);
9035: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
9036:
9037: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,p_payroll_action_id);
9038: FETCH c_chk_asg_action INTO l_dummy;
9039: CLOSE c_chk_asg_action;

Line 9041: pay_in_utils.trace('l_dummy in g_count_sal_addition ',l_dummy);

9037: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,p_payroll_action_id);
9038: FETCH c_chk_asg_action INTO l_dummy;
9039: CLOSE c_chk_asg_action;
9040:
9041: pay_in_utils.trace('l_dummy in g_count_sal_addition ',l_dummy);
9042:
9043: IF (l_dummy IS NULL)
9044: THEN
9045: SELECT pay_assignment_actions_s.NEXTVAL

Line 9049: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

9045: SELECT pay_assignment_actions_s.NEXTVAL
9046: INTO l_action_id
9047: FROM dual;
9048:
9049: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9050: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9051:
9052: hr_nonrun_asact.insact(lockingactid => l_action_id
9053: ,assignid => g_sal_data_rec_add(i).assignment_id

Line 9050: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

9046: INTO l_action_id
9047: FROM dual;
9048:
9049: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9050: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9051:
9052: hr_nonrun_asact.insact(lockingactid => l_action_id
9053: ,assignid => g_sal_data_rec_add(i).assignment_id
9054: ,pactid => p_payroll_action_id

Line 9058: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

9054: ,pactid => p_payroll_action_id
9055: ,chunk => p_chunk
9056: );
9057:
9058: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
9059:
9060: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24q_locked_pay_id);
9061: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9062: CLOSE c_chk_asg_action;

Line 9064: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

9060: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24q_locked_pay_id);
9061: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9062: CLOSE c_chk_asg_action;
9063:
9064: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
9065:
9066: IF (l_24q_asg_action_id IS NOT NULL)
9067: THEN
9068: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9073: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

9069: ,lockedactid => l_24q_asg_action_id
9070: );
9071: END IF;
9072:
9073: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
9074: l_24q_asg_action_id := NULL;
9075: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24qc_locked_pay_id);
9076: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9077: CLOSE c_chk_asg_action;

Line 9079: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

9075: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24qc_locked_pay_id);
9076: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9077: CLOSE c_chk_asg_action;
9078:
9079: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
9080:
9081: IF (l_24q_asg_action_id IS NOT NULL)
9082: THEN
9083: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9088: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

9084: ,lockedactid => l_24q_asg_action_id
9085: );
9086: END IF;
9087:
9088: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
9089: l_24q_asg_action_id := NULL;
9090: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_last_24qc_pay_act_id);
9091: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9092: CLOSE c_chk_asg_action;

Line 9094: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

9090: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_last_24qc_pay_act_id);
9091: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9092: CLOSE c_chk_asg_action;
9093:
9094: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
9095:
9096: IF (l_24q_asg_action_id IS NOT NULL)
9097: THEN
9098: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9108: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);

9104:
9105: IF (l_dummy IS NOT NULL)
9106: THEN
9107:
9108: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
9109:
9110: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
9111: l_24q_asg_action_id := NULL;
9112: l_lock_exists := 0;

Line 9110: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

9106: THEN
9107:
9108: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
9109:
9110: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
9111: l_24q_asg_action_id := NULL;
9112: l_lock_exists := 0;
9113:
9114: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24q_locked_pay_id);

Line 9122: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

9118: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
9119: FETCH c_chk_action_lock INTO l_lock_exists;
9120: CLOSE c_chk_action_lock;
9121:
9122: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
9123:
9124: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
9125: THEN
9126: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 9131: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

9127: ,lockedactid => l_24q_asg_action_id
9128: );
9129: END IF;
9130:
9131: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
9132: l_24q_asg_action_id := NULL;
9133: l_lock_exists := 0;
9134: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24qc_locked_pay_id);
9135: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 9142: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

9138: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
9139: FETCH c_chk_action_lock INTO l_lock_exists;
9140: CLOSE c_chk_action_lock;
9141:
9142: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
9143:
9144: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
9145: THEN
9146: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 9151: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

9147: ,lockedactid => l_24q_asg_action_id
9148: );
9149: END IF;
9150:
9151: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
9152: l_24q_asg_action_id := NULL;
9153: l_lock_exists := 0;
9154: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_last_24qc_pay_act_id);
9155: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 9162: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

9158: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
9159: FETCH c_chk_action_lock INTO l_lock_exists;
9160: CLOSE c_chk_action_lock;
9161:
9162: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
9163:
9164: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
9165: THEN
9166: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 9176: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Assignment Actions ' ,70);

9172: END LOOP;
9173: END IF;
9174:
9175:
9176: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Assignment Actions ' ,70);
9177: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update is '|| g_count_sal_update, 71);
9178: IF ((g_count_sal_update > 1) AND (g_correction_mode <> 'Y'))
9179: THEN
9180: FOR i IN 1..g_count_sal_update - 1

Line 9177: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update is '|| g_count_sal_update, 71);

9173: END IF;
9174:
9175:
9176: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Assignment Actions ' ,70);
9177: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update is '|| g_count_sal_update, 71);
9178: IF ((g_count_sal_update > 1) AND (g_correction_mode <> 'Y'))
9179: THEN
9180: FOR i IN 1..g_count_sal_update - 1
9181: LOOP

Line 9185: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_upd(i).assignment_id,1);

9181: LOOP
9182: l_24q_asg_action_id := NULL;
9183: l_dummy := NULL;
9184:
9185: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_upd(i).assignment_id,1);
9186: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
9187: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,p_payroll_action_id);
9188: FETCH c_chk_asg_action INTO l_dummy;
9189: CLOSE c_chk_asg_action;

Line 9186: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);

9182: l_24q_asg_action_id := NULL;
9183: l_dummy := NULL;
9184:
9185: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_upd(i).assignment_id,1);
9186: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
9187: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,p_payroll_action_id);
9188: FETCH c_chk_asg_action INTO l_dummy;
9189: CLOSE c_chk_asg_action;
9190:

Line 9192: pay_in_utils.trace('l_dummy in g_count_sal_update ',l_dummy);

9188: FETCH c_chk_asg_action INTO l_dummy;
9189: CLOSE c_chk_asg_action;
9190:
9191:
9192: pay_in_utils.trace('l_dummy in g_count_sal_update ',l_dummy);
9193:
9194: IF (l_dummy IS NULL)
9195: THEN
9196: SELECT pay_assignment_actions_s.NEXTVAL

Line 9200: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

9196: SELECT pay_assignment_actions_s.NEXTVAL
9197: INTO l_action_id
9198: FROM dual;
9199:
9200: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9201: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9202:
9203: hr_nonrun_asact.insact(lockingactid => l_action_id
9204: ,assignid => g_sal_data_rec_upd(i).assignment_id

Line 9201: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

9197: INTO l_action_id
9198: FROM dual;
9199:
9200: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9201: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9202:
9203: hr_nonrun_asact.insact(lockingactid => l_action_id
9204: ,assignid => g_sal_data_rec_upd(i).assignment_id
9205: ,pactid => p_payroll_action_id

Line 9209: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

9205: ,pactid => p_payroll_action_id
9206: ,chunk => p_chunk
9207: );
9208:
9209: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
9210:
9211: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24q_locked_pay_id);
9212: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9213: CLOSE c_chk_asg_action;

Line 9215: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

9211: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24q_locked_pay_id);
9212: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9213: CLOSE c_chk_asg_action;
9214:
9215: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
9216:
9217: IF (l_24q_asg_action_id IS NOT NULL)
9218: THEN
9219: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9223: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

9219: hr_nonrun_asact.insint(lockingactid => l_action_id
9220: ,lockedactid => l_24q_asg_action_id
9221: );
9222: END IF;
9223: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
9224: l_24q_asg_action_id := NULL;
9225: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24qc_locked_pay_id);
9226: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9227: CLOSE c_chk_asg_action;

Line 9229: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

9225: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24qc_locked_pay_id);
9226: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9227: CLOSE c_chk_asg_action;
9228:
9229: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
9230:
9231: IF (l_24q_asg_action_id IS NOT NULL)
9232: THEN
9233: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9238: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

9234: ,lockedactid => l_24q_asg_action_id
9235: );
9236: END IF;
9237:
9238: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
9239: l_24q_asg_action_id := NULL;
9240: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_last_24qc_pay_act_id);
9241: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9242: CLOSE c_chk_asg_action;

Line 9244: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

9240: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_last_24qc_pay_act_id);
9241: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9242: CLOSE c_chk_asg_action;
9243:
9244: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
9245:
9246: IF (l_24q_asg_action_id IS NOT NULL)
9247: THEN
9248: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9257: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);

9253:
9254: IF (l_dummy IS NOT NULL)
9255: THEN
9256:
9257: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
9258:
9259: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
9260: l_24q_asg_action_id := NULL;
9261: l_lock_exists := 0;

Line 9259: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

9255: THEN
9256:
9257: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
9258:
9259: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
9260: l_24q_asg_action_id := NULL;
9261: l_lock_exists := 0;
9262:
9263: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24q_locked_pay_id);

Line 9271: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

9267: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
9268: FETCH c_chk_action_lock INTO l_lock_exists;
9269: CLOSE c_chk_action_lock;
9270:
9271: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
9272:
9273: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
9274: THEN
9275: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 9280: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

9276: ,lockedactid => l_24q_asg_action_id
9277: );
9278: END IF;
9279:
9280: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
9281: l_24q_asg_action_id := NULL;
9282: l_lock_exists := 0;
9283: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24qc_locked_pay_id);
9284: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 9291: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

9287: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
9288: FETCH c_chk_action_lock INTO l_lock_exists;
9289: CLOSE c_chk_action_lock;
9290:
9291: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
9292:
9293: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
9294: THEN
9295: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 9300: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

9296: ,lockedactid => l_24q_asg_action_id
9297: );
9298: END IF;
9299:
9300: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
9301: l_24q_asg_action_id := NULL;
9302: l_lock_exists := 0;
9303: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_last_24qc_pay_act_id);
9304: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 9311: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

9307: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
9308: FETCH c_chk_action_lock INTO l_lock_exists;
9309: CLOSE c_chk_action_lock;
9310:
9311: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
9312:
9313: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
9314: THEN
9315: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 9324: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over for Salary Records ', 80);

9320:
9321: END LOOP;
9322: END IF;
9323:
9324: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over for Salary Records ', 80);
9325:
9326: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data for Salary Records: archive_code ',90);
9327:
9328: --For C4,C5 only salary data should be Archived

Line 9326: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data for Salary Records: archive_code ',90);

9322: END IF;
9323:
9324: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over for Salary Records ', 80);
9325:
9326: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data for Salary Records: archive_code ',90);
9327:
9328: --For C4,C5 only salary data should be Archived
9329: IF (g_correction_mode IN('C4','C5','%'))
9330: THEN

Line 9336: pay_in_utils.set_location(g_debug,'Archival for C4,C5 Modes Ends : '||l_procedure,100);

9332: END IF;
9333:
9334: END IF;
9335: --C4,C5 Salary Data Archival Ends
9336: pay_in_utils.set_location(g_debug,'Archival for C4,C5 Modes Ends : '||l_procedure,100);
9337:
9338:
9339: IF (g_action)
9340: THEN

Line 9341: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,110);

9337:
9338:
9339: IF (g_action)
9340: THEN
9341: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,110);
9342:
9343: pay_in_utils.set_location(g_debug,'Inserting assignment action id in pay_assignment_actions ',40);
9344: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Element Entries ' ,50);
9345:

Line 9343: pay_in_utils.set_location(g_debug,'Inserting assignment action id in pay_assignment_actions ',40);

9339: IF (g_action)
9340: THEN
9341: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,110);
9342:
9343: pay_in_utils.set_location(g_debug,'Inserting assignment action id in pay_assignment_actions ',40);
9344: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Element Entries ' ,50);
9345:
9346: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete is '|| g_count_ee_delete, 51);
9347: IF ((g_count_ee_delete > 1)AND (g_correction_mode <> 'Y'))

Line 9344: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Element Entries ' ,50);

9340: THEN
9341: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,110);
9342:
9343: pay_in_utils.set_location(g_debug,'Inserting assignment action id in pay_assignment_actions ',40);
9344: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Element Entries ' ,50);
9345:
9346: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete is '|| g_count_ee_delete, 51);
9347: IF ((g_count_ee_delete > 1)AND (g_correction_mode <> 'Y'))
9348: THEN

Line 9346: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete is '|| g_count_ee_delete, 51);

9342:
9343: pay_in_utils.set_location(g_debug,'Inserting assignment action id in pay_assignment_actions ',40);
9344: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Element Entries ' ,50);
9345:
9346: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete is '|| g_count_ee_delete, 51);
9347: IF ((g_count_ee_delete > 1)AND (g_correction_mode <> 'Y'))
9348: THEN
9349: FOR i IN 1..g_count_ee_delete - 1
9350: LOOP

Line 9363: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

9359: SELECT pay_assignment_actions_s.NEXTVAL
9360: INTO l_action_id
9361: FROM dual;
9362:
9363: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9364: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9365:
9366: hr_nonrun_asact.insact(lockingactid => l_action_id
9367: ,assignid => g_ee_data_rec_del(i).assignment_id

Line 9364: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

9360: INTO l_action_id
9361: FROM dual;
9362:
9363: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9364: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9365:
9366: hr_nonrun_asact.insact(lockingactid => l_action_id
9367: ,assignid => g_ee_data_rec_del(i).assignment_id
9368: ,pactid => p_payroll_action_id

Line 9372: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

9368: ,pactid => p_payroll_action_id
9369: ,chunk => p_chunk
9370: );
9371:
9372: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
9373:
9374: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_24q_locked_pay_id);
9375: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9376: CLOSE c_chk_asg_action;

Line 9378: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

9374: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_24q_locked_pay_id);
9375: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9376: CLOSE c_chk_asg_action;
9377:
9378: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
9379:
9380: IF (l_24q_asg_action_id IS NOT NULL)
9381: THEN
9382: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9387: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

9383: ,lockedactid => l_24q_asg_action_id
9384: );
9385: END IF;
9386:
9387: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
9388: l_24q_asg_action_id := NULL;
9389: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_24qc_locked_pay_id);
9390: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9391: CLOSE c_chk_asg_action;

Line 9393: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

9389: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_24qc_locked_pay_id);
9390: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9391: CLOSE c_chk_asg_action;
9392:
9393: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
9394:
9395: IF (l_24q_asg_action_id IS NOT NULL)
9396: THEN
9397: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9402: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

9398: ,lockedactid => l_24q_asg_action_id
9399: );
9400: END IF;
9401:
9402: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
9403: l_24q_asg_action_id := NULL;
9404: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_last_24qc_pay_act_id);
9405: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9406: CLOSE c_chk_asg_action;

Line 9408: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

9404: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_last_24qc_pay_act_id);
9405: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9406: CLOSE c_chk_asg_action;
9407:
9408: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
9409:
9410: IF (l_24q_asg_action_id IS NOT NULL)
9411: THEN
9412: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9420: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Element Entries ' ,60);

9416: END IF;
9417: END LOOP;
9418: END IF;
9419:
9420: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Element Entries ' ,60);
9421: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition is '|| g_count_ee_addition, 61);
9422: IF ((g_count_ee_addition > 1)AND(g_correction_mode <> 'Y'))
9423: THEN
9424: FOR i IN 1..g_count_ee_addition - 1

Line 9421: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition is '|| g_count_ee_addition, 61);

9417: END LOOP;
9418: END IF;
9419:
9420: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Element Entries ' ,60);
9421: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition is '|| g_count_ee_addition, 61);
9422: IF ((g_count_ee_addition > 1)AND(g_correction_mode <> 'Y'))
9423: THEN
9424: FOR i IN 1..g_count_ee_addition - 1
9425: LOOP

Line 9432: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);

9428: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,p_payroll_action_id);
9429: FETCH c_chk_asg_action INTO l_dummy;
9430: CLOSE c_chk_asg_action;
9431:
9432: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
9433: IF (l_dummy IS NULL)
9434: THEN
9435: SELECT pay_assignment_actions_s.NEXTVAL
9436: INTO l_action_id

Line 9439: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

9435: SELECT pay_assignment_actions_s.NEXTVAL
9436: INTO l_action_id
9437: FROM dual;
9438:
9439: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9440: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9441:
9442: hr_nonrun_asact.insact(lockingactid => l_action_id
9443: ,assignid => g_ee_data_rec_add(i).assignment_id

Line 9440: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

9436: INTO l_action_id
9437: FROM dual;
9438:
9439: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9440: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9441:
9442: hr_nonrun_asact.insact(lockingactid => l_action_id
9443: ,assignid => g_ee_data_rec_add(i).assignment_id
9444: ,pactid => p_payroll_action_id

Line 9448: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

9444: ,pactid => p_payroll_action_id
9445: ,chunk => p_chunk
9446: );
9447:
9448: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
9449:
9450: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_24q_locked_pay_id);
9451: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9452: CLOSE c_chk_asg_action;

Line 9454: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

9450: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_24q_locked_pay_id);
9451: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9452: CLOSE c_chk_asg_action;
9453:
9454: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
9455:
9456: IF (l_24q_asg_action_id IS NOT NULL)
9457: THEN
9458: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9463: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

9459: ,lockedactid => l_24q_asg_action_id
9460: );
9461: END IF;
9462:
9463: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
9464: l_24q_asg_action_id := NULL;
9465: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_24qc_locked_pay_id);
9466: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9467: CLOSE c_chk_asg_action;

Line 9469: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

9465: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_24qc_locked_pay_id);
9466: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9467: CLOSE c_chk_asg_action;
9468:
9469: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
9470:
9471: IF (l_24q_asg_action_id IS NOT NULL)
9472: THEN
9473: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9478: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

9474: ,lockedactid => l_24q_asg_action_id
9475: );
9476: END IF;
9477:
9478: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
9479: l_24q_asg_action_id := NULL;
9480: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_last_24qc_pay_act_id);
9481: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9482: CLOSE c_chk_asg_action;

Line 9484: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

9480: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_last_24qc_pay_act_id);
9481: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9482: CLOSE c_chk_asg_action;
9483:
9484: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
9485:
9486: IF (l_24q_asg_action_id IS NOT NULL)
9487: THEN
9488: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9497: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Element Entries ' ,70);

9493: END IF;
9494: END LOOP;
9495: END IF;
9496:
9497: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Element Entries ' ,70);
9498: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update is '|| g_count_ee_update, 71);
9499: IF ((g_count_ee_update > 1)AND(g_correction_mode <> 'Y'))
9500: THEN
9501: FOR i IN 1..g_count_ee_update - 1

Line 9498: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update is '|| g_count_ee_update, 71);

9494: END LOOP;
9495: END IF;
9496:
9497: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Element Entries ' ,70);
9498: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update is '|| g_count_ee_update, 71);
9499: IF ((g_count_ee_update > 1)AND(g_correction_mode <> 'Y'))
9500: THEN
9501: FOR i IN 1..g_count_ee_update - 1
9502: LOOP

Line 9506: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_ee_data_rec_upd(i).assignment_id,1);

9502: LOOP
9503: l_24q_asg_action_id := NULL;
9504: l_dummy := NULL;
9505:
9506: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_ee_data_rec_upd(i).assignment_id,1);
9507: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
9508: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,p_payroll_action_id);
9509: FETCH c_chk_asg_action INTO l_dummy;
9510: CLOSE c_chk_asg_action;

Line 9507: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);

9503: l_24q_asg_action_id := NULL;
9504: l_dummy := NULL;
9505:
9506: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_ee_data_rec_upd(i).assignment_id,1);
9507: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
9508: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,p_payroll_action_id);
9509: FETCH c_chk_asg_action INTO l_dummy;
9510: CLOSE c_chk_asg_action;
9511:

Line 9512: pay_in_utils.set_location(g_debug,'Value of dummy is ' || l_dummy ,3);

9508: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,p_payroll_action_id);
9509: FETCH c_chk_asg_action INTO l_dummy;
9510: CLOSE c_chk_asg_action;
9511:
9512: pay_in_utils.set_location(g_debug,'Value of dummy is ' || l_dummy ,3);
9513: IF (l_dummy IS NULL)
9514: THEN
9515: SELECT pay_assignment_actions_s.NEXTVAL
9516: INTO l_action_id

Line 9519: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

9515: SELECT pay_assignment_actions_s.NEXTVAL
9516: INTO l_action_id
9517: FROM dual;
9518:
9519: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9520: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9521:
9522: hr_nonrun_asact.insact(lockingactid => l_action_id
9523: ,assignid => g_ee_data_rec_upd(i).assignment_id

Line 9520: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

9516: INTO l_action_id
9517: FROM dual;
9518:
9519: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9520: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9521:
9522: hr_nonrun_asact.insact(lockingactid => l_action_id
9523: ,assignid => g_ee_data_rec_upd(i).assignment_id
9524: ,pactid => p_payroll_action_id

Line 9528: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

9524: ,pactid => p_payroll_action_id
9525: ,chunk => p_chunk
9526: );
9527:
9528: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
9529:
9530: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_24q_locked_pay_id);
9531: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9532: CLOSE c_chk_asg_action;

Line 9534: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

9530: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_24q_locked_pay_id);
9531: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9532: CLOSE c_chk_asg_action;
9533:
9534: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
9535:
9536: IF (l_24q_asg_action_id IS NOT NULL)
9537: THEN
9538: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9542: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

9538: hr_nonrun_asact.insint(lockingactid => l_action_id
9539: ,lockedactid => l_24q_asg_action_id
9540: );
9541: END IF;
9542: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
9543: l_24q_asg_action_id := NULL;
9544: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_24qc_locked_pay_id);
9545: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9546: CLOSE c_chk_asg_action;

Line 9548: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

9544: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_24qc_locked_pay_id);
9545: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9546: CLOSE c_chk_asg_action;
9547:
9548: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
9549:
9550: IF (l_24q_asg_action_id IS NOT NULL)
9551: THEN
9552: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9557: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

9553: ,lockedactid => l_24q_asg_action_id
9554: );
9555: END IF;
9556:
9557: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
9558: l_24q_asg_action_id := NULL;
9559: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_last_24qc_pay_act_id);
9560: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9561: CLOSE c_chk_asg_action;

Line 9563: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

9559: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_last_24qc_pay_act_id);
9560: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9561: CLOSE c_chk_asg_action;
9562:
9563: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
9564:
9565: IF (l_24q_asg_action_id IS NOT NULL)
9566: THEN
9567: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9575: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over ', 80);

9571: END IF;
9572: END LOOP;
9573: END IF;
9574:
9575: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over ', 80);
9576: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data : archive_code ',90);
9577:
9578: --C2,C3 then archive only updated Challans, if C9 then only added challans
9579: IF (g_correction_mode NOT IN ('Y','C1'))

Line 9576: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data : archive_code ',90);

9572: END LOOP;
9573: END IF;
9574:
9575: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over ', 80);
9576: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data : archive_code ',90);
9577:
9578: --C2,C3 then archive only updated Challans, if C9 then only added challans
9579: IF (g_correction_mode NOT IN ('Y','C1'))
9580: THEN

Line 9585: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);

9581: archive_challan_data(g_payroll_action_id,l_24q_locked_pay_id);
9582: END IF;
9583:
9584: IF (g_correction_mode NOT IN ('C5','Y')) THEN
9585: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);
9586: l_flag_number := -1;
9587: l_flag_number := check_archival_status(NULL,'IN_24QC_ORG',NULL,NULL);
9588: IF (l_flag_number = 0)
9589: THEN

Line 9600: pay_in_utils.set_location(g_debug,'Generating Locking...',1);

9596: THEN
9597: archive_deductee_data(g_payroll_action_id,l_24q_locked_pay_id);
9598: END IF;
9599:
9600: pay_in_utils.set_location(g_debug,'Generating Locking...',1);
9601: --Inserting Assignment Actions and Locking if no deductee records exist for this archival.
9602: IF ((g_count_ee_delete = 1) AND (g_count_ee_addition = 1) AND (g_count_ee_update = 1))
9603: THEN
9604: pay_in_utils.set_location(g_debug,'Generating Locking...',2);

Line 9604: pay_in_utils.set_location(g_debug,'Generating Locking...',2);

9600: pay_in_utils.set_location(g_debug,'Generating Locking...',1);
9601: --Inserting Assignment Actions and Locking if no deductee records exist for this archival.
9602: IF ((g_count_ee_delete = 1) AND (g_count_ee_addition = 1) AND (g_count_ee_update = 1))
9603: THEN
9604: pay_in_utils.set_location(g_debug,'Generating Locking...',2);
9605: pay_in_utils.set_location(g_debug,'p_payroll_action_id ' || p_payroll_action_id ,1);
9606: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id ' || l_24q_locked_pay_id ,1);
9607: pay_in_utils.set_location(g_debug,'l_24qc_locked_pay_id' || l_24qc_locked_pay_id,1);
9608: generate_locking(p_payroll_action_id,l_24q_locked_pay_id,l_24qc_locked_pay_id,p_chunk);

Line 9605: pay_in_utils.set_location(g_debug,'p_payroll_action_id ' || p_payroll_action_id ,1);

9601: --Inserting Assignment Actions and Locking if no deductee records exist for this archival.
9602: IF ((g_count_ee_delete = 1) AND (g_count_ee_addition = 1) AND (g_count_ee_update = 1))
9603: THEN
9604: pay_in_utils.set_location(g_debug,'Generating Locking...',2);
9605: pay_in_utils.set_location(g_debug,'p_payroll_action_id ' || p_payroll_action_id ,1);
9606: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id ' || l_24q_locked_pay_id ,1);
9607: pay_in_utils.set_location(g_debug,'l_24qc_locked_pay_id' || l_24qc_locked_pay_id,1);
9608: generate_locking(p_payroll_action_id,l_24q_locked_pay_id,l_24qc_locked_pay_id,p_chunk);
9609: END IF;

Line 9606: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id ' || l_24q_locked_pay_id ,1);

9602: IF ((g_count_ee_delete = 1) AND (g_count_ee_addition = 1) AND (g_count_ee_update = 1))
9603: THEN
9604: pay_in_utils.set_location(g_debug,'Generating Locking...',2);
9605: pay_in_utils.set_location(g_debug,'p_payroll_action_id ' || p_payroll_action_id ,1);
9606: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id ' || l_24q_locked_pay_id ,1);
9607: pay_in_utils.set_location(g_debug,'l_24qc_locked_pay_id' || l_24qc_locked_pay_id,1);
9608: generate_locking(p_payroll_action_id,l_24q_locked_pay_id,l_24qc_locked_pay_id,p_chunk);
9609: END IF;
9610:

Line 9607: pay_in_utils.set_location(g_debug,'l_24qc_locked_pay_id' || l_24qc_locked_pay_id,1);

9603: THEN
9604: pay_in_utils.set_location(g_debug,'Generating Locking...',2);
9605: pay_in_utils.set_location(g_debug,'p_payroll_action_id ' || p_payroll_action_id ,1);
9606: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id ' || l_24q_locked_pay_id ,1);
9607: pay_in_utils.set_location(g_debug,'l_24qc_locked_pay_id' || l_24qc_locked_pay_id,1);
9608: generate_locking(p_payroll_action_id,l_24q_locked_pay_id,l_24qc_locked_pay_id,p_chunk);
9609: END IF;
9610:
9611: g_action := FALSE;

Line 9625: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,100);

9621: END IF;
9622:
9623: END IF;
9624:
9625: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,100);
9626:
9627: --
9628: EXCEPTION
9629: WHEN OTHERS THEN

Line 9630: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

9626:
9627: --
9628: EXCEPTION
9629: WHEN OTHERS THEN
9630: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
9631: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
9632: END assignment_action_code;
9633:
9634: --------------------------------------------------------------------------

Line 9631: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

9627: --
9628: EXCEPTION
9629: WHEN OTHERS THEN
9630: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
9631: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
9632: END assignment_action_code;
9633:
9634: --------------------------------------------------------------------------
9635: -- --

Line 9880: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);

9876: l_message VARCHAR2(300);
9877: BEGIN
9878:
9879: l_procedure := g_package ||'.deinitialization_code';
9880: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
9881:
9882: IF (g_correction_mode = 'C5')
9883: THEN
9884: RETURN;

Line 9896: pay_in_utils.set_location(g_debug,'Checking in Challans...',2);

9892: THEN
9893: RETURN;
9894: END IF;
9895:
9896: pay_in_utils.set_location(g_debug,'Checking in Challans...',2);
9897: FOR i IN cur_challan_recs(p_payroll_action_id) LOOP
9898: l_index := nvl(l_index, 0) + 1;
9899: t_challan_nos(l_index).challan_no := i.challan;
9900: t_challan_nos(l_index).correction_type := i.correction_type;

Line 9926: pay_in_utils.set_location(g_debug,'Updating API called for Challan ', 3);

9922: t_challan_nos(l_index).correction_type := t_challan_nos(l_index).correction_type||':C5';
9923: END IF;
9924: END IF;
9925:
9926: pay_in_utils.set_location(g_debug,'Updating API called for Challan ', 3);
9927: pay_action_information_api.update_action_information
9928: (p_validate => FALSE
9929: ,p_action_information_id => t_challan_nos(l_index).action_information_id
9930: ,p_object_version_number => t_challan_nos(l_index).object_version_number

Line 9933: pay_in_utils.set_location(g_debug,'Updating API successful for Challan ', 3);

9929: ,p_action_information_id => t_challan_nos(l_index).action_information_id
9930: ,p_object_version_number => t_challan_nos(l_index).object_version_number
9931: ,p_action_information29 => t_challan_nos(l_index).correction_type
9932: );
9933: pay_in_utils.set_location(g_debug,'Updating API successful for Challan ', 3);
9934: l_org_update_string := NVL(l_org_update_string, '1') ||':'||t_challan_nos(l_index).correction_type;
9935:
9936: END LOOP;
9937:

Line 9938: pay_in_utils.set_location(g_debug,'Checked Challans...',2);

9934: l_org_update_string := NVL(l_org_update_string, '1') ||':'||t_challan_nos(l_index).correction_type;
9935:
9936: END LOOP;
9937:
9938: pay_in_utils.set_location(g_debug,'Checked Challans...',2);
9939:
9940:
9941: pay_in_utils.set_location(g_debug,'Updating SD Record Number for A mode in Salary Records : ',3);
9942:

Line 9941: pay_in_utils.set_location(g_debug,'Updating SD Record Number for A mode in Salary Records : ',3);

9937:
9938: pay_in_utils.set_location(g_debug,'Checked Challans...',2);
9939:
9940:
9941: pay_in_utils.set_location(g_debug,'Updating SD Record Number for A mode in Salary Records : ',3);
9942:
9943: l_index := 0;
9944: FOR c_salary_rec IN cur_salary_update_recs
9945: LOOP

Line 9949: pay_in_utils.set_location(g_debug,'l_index...',1);

9945: LOOP
9946: OPEN cur_min_salary_record(c_salary_rec.gre_id);
9947: FETCH cur_min_salary_record INTO l_index;
9948: CLOSE cur_min_salary_record;
9949: pay_in_utils.set_location(g_debug,'l_index...',1);
9950: pay_in_utils.set_location(g_debug,'c_salary_rec.gre_id...',c_salary_rec.gre_id);
9951:
9952: FOR cur_rec IN cur_person_update_recs(c_salary_rec.gre_id)
9953: LOOP

Line 9950: pay_in_utils.set_location(g_debug,'c_salary_rec.gre_id...',c_salary_rec.gre_id);

9946: OPEN cur_min_salary_record(c_salary_rec.gre_id);
9947: FETCH cur_min_salary_record INTO l_index;
9948: CLOSE cur_min_salary_record;
9949: pay_in_utils.set_location(g_debug,'l_index...',1);
9950: pay_in_utils.set_location(g_debug,'c_salary_rec.gre_id...',c_salary_rec.gre_id);
9951:
9952: FOR cur_rec IN cur_person_update_recs(c_salary_rec.gre_id)
9953: LOOP
9954: pay_action_information_api.update_action_information

Line 9961: pay_in_utils.set_location(g_debug,'l_index...',2);

9957: ,p_object_version_number => cur_rec.object_version_number
9958: ,p_action_information12 => l_index
9959: );
9960: l_index := l_index + 1;
9961: pay_in_utils.set_location(g_debug,'l_index...',2);
9962: pay_in_utils.set_location(g_debug,'l_index...',2);
9963: END LOOP;
9964: END LOOP;
9965:

Line 9962: pay_in_utils.set_location(g_debug,'l_index...',2);

9958: ,p_action_information12 => l_index
9959: );
9960: l_index := l_index + 1;
9961: pay_in_utils.set_location(g_debug,'l_index...',2);
9962: pay_in_utils.set_location(g_debug,'l_index...',2);
9963: END LOOP;
9964: END LOOP;
9965:
9966: pay_in_utils.set_location(g_debug,'Updated SD Record Number for A mode in Salary Records : ',3);

Line 9966: pay_in_utils.set_location(g_debug,'Updated SD Record Number for A mode in Salary Records : ',3);

9962: pay_in_utils.set_location(g_debug,'l_index...',2);
9963: END LOOP;
9964: END LOOP;
9965:
9966: pay_in_utils.set_location(g_debug,'Updated SD Record Number for A mode in Salary Records : ',3);
9967:
9968: pay_in_utils.set_location(g_debug,'Checking in Salary Records...',3);
9969:
9970: FOR i IN cur_salary_recs(p_payroll_action_id) LOOP

Line 9968: pay_in_utils.set_location(g_debug,'Checking in Salary Records...',3);

9964: END LOOP;
9965:
9966: pay_in_utils.set_location(g_debug,'Updated SD Record Number for A mode in Salary Records : ',3);
9967:
9968: pay_in_utils.set_location(g_debug,'Checking in Salary Records...',3);
9969:
9970: FOR i IN cur_salary_recs(p_payroll_action_id) LOOP
9971:
9972: OPEN cur_c5_salary_recs(p_payroll_action_id, i.person_id);

Line 9990: pay_in_utils.set_location(g_debug,'Checked Salary Records...',3);

9986: END IF;
9987:
9988: END LOOP;
9989:
9990: pay_in_utils.set_location(g_debug,'Checked Salary Records...',3);
9991:
9992: IF INSTR(l_org_update_string, 'C2') <> 0 THEN
9993: IF org_correction_type is null or org_correction_type = 'C1' THEN
9994: org_correction_type := 'C2';

Line 10029: pay_in_utils.set_location(g_debug,'Updating API called for Org ', 3);

10025: END IF;
10026: END IF;
10027:
10028:
10029: pay_in_utils.set_location(g_debug,'Updating API called for Org ', 3);
10030: pay_action_information_api.update_action_information
10031: (p_validate => FALSE
10032: ,p_action_information_id => l_action_info_id
10033: ,p_object_version_number => l_ovn

Line 10036: pay_in_utils.set_location(g_debug,'Updating API successful for Org ', 3);

10032: ,p_action_information_id => l_action_info_id
10033: ,p_object_version_number => l_ovn
10034: ,p_action_information29 => org_correction_type
10035: );
10036: pay_in_utils.set_location(g_debug,'Updating API successful for Org ', 3);
10037: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.deinitialization_code',1);
10038:
10039: EXCEPTION
10040: WHEN OTHERS THEN

Line 10037: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.deinitialization_code',1);

10033: ,p_object_version_number => l_ovn
10034: ,p_action_information29 => org_correction_type
10035: );
10036: pay_in_utils.set_location(g_debug,'Updating API successful for Org ', 3);
10037: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.deinitialization_code',1);
10038:
10039: EXCEPTION
10040: WHEN OTHERS THEN
10041: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

Line 10041: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

10037: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.deinitialization_code',1);
10038:
10039: EXCEPTION
10040: WHEN OTHERS THEN
10041: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
10042: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
10043: END deinitialization_code;
10044:
10045:

Line 10042: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

10038:
10039: EXCEPTION
10040: WHEN OTHERS THEN
10041: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
10042: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
10043: END deinitialization_code;
10044:
10045:
10046: END pay_in_24qc_archive;