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 457: l_token_name pay_in_utils.char_tab_type;

453: l_procedure VARCHAR2(100);
454: l_assess_yr_start DATE;
455: l_end_date DATE;
456: i NUMBER;
457: l_token_name pay_in_utils.char_tab_type;
458: l_token_value pay_in_utils.char_tab_type;
459: l_arch_ref_no_check NUMBER;
460: E_NON_UNIQUE_ARCH_REF_NO EXCEPTION;
461: --

Line 458: l_token_value pay_in_utils.char_tab_type;

454: l_assess_yr_start DATE;
455: l_end_date DATE;
456: i NUMBER;
457: l_token_name pay_in_utils.char_tab_type;
458: l_token_value pay_in_utils.char_tab_type;
459: l_arch_ref_no_check NUMBER;
460: E_NON_UNIQUE_ARCH_REF_NO EXCEPTION;
461: --
462: BEGIN

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

463: --
464: g_debug := hr_utility.debug_enabled;
465: l_procedure := g_package || '.initialization_code';
466:
467: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
468:
469: g_payroll_action_id := p_payroll_action_id;
470: get_parameters(p_payroll_action_id,'YR' ,g_year);
471: get_parameters(p_payroll_action_id,'GRE',g_gre_id);

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

482:
483: g_qr_start_date := ADD_MONTHS(l_assess_yr_start,(i*3)-12);
484: g_end_date := ADD_MONTHS(g_qr_start_date,3) -1;
485:
486: pay_in_utils.set_location(g_debug,'Finding Globals : '||l_procedure,20);
487:
488: g_qr_end_date := ADD_MONTHS(g_qr_start_date,3) - 1;
489:
490: g_tax_year := TO_CHAR(TO_NUMBER(SUBSTR(g_year,1,4))-1)||'-'|| SUBSTR(g_year,1,4);

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

508: l_token_value(1) := hr_general.decode_lookup('IN_MESSAGE_TOKENS','ARCH_REF_NUM');--'Archive Reference Number';
509: RAISE E_NON_UNIQUE_ARCH_REF_NO;
510: END IF;
511:
512: pay_in_utils.set_location(g_debug,'Global1: '||g_year||' '||' '||g_quarter||' '||g_gre_id,30);
513: pay_in_utils.set_location(g_debug,'Global2: '||g_end_date||g_qr_start_date||g_qr_end_date,40);
514: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,50);
515:
516: --

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

509: RAISE E_NON_UNIQUE_ARCH_REF_NO;
510: END IF;
511:
512: pay_in_utils.set_location(g_debug,'Global1: '||g_year||' '||' '||g_quarter||' '||g_gre_id,30);
513: pay_in_utils.set_location(g_debug,'Global2: '||g_end_date||g_qr_start_date||g_qr_end_date,40);
514: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,50);
515:
516: --
517: EXCEPTION

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

510: END IF;
511:
512: pay_in_utils.set_location(g_debug,'Global1: '||g_year||' '||' '||g_quarter||' '||g_gre_id,30);
513: pay_in_utils.set_location(g_debug,'Global2: '||g_end_date||g_qr_start_date||g_qr_end_date,40);
514: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,50);
515:
516: --
517: EXCEPTION
518: WHEN E_NON_UNIQUE_ARCH_REF_NO THEN

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

515:
516: --
517: EXCEPTION
518: WHEN E_NON_UNIQUE_ARCH_REF_NO THEN
519: pay_in_utils.raise_message(800, 'PER_IN_NON_UNIQUE_VALUE', l_token_name, l_token_value);
520: fnd_file.put_line(fnd_file.log,'Archive Reference Number '|| g_24qc_reference || 'is non-unique.');
521: RAISE;
522: WHEN OTHERS THEN
523: RAISE;

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

562: l_message VARCHAR2(250);
563: BEGIN
564: g_debug := hr_utility.debug_enabled;
565: l_procedure := g_package ||'.assignment_end_date';
566: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
567: OPEN c_termination_check;
568: FETCH c_termination_check INTO l_date;
569: CLOSE c_termination_check;
570: pay_in_utils.set_location(g_debug,'Date Found is: '|| l_date,2);

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

566: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
567: OPEN c_termination_check;
568: FETCH c_termination_check INTO l_date;
569: CLOSE c_termination_check;
570: pay_in_utils.set_location(g_debug,'Date Found is: '|| l_date,2);
571: pay_in_utils.set_location(g_debug,'Leaving :'||g_package||'.assignment_end_date',3);
572: RETURN LEAST(l_date,g_qr_end_date);
573: EXCEPTION
574: WHEN OTHERS THEN

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

567: OPEN c_termination_check;
568: FETCH c_termination_check INTO l_date;
569: CLOSE c_termination_check;
570: pay_in_utils.set_location(g_debug,'Date Found is: '|| l_date,2);
571: pay_in_utils.set_location(g_debug,'Leaving :'||g_package||'.assignment_end_date',3);
572: RETURN LEAST(l_date,g_qr_end_date);
573: EXCEPTION
574: WHEN OTHERS THEN
575: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

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

571: pay_in_utils.set_location(g_debug,'Leaving :'||g_package||'.assignment_end_date',3);
572: RETURN LEAST(l_date,g_qr_end_date);
573: EXCEPTION
574: WHEN OTHERS THEN
575: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
576: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
577: END assignment_end_date;
578:
579: --------------------------------------------------------------------------

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

572: RETURN LEAST(l_date,g_qr_end_date);
573: EXCEPTION
574: WHEN OTHERS THEN
575: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
576: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
577: END assignment_end_date;
578:
579: --------------------------------------------------------------------------
580: -- --

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

606: --
607: g_debug := hr_utility.debug_enabled;
608: l_procedure := g_package || '.range_code';
609:
610: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
611:
612: -- Call core package to return SQL string to SELECT a range
613: -- of assignments eligible for archival
614: --

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

614: --
615: pay_core_payslip_utils.range_cursor(p_payroll_action_id
616: ,p_sql);
617:
618: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
619: --
620: EXCEPTION
621: WHEN OTHERS THEN
622: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

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

618: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
619: --
620: EXCEPTION
621: WHEN OTHERS THEN
622: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
623: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
624: --
625: END range_code;
626:

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

619: --
620: EXCEPTION
621: WHEN OTHERS THEN
622: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
623: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
624: --
625: END range_code;
626:
627: --------------------------------------------------------------------------

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

663: l_message VARCHAR2(250);
664: BEGIN
665: g_debug := hr_utility.debug_enabled;
666: l_procedure := g_package ||'.update_challans';
667: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
668: pay_in_utils.set_location(g_debug,'g_24q_payroll_act_id ' || g_24q_payroll_act_id ,1);
669: pay_in_utils.set_location(g_debug,'g_24qc_payroll_act_id ' || g_24qc_payroll_act_id,1);
670:
671: l_last_sum := NULL;

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

664: BEGIN
665: g_debug := hr_utility.debug_enabled;
666: l_procedure := g_package ||'.update_challans';
667: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
668: pay_in_utils.set_location(g_debug,'g_24q_payroll_act_id ' || g_24q_payroll_act_id ,1);
669: pay_in_utils.set_location(g_debug,'g_24qc_payroll_act_id ' || g_24qc_payroll_act_id,1);
670:
671: l_last_sum := NULL;
672: pay_in_utils.set_location(g_debug,'Starting updation of action_information19 for Challans ' ,1);

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

665: g_debug := hr_utility.debug_enabled;
666: l_procedure := g_package ||'.update_challans';
667: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
668: pay_in_utils.set_location(g_debug,'g_24q_payroll_act_id ' || g_24q_payroll_act_id ,1);
669: pay_in_utils.set_location(g_debug,'g_24qc_payroll_act_id ' || g_24qc_payroll_act_id,1);
670:
671: l_last_sum := NULL;
672: pay_in_utils.set_location(g_debug,'Starting updation of action_information19 for Challans ' ,1);
673: IF (g_24qc_payroll_act_id IS NOT NULL)

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

668: pay_in_utils.set_location(g_debug,'g_24q_payroll_act_id ' || g_24q_payroll_act_id ,1);
669: pay_in_utils.set_location(g_debug,'g_24qc_payroll_act_id ' || g_24qc_payroll_act_id,1);
670:
671: l_last_sum := NULL;
672: pay_in_utils.set_location(g_debug,'Starting updation of action_information19 for Challans ' ,1);
673: IF (g_24qc_payroll_act_id IS NOT NULL)
674: THEN
675: pay_in_utils.set_location(g_debug,'Using 24Q Correction Data',2);
676: l_last_sum := pay_in_24qc_er_returns.get_24qc_tax_values(p_challan_number

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

671: l_last_sum := NULL;
672: pay_in_utils.set_location(g_debug,'Starting updation of action_information19 for Challans ' ,1);
673: IF (g_24qc_payroll_act_id IS NOT NULL)
674: THEN
675: pay_in_utils.set_location(g_debug,'Using 24Q Correction Data',2);
676: l_last_sum := pay_in_24qc_er_returns.get_24qc_tax_values(p_challan_number
677: ,g_gre_id
678: ,g_24qc_payroll_act_id
679: );

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

681: END IF;
682:
683: IF(TO_NUMBER(NVL(l_last_sum,0)) = 0)
684: THEN
685: pay_in_utils.set_location(g_debug,'Using 24Q Data',3);
686: OPEN c_24q_ee_sum(p_challan_number,g_24q_payroll_act_id);
687: FETCH c_24q_ee_sum INTO l_last_sum;
688: CLOSE c_24q_ee_sum;
689: l_last_sum := pay_in_24q_er_returns.get_format_value(l_last_sum);

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

688: CLOSE c_24q_ee_sum;
689: l_last_sum := pay_in_24q_er_returns.get_format_value(l_last_sum);
690: END IF;
691:
692: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.update_challans',1);
693: RETURN l_last_sum;
694: EXCEPTION
695: WHEN OTHERS THEN
696: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

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

692: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.update_challans',1);
693: RETURN l_last_sum;
694: EXCEPTION
695: WHEN OTHERS THEN
696: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
697: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
698: END update_challans;
699:
700: --------------------------------------------------------------------------

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

693: RETURN l_last_sum;
694: EXCEPTION
695: WHEN OTHERS THEN
696: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
697: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
698: END update_challans;
699:
700: --------------------------------------------------------------------------
701: -- --

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

753: l_message VARCHAR2(250);
754:
755: BEGIN
756: l_procedure := g_package || '.check_ee_in_qc';
757: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
758:
759: OPEN check_ee;
760: FETCH check_ee INTO l_challan_number,l_action_info_id;
761: CLOSE check_ee;

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

759: OPEN check_ee;
760: FETCH check_ee INTO l_challan_number,l_action_info_id;
761: CLOSE check_ee;
762:
763: l_challan_number := NVL(l_challan_number,pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number'));
764:
765: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
766: RETURN l_challan_number;
767: EXCEPTION

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

761: CLOSE check_ee;
762:
763: l_challan_number := NVL(l_challan_number,pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number'));
764:
765: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
766: RETURN l_challan_number;
767: EXCEPTION
768: WHEN OTHERS THEN
769: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

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

765: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,20);
766: RETURN l_challan_number;
767: EXCEPTION
768: WHEN OTHERS THEN
769: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
770: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
771: END check_ee_in_qc;
772:
773: --------------------------------------------------------------------------

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

766: RETURN l_challan_number;
767: EXCEPTION
768: WHEN OTHERS THEN
769: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
770: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
771: END check_ee_in_qc;
772:
773: --------------------------------------------------------------------------
774: -- --

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

825: AND entry.effective_start_date BETWEEN g_qr_start_date
826: AND g_qr_end_date
827: )
828: OR
829: pai.action_information1 <> pay_in_utils.get_ee_value(pai.source_id,'Challan or Voucher Number')
830: )
831: AND (
832: pai.source_id NOT IN
833: (SELECT pai.source_id

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

854: AND org_information6 = 'C'
855: )
856: )
857: OR
858: pay_in_utils.get_ee_value(pai.source_id,'Challan or Voucher Number') NOT IN
859: (
860: (SELECT pai.action_information1
861: FROM pay_action_information pai
862: ,pay_action_interlocks locks

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

889: IS
890: SELECT entry.element_entry_id element_entry_id
891: ,entry.assignment_id assignment_id
892: ,NULL last_action_context_id
893: ,pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number')
894: FROM pay_element_entries_f entry
895: ,pay_element_types_f types
896: WHERE entry.element_type_id = types.element_type_id
897: AND types.element_name = 'Income Tax Challan Information'

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

906: AND pai.action_context_id = paa.assignment_action_id
907: AND paa.payroll_action_id = p_payroll_action_id
908: )
909: OR
910: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') NOT IN
911: (SELECT pai.action_information1
912: FROM pay_action_information pai
913: ,pay_assignment_actions paa
914: WHERE pai.action_information_category = 'IN_24Q_DEDUCTEE'

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

943: AND org_information6 = 'C'
944: )
945: )
946: OR
947: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') NOT IN
948: (
949: (SELECT pai.action_information1
950: FROM pay_action_information pai
951: ,pay_action_interlocks locks

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

972: )
973: )
974: )
975: )
976: AND pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') IN
977: (
978: SELECT hoi.org_information3
979: FROM hr_organization_information hoi
980: ,hr_organization_units hou

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

988: AND (
989: (
990: g_correction_mode IN ('%','C3')
991: AND
992: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') IN
993: (
994: SELECT action_information1
995: FROM pay_action_information
996: WHERE action_information_category IN('IN_24QC_CHALLAN','IN_24Q_CHALLAN')

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

1021: )
1022: OR
1023: (g_correction_mode IN ('%','C9')
1024: AND
1025: pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') NOT IN
1026: (
1027: SELECT action_information1
1028: FROM pay_action_information
1029: WHERE action_information_category IN('IN_24QC_CHALLAN','IN_24Q_CHALLAN')

Line 1091: (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'))))

1087: AND assignment_end_date(asg.assignment_id) BETWEEN paa.effective_start_date AND paa.effective_end_date
1088: AND ROWNUM = 1)
1089: )
1090: OR
1091: (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'))))
1092: OR
1093: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1094: OR
1095: (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 1093: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))

1089: )
1090: OR
1091: (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'))))
1092: OR
1093: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1094: OR
1095: (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'))))
1096: OR
1097: (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 1095: (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'))))

1091: (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'))))
1092: OR
1093: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1094: OR
1095: (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'))))
1096: OR
1097: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1098: OR
1099: (pai.action_information4 <> pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))

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

1093: (TO_NUMBER(remove_curr_format(pai.action_information7)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1094: OR
1095: (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'))))
1096: OR
1097: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1098: OR
1099: (pai.action_information4 <> pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))
1100: OR
1101: (pai.action_information12 <> hr_in_utility.per_in_full_name(pep.first_name,pep.middle_names,pep.last_name,pep.title))

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

1095: (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'))))
1096: OR
1097: (TO_NUMBER(remove_curr_format(pai.action_information5)) <> TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1098: OR
1099: (pai.action_information4 <> pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))
1100: OR
1101: (pai.action_information12 <> hr_in_utility.per_in_full_name(pep.first_name,pep.middle_names,pep.last_name,pep.title))
1102: OR
1103: (NVL(pai.action_information11,'0') <> NVL(pep.per_information14,'0'))

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

1115: AND ((DECODE(pep.per_information4,NULL,DECODE(pep.per_information5,'Yes','APPLIEDFOR','PANNOTAVBL'),pep.per_information4))IN('APPLIEDFOR','PANNOTAVBL'))
1116: )
1117: )
1118: )
1119: AND pay_in_utils.get_ee_value(pai.source_id,'Challan or Voucher Number') = pai.action_information1
1120: )
1121: AND assignment_end_date(asg.assignment_id) BETWEEN asg.effective_start_date AND asg.effective_end_date
1122: AND assignment_end_date(asg.assignment_id) BETWEEN pep.effective_start_date AND pep.effective_end_date
1123: ORDER BY 4 DESC;

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_information10 <> 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_information10 <> hr_in_utility.per_in_full_name(pep.first_name,pep.middle_names,pep.last_name,pep.title))
1209: OR(--Checking PAN Number
1210: (

Line 1255: (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'))))

1251: AND assignment_end_date(asg.assignment_id) BETWEEN paa.effective_start_date AND paa.effective_end_date
1252: AND ROWNUM = 1)
1253: )
1254: AND
1255: (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'))))
1256: AND
1257: (TO_NUMBER(remove_curr_format(pai.action_information7)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1258: AND
1259: (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 1257: (TO_NUMBER(remove_curr_format(pai.action_information7)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))

1253: )
1254: AND
1255: (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'))))
1256: AND
1257: (TO_NUMBER(remove_curr_format(pai.action_information7)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1258: AND
1259: (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'))))
1260: AND
1261: (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 1259: (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'))))

1255: (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'))))
1256: AND
1257: (TO_NUMBER(remove_curr_format(pai.action_information7)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1258: AND
1259: (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'))))
1260: AND
1261: (TO_NUMBER(remove_curr_format(pai.action_information5)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1262: AND
1263: (pai.action_information4 = pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))

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

1257: (TO_NUMBER(remove_curr_format(pai.action_information7)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Surcharge Deducted'))))
1258: AND
1259: (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'))))
1260: AND
1261: (TO_NUMBER(remove_curr_format(pai.action_information5)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1262: AND
1263: (pai.action_information4 = pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))
1264: AND
1265: (pai.action_information10 = hr_in_utility.per_in_full_name(pep.first_name,pep.middle_names,pep.last_name,pep.title))

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

1259: (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'))))
1260: AND
1261: (TO_NUMBER(remove_curr_format(pai.action_information5)) = TO_NUMBER(remove_curr_format(pay_in_utils.get_ee_value(pai.source_id,'Taxable Income'))))
1262: AND
1263: (pai.action_information4 = pay_in_utils.get_ee_value(pai.source_id,'Payment Date'))
1264: AND
1265: (pai.action_information10 = hr_in_utility.per_in_full_name(pep.first_name,pep.middle_names,pep.last_name,pep.title))
1266: AND(--Checking PAN Number
1267: (

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

1352: CURSOR c_live_ee
1353: IS
1354: SELECT entry.element_entry_id element_entry_id
1355: ,entry.assignment_id assignment_id
1356: ,pay_in_utils.get_ee_value(entry.element_entry_id,'Challan or Voucher Number') challan
1357: FROM pay_element_entries_f entry
1358: ,pay_element_types_f types
1359: WHERE entry.element_type_id = types.element_type_id
1360: AND types.element_name = 'Income Tax Challan Information'

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

1382: --
1383: g_debug := hr_utility.debug_enabled;
1384: l_procedure := g_package || '.generate_employee_data';
1385:
1386: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
1387:
1388: --The below process finds those Challan Element Entries which have MODE as Deletion(D)
1389: pay_in_utils.set_location(g_debug,'Finding element entries deleted since last statement ',2);
1390: FOR c_rec IN c_delete_mode_entries(p_payroll_action_id)

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

1385:
1386: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
1387:
1388: --The below process finds those Challan Element Entries which have MODE as Deletion(D)
1389: pay_in_utils.set_location(g_debug,'Finding element entries deleted since last statement ',2);
1390: FOR c_rec IN c_delete_mode_entries(p_payroll_action_id)
1391: LOOP
1392: l_bg_check := 0;
1393: OPEN c_bg_check(c_rec.assignment_id);

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

1403: g_count_ee_delete := g_count_ee_delete + 1;
1404: END IF;
1405: END LOOP;
1406:
1407: pay_in_utils.set_location(g_debug,'Finding element entries added since last statement ',3);
1408: --The below process finds those Challan Element Entries which have MODE as Addition(A)
1409: FOR c_rec IN c_addition_mode_entries(p_payroll_action_id)
1410: LOOP
1411: l_bg_check := 0;

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

1433: IF (l_bg_check = 1)
1434: THEN
1435: IF (c_rec.challan <> check_ee_in_qc(c_rec.element_entry_id))
1436: THEN
1437: pay_in_utils.set_location(g_debug,'Live Challan Value is: '|| c_rec.challan,1);
1438: pay_in_utils.set_location(g_debug,'Old Challan Value is: '|| check_ee_in_qc(c_rec.element_entry_id),2);
1439: g_ee_data_rec_add(g_count_ee_addition).last_action_context_id := NULL;
1440: g_ee_data_rec_add(g_count_ee_addition).assignment_id := c_rec.assignment_id;
1441: g_ee_data_rec_add(g_count_ee_addition).element_entry_id := c_rec.element_entry_id;

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

1434: THEN
1435: IF (c_rec.challan <> check_ee_in_qc(c_rec.element_entry_id))
1436: THEN
1437: pay_in_utils.set_location(g_debug,'Live Challan Value is: '|| c_rec.challan,1);
1438: pay_in_utils.set_location(g_debug,'Old Challan Value is: '|| check_ee_in_qc(c_rec.element_entry_id),2);
1439: g_ee_data_rec_add(g_count_ee_addition).last_action_context_id := NULL;
1440: g_ee_data_rec_add(g_count_ee_addition).assignment_id := c_rec.assignment_id;
1441: g_ee_data_rec_add(g_count_ee_addition).element_entry_id := c_rec.element_entry_id;
1442: g_ee_data_rec_add(g_count_ee_addition).deductee_mode := 'A';

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

1445: END IF;
1446: END LOOP;
1447: --The below process finds those Challan Element Entries which have MODE as Updation(U)
1448: -- This code checks U from Form 24Q Archival to Live Data
1449: pay_in_utils.set_location(g_debug,'Finding element entries updated since last statement ',4);
1450: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Archival ', 1);
1451:
1452: l_flag := TRUE;
1453: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)

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

1446: END LOOP;
1447: --The below process finds those Challan Element Entries which have MODE as Updation(U)
1448: -- This code checks U from Form 24Q Archival to Live Data
1449: pay_in_utils.set_location(g_debug,'Finding element entries updated since last statement ',4);
1450: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Archival ', 1);
1451:
1452: l_flag := TRUE;
1453: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
1454: LOOP

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

1451:
1452: l_flag := TRUE;
1453: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
1454: LOOP
1455: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
1456: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1457: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1458: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1459: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);

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

1452: l_flag := TRUE;
1453: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
1454: LOOP
1455: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
1456: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1457: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1458: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1459: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);
1460: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id '|| csr_rec.element_entry_id ,2);

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

1453: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
1454: LOOP
1455: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
1456: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1457: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1458: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1459: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);
1460: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id '|| csr_rec.element_entry_id ,2);
1461:

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

1454: LOOP
1455: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
1456: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1457: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1458: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1459: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);
1460: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id '|| csr_rec.element_entry_id ,2);
1461:
1462: l_flag := TRUE;

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

1455: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
1456: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1457: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1458: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1459: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);
1460: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id '|| csr_rec.element_entry_id ,2);
1461:
1462: l_flag := TRUE;
1463:

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

1456: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,2);
1457: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
1458: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,2);
1459: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,2);
1460: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id '|| csr_rec.element_entry_id ,2);
1461:
1462: l_flag := TRUE;
1463:
1464: FOR c_rec IN c_check_entries_in_24q_correct(csr_rec.last_action_context_id

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

1469: LOOP
1470: IF ((c_rec.last_action_context_id IS NOT NULL)AND l_flag)
1471: THEN
1472: l_last_action_context_id := c_rec.last_action_context_id;
1473: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',11);
1474: pay_in_utils.set_location(g_debug,'with action context id as ' || l_last_action_context_id,1);
1475: l_flag := FALSE;
1476: END IF;
1477: END LOOP;

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

1470: IF ((c_rec.last_action_context_id IS NOT NULL)AND l_flag)
1471: THEN
1472: l_last_action_context_id := c_rec.last_action_context_id;
1473: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',11);
1474: pay_in_utils.set_location(g_debug,'with action context id as ' || l_last_action_context_id,1);
1475: l_flag := FALSE;
1476: END IF;
1477: END LOOP;
1478:

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

1475: l_flag := FALSE;
1476: END IF;
1477: END LOOP;
1478:
1479: pay_in_utils.set_location(g_debug,'Mid way in finding updated element entries ', 5);
1480: IF (l_last_action_context_id IS NULL)
1481: THEN
1482: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',1);
1483: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',1);

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

1478:
1479: pay_in_utils.set_location(g_debug,'Mid way in finding updated element entries ', 5);
1480: IF (l_last_action_context_id IS NULL)
1481: THEN
1482: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',1);
1483: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',1);
1484: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := csr_rec.last_action_context_id;
1485: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;
1486: g_ee_data_rec_upd(g_count_ee_update).element_entry_id := csr_rec.element_entry_id;

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

1479: pay_in_utils.set_location(g_debug,'Mid way in finding updated element entries ', 5);
1480: IF (l_last_action_context_id IS NULL)
1481: THEN
1482: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',1);
1483: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',1);
1484: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := csr_rec.last_action_context_id;
1485: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;
1486: g_ee_data_rec_upd(g_count_ee_update).element_entry_id := csr_rec.element_entry_id;
1487: g_ee_data_rec_upd(g_count_ee_update).deductee_mode := 'U';

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

1487: g_ee_data_rec_upd(g_count_ee_update).deductee_mode := 'U';
1488: g_count_ee_update := g_count_ee_update + 1;
1489: ELSE --Present then need to check the present values with the archived values under Form 24QCorrection
1490: l_dummy := NULL;
1491: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',1);
1492: pay_in_utils.set_location(g_debug,'Need to compare the value from 24Q Correction now',1);
1493: OPEN c_24qc_upd_mode_entries(l_last_action_context_id,csr_rec.element_entry_id);
1494: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1495: CLOSE c_24qc_upd_mode_entries;

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

1488: g_count_ee_update := g_count_ee_update + 1;
1489: ELSE --Present then need to check the present values with the archived values under Form 24QCorrection
1490: l_dummy := NULL;
1491: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',1);
1492: pay_in_utils.set_location(g_debug,'Need to compare the value from 24Q Correction now',1);
1493: OPEN c_24qc_upd_mode_entries(l_last_action_context_id,csr_rec.element_entry_id);
1494: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1495: CLOSE c_24qc_upd_mode_entries;
1496:

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

1494: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1495: CLOSE c_24qc_upd_mode_entries;
1496:
1497: IF (l_dummy IS NOT NULL) THEN
1498: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',1);
1499: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,1);
1500: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id'|| csr_rec.element_entry_id,2);
1501: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := l_dummy;
1502: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;

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

1495: CLOSE c_24qc_upd_mode_entries;
1496:
1497: IF (l_dummy IS NOT NULL) THEN
1498: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',1);
1499: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,1);
1500: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id'|| csr_rec.element_entry_id,2);
1501: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := l_dummy;
1502: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;
1503: g_ee_data_rec_upd(g_count_ee_update).element_entry_id := csr_rec.element_entry_id;

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

1496:
1497: IF (l_dummy IS NOT NULL) THEN
1498: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',1);
1499: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,1);
1500: pay_in_utils.set_location(g_debug,'csr_rec.element_entry_id'|| csr_rec.element_entry_id,2);
1501: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := l_dummy;
1502: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;
1503: g_ee_data_rec_upd(g_count_ee_update).element_entry_id := csr_rec.element_entry_id;
1504: g_ee_data_rec_upd(g_count_ee_update).deductee_mode := 'U';

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

1502: g_ee_data_rec_upd(g_count_ee_update).assignment_id := csr_rec.assignment_id;
1503: g_ee_data_rec_upd(g_count_ee_update).element_entry_id := csr_rec.element_entry_id;
1504: g_ee_data_rec_upd(g_count_ee_update).deductee_mode := 'U';
1505: g_count_ee_update := g_count_ee_update + 1;
1506: pay_in_utils.set_location(g_debug,'Stored data as 24Q Correction Data',1);
1507: END IF;
1508: END IF;
1509: END LOOP;
1510: pay_in_utils.set_location(g_debug,'Additional Checking on updated element entries ', 6);

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

1506: pay_in_utils.set_location(g_debug,'Stored data as 24Q Correction Data',1);
1507: END IF;
1508: END IF;
1509: END LOOP;
1510: pay_in_utils.set_location(g_debug,'Additional Checking on updated element entries ', 6);
1511: --Similarly need to repeat the above structure for the case when data after submission to authorities
1512: --was updated, form 24qc generated again updated to original form and 24qc again generated
1513: --The following code checks U for Data under Form 24Q Correction.
1514:

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

1512: --was updated, form 24qc generated again updated to original form and 24qc again generated
1513: --The following code checks U for Data under Form 24Q Correction.
1514:
1515: -- This cursor finds all those Form 24Q Corrections that are locking Form 24Q
1516: pay_in_utils.set_location(g_debug,'Now checking those element entries that have same data in live and 24QC ', 7);
1517: FOR c_rec IN c_form_24qc_locking_id('U',1)
1518: LOOP
1519:
1520: l_flag := TRUE;

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

1519:
1520: l_flag := TRUE;
1521: l_dummy := NULL;
1522:
1523: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',1);
1524: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,1);
1525: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id' || c_rec.element_entry_id,2);
1526:
1527: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);

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

1520: l_flag := TRUE;
1521: l_dummy := NULL;
1522:
1523: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',1);
1524: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,1);
1525: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id' || c_rec.element_entry_id,2);
1526:
1527: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);
1528: FETCH c_24qc_upd_mode_entries INTO l_dummy;

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

1521: l_dummy := NULL;
1522:
1523: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',1);
1524: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,1);
1525: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id' || c_rec.element_entry_id,2);
1526:
1527: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);
1528: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1529: CLOSE c_24qc_upd_mode_entries;

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

1529: CLOSE c_24qc_upd_mode_entries;
1530:
1531: IF (l_dummy IS NOT NULL)
1532: THEN
1533: pay_in_utils.set_location(g_debug,'Diff found with the Live Data',3);
1534: FOR i IN 1.. g_count_ee_update - 1
1535: LOOP
1536: IF (
1537: (g_ee_data_rec_upd(i).last_action_context_id = c_rec.last_action_context_id)

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

1546: l_flag := FALSE;
1547: END IF;
1548: END LOOP;
1549: ELSE
1550: pay_in_utils.set_location(g_debug,'No Diff found with the Live Data',3);
1551: l_flag := FALSE;
1552: END IF;
1553:
1554: IF (l_flag)

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

1562:
1563: END LOOP;
1564: --Now Searching for those updated element entries that were created after
1565: --form 24Q Correction generation
1566: pay_in_utils.set_location(g_debug,'Now Searching for those updated element entries that were 24QC+',1);
1567: FOR c_rec IN c_form_24qc_locking_id('A',2)
1568: LOOP
1569: l_dummy := NULL;
1570: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,1);

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

1566: pay_in_utils.set_location(g_debug,'Now Searching for those updated element entries that were 24QC+',1);
1567: FOR c_rec IN c_form_24qc_locking_id('A',2)
1568: LOOP
1569: l_dummy := NULL;
1570: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,1);
1571: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,1);
1572: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id '|| c_rec.element_entry_id ,1);
1573:
1574: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);

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

1567: FOR c_rec IN c_form_24qc_locking_id('A',2)
1568: LOOP
1569: l_dummy := NULL;
1570: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,1);
1571: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,1);
1572: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id '|| c_rec.element_entry_id ,1);
1573:
1574: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);
1575: FETCH c_24qc_upd_mode_entries INTO l_dummy;

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

1568: LOOP
1569: l_dummy := NULL;
1570: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,1);
1571: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,1);
1572: pay_in_utils.set_location(g_debug,'c_rec.element_entry_id '|| c_rec.element_entry_id ,1);
1573:
1574: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);
1575: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1576: CLOSE c_24qc_upd_mode_entries;

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

1573:
1574: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.element_entry_id);
1575: FETCH c_24qc_upd_mode_entries INTO l_dummy;
1576: CLOSE c_24qc_upd_mode_entries;
1577: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,2);
1578: IF (l_dummy IS NOT NULL)
1579: THEN
1580: g_ee_data_rec_upd(g_count_ee_update).last_action_context_id := c_rec.last_action_context_id;
1581: g_ee_data_rec_upd(g_count_ee_update).assignment_id := c_rec.assignment_id;

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

1583: g_ee_data_rec_upd(g_count_ee_update).deductee_mode := 'U';
1584: g_count_ee_update := g_count_ee_update + 1;
1585: END IF;
1586: END LOOP;
1587: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,30);
1588: --
1589: EXCEPTION
1590: WHEN OTHERS THEN
1591: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

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

1587: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,30);
1588: --
1589: EXCEPTION
1590: WHEN OTHERS THEN
1591: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
1592: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
1593: END generate_employee_data;
1594:
1595:

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

1588: --
1589: EXCEPTION
1590: WHEN OTHERS THEN
1591: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
1592: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
1593: END generate_employee_data;
1594:
1595:
1596: --------------------------------------------------------------------------

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

1612:
1613: BEGIN
1614: g_debug := hr_utility.debug_enabled;
1615: l_procedure := g_package ||'.get_format_value';
1616: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
1617: IF g_debug THEN
1618: pay_in_utils.trace('p_value',p_value);
1619: END IF;
1620:

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

1614: g_debug := hr_utility.debug_enabled;
1615: l_procedure := g_package ||'.get_format_value';
1616: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
1617: IF g_debug THEN
1618: pay_in_utils.trace('p_value',p_value);
1619: END IF;
1620:
1621: IF(NVL(p_value,0)=0) THEN
1622: RETURN '0.00';

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

1627: l_value := SUBSTR(l_value,1,length(l_value)-2)||'.'||SUBSTR(l_value,length(l_value)-1,length(l_value));
1628:
1629:
1630: IF g_debug THEN
1631: pay_in_utils.trace('l_value',l_value);
1632: END IF;
1633:
1634: pay_in_utils.set_location(g_debug,'LEAVING: '||l_procedure,20);
1635:

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

1630: IF g_debug THEN
1631: pay_in_utils.trace('l_value',l_value);
1632: END IF;
1633:
1634: pay_in_utils.set_location(g_debug,'LEAVING: '||l_procedure,20);
1635:
1636: RETURN l_value;
1637:
1638: END get_format_value;

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

1671:
1672: BEGIN
1673: g_debug := hr_utility.debug_enabled;
1674: l_procedure := g_package ||'.get_24Q_values';
1675: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
1676:
1677: IF g_debug THEN
1678: pay_in_utils.trace('**************************************************','********************');
1679: pay_in_utils.trace('p_category',p_category);

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

1674: l_procedure := g_package ||'.get_24Q_values';
1675: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
1676:
1677: IF g_debug THEN
1678: pay_in_utils.trace('**************************************************','********************');
1679: pay_in_utils.trace('p_category',p_category);
1680: pay_in_utils.trace('p_component_name',p_component_name);
1681: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1682: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));

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

1675: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
1676:
1677: IF g_debug THEN
1678: pay_in_utils.trace('**************************************************','********************');
1679: pay_in_utils.trace('p_category',p_category);
1680: pay_in_utils.trace('p_component_name',p_component_name);
1681: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1682: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1683: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));

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

1676:
1677: IF g_debug THEN
1678: pay_in_utils.trace('**************************************************','********************');
1679: pay_in_utils.trace('p_category',p_category);
1680: pay_in_utils.trace('p_component_name',p_component_name);
1681: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1682: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1683: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));
1684: pay_in_utils.trace('**************************************************','********************');

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

1677: IF g_debug THEN
1678: pay_in_utils.trace('**************************************************','********************');
1679: pay_in_utils.trace('p_category',p_category);
1680: pay_in_utils.trace('p_component_name',p_component_name);
1681: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1682: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1683: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));
1684: pay_in_utils.trace('**************************************************','********************');
1685: END IF;

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

1678: pay_in_utils.trace('**************************************************','********************');
1679: pay_in_utils.trace('p_category',p_category);
1680: pay_in_utils.trace('p_component_name',p_component_name);
1681: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1682: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1683: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));
1684: pay_in_utils.trace('**************************************************','********************');
1685: END IF;
1686:

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

1679: pay_in_utils.trace('p_category',p_category);
1680: pay_in_utils.trace('p_component_name',p_component_name);
1681: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1682: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1683: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));
1684: pay_in_utils.trace('**************************************************','********************');
1685: END IF;
1686:
1687: OPEN c_form24Q_values;

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

1680: pay_in_utils.trace('p_component_name',p_component_name);
1681: pay_in_utils.trace('p_context_id',TO_CHAR(p_context_id));
1682: pay_in_utils.trace('p_source_id',TO_CHAR(p_source_id));
1683: pay_in_utils.trace('p_segment_num',TO_CHAR(p_segment_num));
1684: pay_in_utils.trace('**************************************************','********************');
1685: END IF;
1686:
1687: OPEN c_form24Q_values;
1688: FETCH c_form24Q_values INTO l_value1;

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

1691: RETURN '0.00';
1692: END IF;
1693: CLOSE c_form24Q_values;
1694:
1695: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,15);
1696:
1697: l_value1 := get_format_value(l_value1);
1698:
1699: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,20);

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

1695: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,15);
1696:
1697: l_value1 := get_format_value(l_value1);
1698:
1699: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,20);
1700:
1701: pay_in_utils.set_location(g_debug,'LEAVING: '||l_procedure,40);
1702:
1703: IF(p_segment_num=1) THEN

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

1697: l_value1 := get_format_value(l_value1);
1698:
1699: pay_in_utils.set_location(g_debug,'l_value1 = : '||l_value1,20);
1700:
1701: pay_in_utils.set_location(g_debug,'LEAVING: '||l_procedure,40);
1702:
1703: IF(p_segment_num=1) THEN
1704: RETURN l_value1;
1705: END IF;

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

2476: --
2477: g_debug := hr_utility.debug_enabled;
2478: l_procedure := g_package || '.generate_salary_data';
2479:
2480: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
2481:
2482: pay_in_utils.trace('p_start_person in generate_salary_data-> ',p_start_person);
2483: pay_in_utils.trace('p_end_person in generate_salary_data-> ',p_end_person);
2484:

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

2478: l_procedure := g_package || '.generate_salary_data';
2479:
2480: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
2481:
2482: pay_in_utils.trace('p_start_person in generate_salary_data-> ',p_start_person);
2483: pay_in_utils.trace('p_end_person in generate_salary_data-> ',p_end_person);
2484:
2485:
2486: --The below process finds those Assignment Actions which have MODE as Deletion(D)

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

2479:
2480: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
2481:
2482: pay_in_utils.trace('p_start_person in generate_salary_data-> ',p_start_person);
2483: pay_in_utils.trace('p_end_person in generate_salary_data-> ',p_end_person);
2484:
2485:
2486: --The below process finds those Assignment Actions which have MODE as Deletion(D)
2487: pay_in_utils.set_location(g_debug,'Finding Assignment Actions deleted since last statement ',2);

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

2483: pay_in_utils.trace('p_end_person in generate_salary_data-> ',p_end_person);
2484:
2485:
2486: --The below process finds those Assignment Actions which have MODE as Deletion(D)
2487: pay_in_utils.set_location(g_debug,'Finding Assignment Actions deleted since last statement ',2);
2488: FOR c_rec IN c_delete_mode_entries(p_payroll_action_id)
2489: LOOP
2490: l_bg_check := 0;
2491: OPEN c_bg_check(c_rec.assignment_id);

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

2501: g_count_sal_delete := g_count_sal_delete + 1;
2502: END IF;
2503: END LOOP;
2504:
2505: pay_in_utils.set_location(g_debug,'Finding Assignment Actions added since last statement ',3);
2506:
2507: --The below process finds those Assignment Actions which have MODE as Addition(A)
2508: FOR c_rec IN c_addition_mode_entries(p_payroll_action_id)
2509: LOOP

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

2524: --
2525:
2526: --The below process finds those Assignment Actions which have been updated
2527: -- This code checks A from Form 24Q Archival to Live Data
2528: pay_in_utils.set_location(g_debug,'Finding Assignment Actions updated since last statement ',4);
2529: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Archival ', 1);
2530:
2531: l_flag := TRUE;
2532: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)

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

2525:
2526: --The below process finds those Assignment Actions which have been updated
2527: -- This code checks A from Form 24Q Archival to Live Data
2528: pay_in_utils.set_location(g_debug,'Finding Assignment Actions updated since last statement ',4);
2529: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Archival ', 1);
2530:
2531: l_flag := TRUE;
2532: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
2533: LOOP

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

2530:
2531: l_flag := TRUE;
2532: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
2533: LOOP
2534: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
2535: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,1);
2536: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2537: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2538: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);

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

2531: l_flag := TRUE;
2532: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
2533: LOOP
2534: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
2535: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,1);
2536: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2537: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2538: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);
2539:

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

2532: FOR csr_rec IN c_update_mode_entries(p_payroll_action_id)
2533: LOOP
2534: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
2535: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,1);
2536: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2537: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2538: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);
2539:
2540: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);

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

2533: LOOP
2534: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
2535: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,1);
2536: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2537: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2538: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);
2539:
2540: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
2541:

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

2534: pay_in_utils.set_location(g_debug,'Diff between live data and 24Q Archival found', 1);
2535: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id,1);
2536: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2537: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2538: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);
2539:
2540: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
2541:
2542: l_flag := TRUE;

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

2536: pay_in_utils.set_location(g_debug,'csr_rec.last_action_context_id '|| csr_rec.last_action_context_id,1);
2537: pay_in_utils.set_location(g_debug,'csr_rec.assignment_id '|| csr_rec.assignment_id ,1);
2538: pay_in_utils.set_location(g_debug,'csr_rec.source_id '|| csr_rec.source_id ,1);
2539:
2540: pay_in_utils.set_location(g_debug,'Finding diff between live data and 24Q Correction Archival ', 1);
2541:
2542: l_flag := TRUE;
2543: l_last_action_context_id := NULL;
2544:

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

2549: LOOP
2550: IF ((c_rec.last_action_context_id IS NOT NULL) AND l_flag)
2551: THEN
2552: l_last_action_context_id := c_rec.last_action_context_id;
2553: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',2);
2554: pay_in_utils.set_location(g_debug,'with action context id as ' || l_last_action_context_id,2);
2555: l_flag := FALSE;
2556: END IF;
2557: END LOOP;

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

2550: IF ((c_rec.last_action_context_id IS NOT NULL) AND l_flag)
2551: THEN
2552: l_last_action_context_id := c_rec.last_action_context_id;
2553: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',2);
2554: pay_in_utils.set_location(g_debug,'with action context id as ' || l_last_action_context_id,2);
2555: l_flag := FALSE;
2556: END IF;
2557: END LOOP;
2558:

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

2555: l_flag := FALSE;
2556: END IF;
2557: END LOOP;
2558:
2559: pay_in_utils.set_location(g_debug,'Mid way in finding updated assignment actions', 3);
2560: pay_in_utils.trace('l_last_action_context_id after c_check_entries_in_24q_correct is -> ',l_last_action_context_id);
2561:
2562: IF (l_last_action_context_id IS NULL)
2563: THEN

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

2556: END IF;
2557: END LOOP;
2558:
2559: pay_in_utils.set_location(g_debug,'Mid way in finding updated assignment actions', 3);
2560: pay_in_utils.trace('l_last_action_context_id after c_check_entries_in_24q_correct is -> ',l_last_action_context_id);
2561:
2562: IF (l_last_action_context_id IS NULL)
2563: THEN
2564: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',4);

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

2560: pay_in_utils.trace('l_last_action_context_id after c_check_entries_in_24q_correct is -> ',l_last_action_context_id);
2561:
2562: IF (l_last_action_context_id IS NULL)
2563: THEN
2564: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',4);
2565: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',4);
2566: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := csr_rec.last_action_context_id;
2567: g_sal_data_rec_upd(g_count_sal_update).assignment_id := csr_rec.assignment_id;
2568: g_sal_data_rec_upd(g_count_sal_update).source_id := csr_rec.source_id;

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

2561:
2562: IF (l_last_action_context_id IS NULL)
2563: THEN
2564: pay_in_utils.set_location(g_debug,'Record was not reported in 24Q Correction',4);
2565: pay_in_utils.set_location(g_debug,'Hence storing earlier values based on 24Q',4);
2566: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := csr_rec.last_action_context_id;
2567: g_sal_data_rec_upd(g_count_sal_update).assignment_id := csr_rec.assignment_id;
2568: g_sal_data_rec_upd(g_count_sal_update).source_id := csr_rec.source_id;
2569: g_sal_data_rec_upd(g_count_sal_update).salary_mode := 'U';

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

2570: g_count_sal_update := g_count_sal_update + 1;
2571:
2572: ELSE --Present then need to check the present values with the archived values under Form 24QCorrection
2573: l_dummy := NULL;
2574: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',5);
2575: pay_in_utils.set_location(g_debug,'Need to compare the value from 24Q Correction now',5);
2576: OPEN c_24qc_upd_mode_entries(l_last_action_context_id,csr_rec.source_id);
2577: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2578: CLOSE c_24qc_upd_mode_entries;

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

2571:
2572: ELSE --Present then need to check the present values with the archived values under Form 24QCorrection
2573: l_dummy := NULL;
2574: pay_in_utils.set_location(g_debug,'Record was reported in 24Q Correction',5);
2575: pay_in_utils.set_location(g_debug,'Need to compare the value from 24Q Correction now',5);
2576: OPEN c_24qc_upd_mode_entries(l_last_action_context_id,csr_rec.source_id);
2577: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2578: CLOSE c_24qc_upd_mode_entries;
2579:

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

2577: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2578: CLOSE c_24qc_upd_mode_entries;
2579:
2580: IF (l_dummy IS NOT NULL) THEN
2581: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',6);
2582: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,6);
2583: pay_in_utils.set_location(g_debug,'csr_rec.source_id'|| csr_rec.source_id,6);
2584: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := l_dummy;
2585: g_sal_data_rec_upd(g_count_sal_update).assignment_id := csr_rec.assignment_id;

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

2578: CLOSE c_24qc_upd_mode_entries;
2579:
2580: IF (l_dummy IS NOT NULL) THEN
2581: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',6);
2582: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,6);
2583: pay_in_utils.set_location(g_debug,'csr_rec.source_id'|| csr_rec.source_id,6);
2584: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := l_dummy;
2585: g_sal_data_rec_upd(g_count_sal_update).assignment_id := csr_rec.assignment_id;
2586: g_sal_data_rec_upd(g_count_sal_update).source_id := csr_rec.source_id;

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

2579:
2580: IF (l_dummy IS NOT NULL) THEN
2581: pay_in_utils.set_location(g_debug,'Difference from 24Q Correction Data',6);
2582: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,6);
2583: pay_in_utils.set_location(g_debug,'csr_rec.source_id'|| csr_rec.source_id,6);
2584: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := l_dummy;
2585: g_sal_data_rec_upd(g_count_sal_update).assignment_id := csr_rec.assignment_id;
2586: g_sal_data_rec_upd(g_count_sal_update).source_id := csr_rec.source_id;
2587: g_sal_data_rec_upd(g_count_sal_update).salary_mode := 'U';

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

2586: g_sal_data_rec_upd(g_count_sal_update).source_id := csr_rec.source_id;
2587: g_sal_data_rec_upd(g_count_sal_update).salary_mode := 'U';
2588: g_count_sal_update := g_count_sal_update + 1;
2589:
2590: pay_in_utils.set_location(g_debug,'Stored data as 24Q Correction Data',6);
2591: END IF;
2592: END IF;
2593: END LOOP;
2594:

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

2592: END IF;
2593: END LOOP;
2594:
2595:
2596: pay_in_utils.set_location(g_debug,'Additional Checking on updated assignment actions ', 7);
2597: --Similarly need to repeat the above structure for the case when data after submission to authorities
2598: --was updated, form 24qc generated again updated to original form and 24qc again generated
2599: --The following code checks U for Data under Form 24Q Correction.
2600:

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

2598: --was updated, form 24qc generated again updated to original form and 24qc again generated
2599: --The following code checks U for Data under Form 24Q Correction.
2600:
2601: -- This cursor finds all those Form 24Q Corrections that are locking Form 24Q
2602: pay_in_utils.set_location(g_debug,'Now checking those assignment actions that have same data in live and 24QC ', 7);
2603: FOR c_rec IN c_form_24qc_locking_id('A',1)
2604: LOOP
2605:
2606: l_flag := TRUE;

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

2605:
2606: l_flag := TRUE;
2607: l_dummy := NULL;
2608:
2609: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',7);
2610: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,7);
2611: pay_in_utils.set_location(g_debug,'c_rec.source_id' || c_rec.source_id,7);
2612:
2613: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);

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

2606: l_flag := TRUE;
2607: l_dummy := NULL;
2608:
2609: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',7);
2610: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,7);
2611: pay_in_utils.set_location(g_debug,'c_rec.source_id' || c_rec.source_id,7);
2612:
2613: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2614: FETCH c_24qc_upd_mode_entries INTO l_dummy;

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

2607: l_dummy := NULL;
2608:
2609: pay_in_utils.set_location(g_debug,'Checking 24qc+ and Live Here',7);
2610: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id' || c_rec.last_action_context_id,7);
2611: pay_in_utils.set_location(g_debug,'c_rec.source_id' || c_rec.source_id,7);
2612:
2613: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2614: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2615: CLOSE c_24qc_upd_mode_entries;

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

2613: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2614: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2615: CLOSE c_24qc_upd_mode_entries;
2616:
2617: pay_in_utils.trace('l_dummy in c_form_24qc_locking_id 1',l_dummy);
2618:
2619: IF (l_dummy IS NOT NULL)
2620: THEN
2621: pay_in_utils.set_location(g_debug,'Diff found with the Live Data',7);

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

2617: pay_in_utils.trace('l_dummy in c_form_24qc_locking_id 1',l_dummy);
2618:
2619: IF (l_dummy IS NOT NULL)
2620: THEN
2621: pay_in_utils.set_location(g_debug,'Diff found with the Live Data',7);
2622: FOR i IN 1.. g_count_sal_update - 1
2623: LOOP
2624: IF (
2625: (g_sal_data_rec_upd(i).last_action_context_id = c_rec.last_action_context_id)

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

2634: l_flag := FALSE;
2635: END IF;
2636: END LOOP;
2637: ELSE
2638: pay_in_utils.set_location(g_debug,'No Diff found with the Live Data',7);
2639: l_flag := FALSE;
2640: END IF;
2641:
2642: IF (l_flag)

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

2651:
2652: END LOOP;
2653: --Now Searching for those updated assignment actions that were created after
2654: --form 24Q Correction generation
2655: pay_in_utils.set_location(g_debug,'Now Searching for those updated assignment actions that were 24QC+',8);
2656: FOR c_rec IN c_form_24qc_locking_id('A',2)
2657: LOOP
2658: l_dummy := NULL;
2659: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,8);

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

2655: pay_in_utils.set_location(g_debug,'Now Searching for those updated assignment actions that were 24QC+',8);
2656: FOR c_rec IN c_form_24qc_locking_id('A',2)
2657: LOOP
2658: l_dummy := NULL;
2659: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,8);
2660: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,8);
2661: pay_in_utils.set_location(g_debug,'c_rec.source_id '|| c_rec.source_id ,8);
2662:
2663: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);

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

2656: FOR c_rec IN c_form_24qc_locking_id('A',2)
2657: LOOP
2658: l_dummy := NULL;
2659: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,8);
2660: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,8);
2661: pay_in_utils.set_location(g_debug,'c_rec.source_id '|| c_rec.source_id ,8);
2662:
2663: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2664: FETCH c_24qc_upd_mode_entries INTO l_dummy;

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

2657: LOOP
2658: l_dummy := NULL;
2659: pay_in_utils.set_location(g_debug,'c_rec.last_action_context_id '|| c_rec.last_action_context_id,8);
2660: pay_in_utils.set_location(g_debug,'c_rec.assignment_id '|| c_rec.assignment_id ,8);
2661: pay_in_utils.set_location(g_debug,'c_rec.source_id '|| c_rec.source_id ,8);
2662:
2663: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2664: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2665: CLOSE c_24qc_upd_mode_entries;

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

2662:
2663: OPEN c_24qc_upd_mode_entries(c_rec.last_action_context_id,c_rec.source_id);
2664: FETCH c_24qc_upd_mode_entries INTO l_dummy;
2665: CLOSE c_24qc_upd_mode_entries;
2666: pay_in_utils.set_location(g_debug,'l_dummy is '|| l_dummy,8);
2667: IF (l_dummy IS NOT NULL)
2668: THEN
2669: g_sal_data_rec_upd(g_count_sal_update).last_action_context_id := c_rec.last_action_context_id;
2670: g_sal_data_rec_upd(g_count_sal_update).assignment_id := c_rec.assignment_id;

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

2674:
2675: END IF;
2676: END LOOP;
2677:
2678: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,120);
2679: --
2680:
2681: EXCEPTION
2682: WHEN OTHERS THEN

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

2679: --
2680:
2681: EXCEPTION
2682: WHEN OTHERS THEN
2683: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
2684: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
2685: END generate_salary_data;
2686:
2687:

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

2680:
2681: EXCEPTION
2682: WHEN OTHERS THEN
2683: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
2684: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
2685: END generate_salary_data;
2686:
2687:
2688: --------------------------------------------------------------------------

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

2811: l_message VARCHAR2(250);
2812: BEGIN
2813: g_debug := hr_utility.debug_enabled;
2814: l_procedure := g_package ||'.get_org_details';
2815: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
2816: pay_in_utils.set_location(g_debug,'Fetching Live Details ',2);
2817: OPEN c_org_inc_tax_df_details;
2818: FETCH c_org_inc_tax_df_details INTO p_tan_number,p_deductor_type,l_reg_org_id,p_branch_or_division,p_org_location;
2819: CLOSE c_org_inc_tax_df_details;

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

2812: BEGIN
2813: g_debug := hr_utility.debug_enabled;
2814: l_procedure := g_package ||'.get_org_details';
2815: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
2816: pay_in_utils.set_location(g_debug,'Fetching Live Details ',2);
2817: OPEN c_org_inc_tax_df_details;
2818: FETCH c_org_inc_tax_df_details INTO p_tan_number,p_deductor_type,l_reg_org_id,p_branch_or_division,p_org_location;
2819: CLOSE c_org_inc_tax_df_details;
2820:

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

2817: OPEN c_org_inc_tax_df_details;
2818: FETCH c_org_inc_tax_df_details INTO p_tan_number,p_deductor_type,l_reg_org_id,p_branch_or_division,p_org_location;
2819: CLOSE c_org_inc_tax_df_details;
2820:
2821: pay_in_utils.set_location(g_debug,'p_tan_number : '|| p_tan_number ,1);
2822: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);
2823: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2824: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2825: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);

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

2818: FETCH c_org_inc_tax_df_details INTO p_tan_number,p_deductor_type,l_reg_org_id,p_branch_or_division,p_org_location;
2819: CLOSE c_org_inc_tax_df_details;
2820:
2821: pay_in_utils.set_location(g_debug,'p_tan_number : '|| p_tan_number ,1);
2822: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);
2823: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2824: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2825: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2826:

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

2819: CLOSE c_org_inc_tax_df_details;
2820:
2821: pay_in_utils.set_location(g_debug,'p_tan_number : '|| p_tan_number ,1);
2822: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);
2823: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2824: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2825: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2826:
2827: OPEN c_reg_org_details(l_reg_org_id);

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

2820:
2821: pay_in_utils.set_location(g_debug,'p_tan_number : '|| p_tan_number ,1);
2822: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);
2823: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2824: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2825: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2826:
2827: OPEN c_reg_org_details(l_reg_org_id);
2828: FETCH c_reg_org_details INTO p_pan_number,p_legal_name;

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

2821: pay_in_utils.set_location(g_debug,'p_tan_number : '|| p_tan_number ,1);
2822: pay_in_utils.set_location(g_debug,'p_org_location : '|| p_org_location ,1);
2823: pay_in_utils.set_location(g_debug,'p_branch_or_division : '|| p_branch_or_division,1);
2824: pay_in_utils.set_location(g_debug,'p_deductor_type : '|| p_deductor_type ,1);
2825: pay_in_utils.set_location(g_debug,'l_reg_org_id : '|| l_reg_org_id ,1);
2826:
2827: OPEN c_reg_org_details(l_reg_org_id);
2828: FETCH c_reg_org_details INTO p_pan_number,p_legal_name;
2829: CLOSE c_reg_org_details;

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

2827: OPEN c_reg_org_details(l_reg_org_id);
2828: FETCH c_reg_org_details INTO p_pan_number,p_legal_name;
2829: CLOSE c_reg_org_details;
2830:
2831: pay_in_utils.set_location(g_debug,'p_pan_number : '|| p_pan_number ,2);
2832: pay_in_utils.set_location(g_debug,'p_legal_name : '|| p_legal_name ,2);
2833:
2834: OPEN c_representative_id;
2835: FETCH c_representative_id INTO l_rep_person_id,p_rep_name,p_rep_email_id;

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

2828: FETCH c_reg_org_details INTO p_pan_number,p_legal_name;
2829: CLOSE c_reg_org_details;
2830:
2831: pay_in_utils.set_location(g_debug,'p_pan_number : '|| p_pan_number ,2);
2832: pay_in_utils.set_location(g_debug,'p_legal_name : '|| p_legal_name ,2);
2833:
2834: OPEN c_representative_id;
2835: FETCH c_representative_id INTO l_rep_person_id,p_rep_name,p_rep_email_id;
2836: CLOSE c_representative_id;

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

2834: OPEN c_representative_id;
2835: FETCH c_representative_id INTO l_rep_person_id,p_rep_name,p_rep_email_id;
2836: CLOSE c_representative_id;
2837:
2838: pay_in_utils.set_location(g_debug,'l_rep_person_id : '|| l_rep_person_id ,2);
2839: pay_in_utils.set_location(g_debug,'p_rep_name : '|| p_rep_name ,2);
2840: pay_in_utils.set_location(g_debug,'p_rep_email_id : '|| p_rep_email_id ,2);
2841:
2842: OPEN c_pos(l_rep_person_id);

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

2835: FETCH c_representative_id INTO l_rep_person_id,p_rep_name,p_rep_email_id;
2836: CLOSE c_representative_id;
2837:
2838: pay_in_utils.set_location(g_debug,'l_rep_person_id : '|| l_rep_person_id ,2);
2839: pay_in_utils.set_location(g_debug,'p_rep_name : '|| p_rep_name ,2);
2840: pay_in_utils.set_location(g_debug,'p_rep_email_id : '|| p_rep_email_id ,2);
2841:
2842: OPEN c_pos(l_rep_person_id);
2843: FETCH c_pos INTO p_rep_position;

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

2836: CLOSE c_representative_id;
2837:
2838: pay_in_utils.set_location(g_debug,'l_rep_person_id : '|| l_rep_person_id ,2);
2839: pay_in_utils.set_location(g_debug,'p_rep_name : '|| p_rep_name ,2);
2840: pay_in_utils.set_location(g_debug,'p_rep_email_id : '|| p_rep_email_id ,2);
2841:
2842: OPEN c_pos(l_rep_person_id);
2843: FETCH c_pos INTO p_rep_position;
2844: CLOSE c_pos;

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

2842: OPEN c_pos(l_rep_person_id);
2843: FETCH c_pos INTO p_rep_position;
2844: CLOSE c_pos;
2845:
2846: pay_in_utils.set_location(g_debug,'p_rep_position : '|| p_rep_position ,2);
2847:
2848: OPEN c_rep_address(l_rep_person_id);
2849: FETCH c_rep_address INTO p_rep_location;
2850: CLOSE c_rep_address;

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

2848: OPEN c_rep_address(l_rep_person_id);
2849: FETCH c_rep_address INTO p_rep_location;
2850: CLOSE c_rep_address;
2851:
2852: pay_in_utils.set_location(g_debug,'p_rep_location : '|| p_rep_location ,2);
2853:
2854: OPEN c_rep_phone(l_rep_person_id);
2855: FETCH c_rep_phone INTO p_rep_work_phone,p_rep_std_code;
2856: CLOSE c_rep_phone;

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

2854: OPEN c_rep_phone(l_rep_person_id);
2855: FETCH c_rep_phone INTO p_rep_work_phone,p_rep_std_code;
2856: CLOSE c_rep_phone;
2857:
2858: pay_in_utils.set_location(g_debug,'p_rep_work_phone : '|| p_rep_work_phone ,2);
2859: pay_in_utils.set_location(g_debug,'p_rep_std_code : '|| p_rep_std_code ,2);
2860:
2861: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.get_org_details ',1);
2862: EXCEPTION

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

2855: FETCH c_rep_phone INTO p_rep_work_phone,p_rep_std_code;
2856: CLOSE c_rep_phone;
2857:
2858: pay_in_utils.set_location(g_debug,'p_rep_work_phone : '|| p_rep_work_phone ,2);
2859: pay_in_utils.set_location(g_debug,'p_rep_std_code : '|| p_rep_std_code ,2);
2860:
2861: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.get_org_details ',1);
2862: EXCEPTION
2863: WHEN OTHERS THEN

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

2857:
2858: pay_in_utils.set_location(g_debug,'p_rep_work_phone : '|| p_rep_work_phone ,2);
2859: pay_in_utils.set_location(g_debug,'p_rep_std_code : '|| p_rep_std_code ,2);
2860:
2861: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.get_org_details ',1);
2862: EXCEPTION
2863: WHEN OTHERS THEN
2864: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
2865: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

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

2860:
2861: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.get_org_details ',1);
2862: EXCEPTION
2863: WHEN OTHERS THEN
2864: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
2865: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
2866: END get_org_details;
2867: --------------------------------------------------------------------------
2868: -- --

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

2861: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.get_org_details ',1);
2862: EXCEPTION
2863: WHEN OTHERS THEN
2864: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
2865: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
2866: END get_org_details;
2867: --------------------------------------------------------------------------
2868: -- --
2869: -- Name : GENERATE_ORGANIZATION_DATA --

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

3001: l_message VARCHAR2(250);
3002: BEGIN
3003: g_debug := hr_utility.debug_enabled;
3004: l_procedure := g_package ||'.generate_organization_data';
3005: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
3006:
3007: FOR c_rec IN c_chk_organization
3008: LOOP
3009: pay_in_utils.set_location(g_debug,'Organization ID in Form 24Q Archival is '||c_rec.gre_id,2);

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

3005: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
3006:
3007: FOR c_rec IN c_chk_organization
3008: LOOP
3009: pay_in_utils.set_location(g_debug,'Organization ID in Form 24Q Archival is '||c_rec.gre_id,2);
3010: pay_in_utils.set_location(g_debug,'Fetching Live GRE Details',2);
3011: get_org_details(c_rec.gre_id,
3012: l_tan_number,
3013: l_deductor_type,

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

3006:
3007: FOR c_rec IN c_chk_organization
3008: LOOP
3009: pay_in_utils.set_location(g_debug,'Organization ID in Form 24Q Archival is '||c_rec.gre_id,2);
3010: pay_in_utils.set_location(g_debug,'Fetching Live GRE Details',2);
3011: get_org_details(c_rec.gre_id,
3012: l_tan_number,
3013: l_deductor_type,
3014: l_branch_or_division,

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

3022: l_rep_work_phone,
3023: l_rep_std_code
3024: );
3025:
3026: pay_in_utils.set_location(g_debug,'Fetched Live GRE Details ',3);
3027: pay_in_utils.set_location(g_debug,'Checking Diff with 24Q Archived Data',4);
3028: OPEN c_diff_with_24q_data(c_rec.gre_id,
3029: l_tan_number,
3030: l_deductor_type,

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

3023: l_rep_std_code
3024: );
3025:
3026: pay_in_utils.set_location(g_debug,'Fetched Live GRE Details ',3);
3027: pay_in_utils.set_location(g_debug,'Checking Diff with 24Q Archived Data',4);
3028: OPEN c_diff_with_24q_data(c_rec.gre_id,
3029: l_tan_number,
3030: l_deductor_type,
3031: l_branch_or_division,

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

3043: );
3044: FETCH c_diff_with_24q_data INTO l_last_action_context_id;
3045: CLOSE c_diff_with_24q_data;
3046:
3047: pay_in_utils.set_location(g_debug,'Last Action Context ID in 24Q is :'|| l_last_action_context_id,5);
3048: IF (l_last_action_context_id IS NOT NULL)
3049: THEN
3050: -- This means that there is a diff from archived and present data.
3051: -- So need to check whether this diff was reported in any of the

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

3052: -- Form 24Q Corrections or not. For this find the Form 24Q Corrections
3053: -- on top of Form 24Q Archival and check if any of them has data as per
3054: -- present live data. If they too dont have any record, then need to
3055: -- insert this org data in a PL/SQL table.
3056: pay_in_utils.set_location(g_debug,'Diff with live and and 24Q Data found..',2);
3057: l_flag := TRUE;
3058:
3059: FOR csr_rec IN c_locking_24qc_pa_data
3060: LOOP

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

3057: l_flag := TRUE;
3058:
3059: FOR csr_rec IN c_locking_24qc_pa_data
3060: LOOP
3061: pay_in_utils.set_location(g_debug,'Checking Diff in 24Q Correction Data',6);
3062: OPEN c_diff_with_24q_data(c_rec.gre_id,
3063: l_tan_number,
3064: l_deductor_type,
3065: l_branch_or_division,

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

3079: CLOSE c_diff_with_24q_data;
3080:
3081: IF ((l_dummy IS NULL)AND (l_flag))
3082: THEN
3083: pay_in_utils.set_location(g_debug,'Diff in 24Q Correction Data Found',6);
3084: l_flag := FALSE;
3085: END IF;
3086: END LOOP;
3087:

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

3159: g_count_org := g_count_org + 1;
3160: END IF;
3161: END IF;
3162: END LOOP;
3163: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_organization_data ',5);
3164: EXCEPTION
3165: WHEN OTHERS THEN
3166: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3167: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

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

3162: END LOOP;
3163: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_organization_data ',5);
3164: EXCEPTION
3165: WHEN OTHERS THEN
3166: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3167: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
3168: END generate_organization_data;
3169:
3170: --------------------------------------------------------------------------

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

3163: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_organization_data ',5);
3164: EXCEPTION
3165: WHEN OTHERS THEN
3166: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3167: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
3168: END generate_organization_data;
3169:
3170: --------------------------------------------------------------------------
3171: -- --

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

3393: l_message VARCHAR2(250);
3394: BEGIN
3395: g_debug := hr_utility.debug_enabled;
3396: l_procedure := g_package ||'.generate_challan_data';
3397: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
3398: -- First Search for those challans that have been added since Form 24Q
3399: -- Last generation but were not reported in Form 24Q Correction.
3400: -- For this check existence of Live Challan Number in 24Q Archival.
3401: -- If its not there, then check its existence in Form 24Q Corrections

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

3403: -- challans.
3404:
3405: FOR c_rec IN c_challan_live_data_master(g_tax_year,'%',NULL)
3406: LOOP
3407: pay_in_utils.set_location(g_debug,'Fetching Live Data ', 2);
3408: -- For the fetched live data checking its presence in 24Q Archived Data
3409: l_dummy_boolean := TRUE;
3410: l_dummy := NULL;
3411:

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

3412: FOR csr_record IN c_challan_24q_data('IN_24Q_CHALLAN',c_rec.challan_number,NULL)
3413: LOOP
3414: IF (l_dummy_boolean)
3415: THEN
3416: pay_in_utils.set_location(g_debug,'Checking 24Q Archived Data',3);
3417: l_dummy := csr_record.transfer_voucher_number;
3418: l_dummy_boolean := FALSE;
3419: END IF;
3420: END LOOP;

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

3425: -- This means that the present challan data was not reported in
3426: -- Form 24Q Archival. However this challan number might have been updated
3427: -- to a different challan number. So check in Form 24Q Archived Data for the
3428: -- presence of this record's org_information_id
3429: pay_in_utils.set_location(g_debug,'Again opened',1);
3430: l_dummy_boolean := TRUE;
3431: FOR csr_record IN c_challan_24q_data('IN_24Q_CHALLAN',NULL,c_rec.org_information_id)
3432: LOOP
3433: IF (l_dummy_boolean)

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

3434: THEN
3435: l_dummy := csr_record.transfer_voucher_number;
3436: l_dummy_boolean := FALSE;
3437: END IF;
3438: pay_in_utils.set_location(g_debug,'Again opened',2);
3439: END LOOP;
3440:
3441: IF (l_dummy IS NULL)
3442: THEN

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

3442: THEN
3443: -- This means that in 24Q Archival this record was never present. So,
3444: -- need to check in Form 24Q Correction, firstly on the basis of
3445: -- Challan Number and then on basis of org_information_id
3446: pay_in_utils.set_location(g_debug,'Again opened',3);
3447: l_dummy_boolean := TRUE;
3448: FOR csr_record IN c_challan_24q_data('IN_24QC_CHALLAN',c_rec.challan_number,NULL)
3449: LOOP
3450: IF (l_dummy_boolean)

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

3449: LOOP
3450: IF (l_dummy_boolean)
3451: THEN
3452: l_dummy := csr_record.transfer_voucher_number;
3453: pay_in_utils.set_location(g_debug,'Again opened',4);
3454: l_dummy_boolean := FALSE;
3455: END IF;
3456: END LOOP;
3457:

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

3454: l_dummy_boolean := FALSE;
3455: END IF;
3456: END LOOP;
3457:
3458: pay_in_utils.set_location(g_debug,'Again opened',5);
3459: IF (l_dummy IS NULL)
3460: THEN
3461: -- This means that in Form 24QC no record with c_rec.challan_number
3462: -- was reported. However this may happen that challan number was

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

3461: -- This means that in Form 24QC no record with c_rec.challan_number
3462: -- was reported. However this may happen that challan number was
3463: -- updated and hence got reported in Form 24Q Correction. So,
3464: -- checking in correction data again using org_information_id.
3465: pay_in_utils.set_location(g_debug,'Again opened',6);
3466: l_dummy_boolean := TRUE;
3467: FOR csr_record IN c_challan_24q_data('IN_24QC_CHALLAN',NULL,c_rec.org_information_id)
3468: LOOP
3469: IF (l_dummy_boolean)

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

3468: LOOP
3469: IF (l_dummy_boolean)
3470: THEN
3471: l_dummy := csr_record.transfer_voucher_number;
3472: pay_in_utils.set_location(g_debug,'Again opened',7);
3473: l_dummy_boolean := FALSE;
3474: END IF;
3475: END LOOP;
3476:

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

3473: l_dummy_boolean := FALSE;
3474: END IF;
3475: END LOOP;
3476:
3477: pay_in_utils.set_location(g_debug,'Again opened',8);
3478: IF (l_dummy IS NULL)
3479: THEN
3480: --This means that in Form 24Q Correction, this record was never
3481: -- present. So need to insert this record data in PL/SQL table.

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

3490: g_challan_data_add(g_count_challan_add).cheque_dd_num := c_rec.cheque_dd_num;
3491: g_challan_data_add(g_count_challan_add).org_information_id := c_rec.org_information_id;
3492: g_challan_data_add(g_count_challan_add).modes := 'A';
3493: g_count_challan_add := g_count_challan_add + 1;
3494: pay_in_utils.set_location(g_debug,'Again opened',9);
3495: END IF;
3496: END IF;
3497: END IF;
3498: END IF;

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

3497: END IF;
3498: END IF;
3499: END LOOP;
3500:
3501: pay_in_utils.set_location(g_debug,'Starting Search for Updated Challans',1);
3502: -- Lastly search for those challans that have been updated since Form 24Q
3503: -- last generation but were not reported in Form 24Q Correction.
3504: FOR c_rec IN c_challan_24q_data_master('IN_24Q_CHALLAN','%',NULL)
3505: LOOP

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

3502: -- Lastly search for those challans that have been updated since Form 24Q
3503: -- last generation but were not reported in Form 24Q Correction.
3504: FOR c_rec IN c_challan_24q_data_master('IN_24Q_CHALLAN','%',NULL)
3505: LOOP
3506: pay_in_utils.set_location(g_debug,'Fetching 24Q Data ' ,1);
3507: -- Now, on the basis of org_information_id check if there is any change
3508: -- in challan details in the live data.
3509: OPEN c_challan_live_data(g_tax_year,NULL,c_rec.org_information_id);
3510: FETCH c_challan_live_data INTO l_transfer_voucher_number,

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

3517: l_bank_branch_code,
3518: l_cheque_dd_num,
3519: l_org_information_id;
3520: CLOSE c_challan_live_data;
3521: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);
3522:
3523: IF (--24Q Archival Data Here Live Data Here
3524: (c_rec.transfer_voucher_number <> l_transfer_voucher_number) OR
3525: (c_rec.bank_branch_code <> l_bank_branch_code) OR

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

3535: -- This means that there are certain records that have same org_information_id
3536: -- as in Live Data and in Form 24Q but have undergone a change in their data
3537: -- Now, need to check whether these changes were reported in Form 24Q Correction
3538: -- or not.
3539: pay_in_utils.set_location(g_debug,'Inside Check 1' ,1);
3540: l_action_information_id := NULL;
3541: OPEN c_challan_24q_data('IN_24QC_CHALLAN',NULL,c_rec.org_information_id);
3542: FETCH c_challan_24q_data INTO l_action_information_id,
3543: l_transfer_voucher_number_1,

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

3570: (l_cheque_dd_num <> l_cheque_dd_num_1) OR
3571: (l_org_information_id <> l_org_information_id_1)
3572: )
3573: THEN
3574: pay_in_utils.set_location(g_debug,'Inside Check 2' ,2);
3575: --This means that in Form 24Q Correction, this record was present and now it has
3576: -- been further modified. So need to insert this record data in PL/SQL table.
3577: g_challan_data_upd(g_count_challan_upd).transfer_voucher_number := l_transfer_voucher_number_1;
3578: g_challan_data_upd(g_count_challan_upd).transfer_voucher_date := l_transfer_voucher_date_1;

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

3587: g_challan_data_upd(g_count_challan_upd).modes := 'U';
3588: g_count_challan_upd := g_count_challan_upd + 1;
3589: END IF;
3590: ELSE
3591: pay_in_utils.set_location(g_debug,'Inside Check 3' ,3);
3592: --This means that in Form 24Q Correction, this record was never present.
3593: --So need to insert this record data in PL/SQL table on basis of form 24q archival
3594: g_challan_data_upd(g_count_challan_upd).transfer_voucher_number := c_rec.transfer_voucher_number;
3595: g_challan_data_upd(g_count_challan_upd).transfer_voucher_date := c_rec.transfer_voucher_date;

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

3604: g_challan_data_upd(g_count_challan_upd).modes := 'U';
3605: g_count_challan_upd := g_count_challan_upd + 1;
3606: END IF;
3607: ELSE
3608: pay_in_utils.set_location(g_debug,'Inside Check 4' ,4);
3609: -- This means that the archived data and Live Data is identical. But there is a possibility that
3610: -- data was updated and reported in Form 24Q Correction and later again restored back to the data
3611: -- as in Form 24Q Archival. So need to check whether for c_rec.org_information_id any record is
3612: -- present in Form 24Q Correction or not. If its present, then check its status with Live Data.

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

3642: (l_cheque_dd_num <> l_cheque_dd_num_1) OR
3643: (l_org_information_id <> l_org_information_id_1)
3644: )
3645: THEN
3646: pay_in_utils.set_location(g_debug,'Inside Check 5' ,5);
3647: --This means that in Form 24Q Correction, this record was never
3648: -- updated. So need to insert this record data in PL/SQL table.
3649: g_challan_data_upd(g_count_challan_upd).transfer_voucher_number := l_transfer_voucher_number_1;
3650: g_challan_data_upd(g_count_challan_upd).transfer_voucher_date := l_transfer_voucher_date_1;

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

3661: END IF;
3662: END IF;
3663: END IF;
3664: END LOOP;
3665: pay_in_utils.set_location(g_debug,'New Search Criteria Starting........' ,1);
3666: -- The above updation case handles only those cases when record was only updated
3667: -- and never re - created with the same Challan Number.
3668: FOR c_rec IN c_challan_24q_data_master('IN_24Q_CHALLAN','%',NULL)
3669: LOOP

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

3764: END IF;
3765: END IF;
3766: END IF;
3767: END LOOP;
3768: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_challan_data', 1);
3769: EXCEPTION
3770: WHEN OTHERS THEN
3771: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3772: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

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

3767: END LOOP;
3768: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_challan_data', 1);
3769: EXCEPTION
3770: WHEN OTHERS THEN
3771: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3772: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
3773: END generate_challan_data;
3774:
3775: --------------------------------------------------------------------------

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

3768: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.generate_challan_data', 1);
3769: EXCEPTION
3770: WHEN OTHERS THEN
3771: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
3772: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
3773: END generate_challan_data;
3774:
3775: --------------------------------------------------------------------------
3776: -- --

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

3802: )
3803: IS
3804: CURSOR c_get_ee_from_live_data
3805: IS
3806: SELECT pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number') Challan_or_Voucher_Number,
3807: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
3808: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
3809: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
3810: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,

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

3803: IS
3804: CURSOR c_get_ee_from_live_data
3805: IS
3806: SELECT pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number') Challan_or_Voucher_Number,
3807: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
3808: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
3809: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
3810: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
3811: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,

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

3804: CURSOR c_get_ee_from_live_data
3805: IS
3806: SELECT pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number') Challan_or_Voucher_Number,
3807: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
3808: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
3809: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
3810: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
3811: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,
3812: pay_in_utils.get_ee_value(p_element_entry_id,'Amount Deposited') Amount_Deposited

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

3805: IS
3806: SELECT pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number') Challan_or_Voucher_Number,
3807: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
3808: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
3809: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
3810: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
3811: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,
3812: pay_in_utils.get_ee_value(p_element_entry_id,'Amount Deposited') Amount_Deposited
3813: FROM dual;

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

3806: SELECT pay_in_utils.get_ee_value(p_element_entry_id,'Challan or Voucher Number') Challan_or_Voucher_Number,
3807: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
3808: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
3809: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
3810: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
3811: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,
3812: pay_in_utils.get_ee_value(p_element_entry_id,'Amount Deposited') Amount_Deposited
3813: FROM dual;
3814:

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

3807: pay_in_utils.get_ee_value(p_element_entry_id,'Payment Date') Payment_Date,
3808: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
3809: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
3810: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
3811: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,
3812: pay_in_utils.get_ee_value(p_element_entry_id,'Amount Deposited') Amount_Deposited
3813: FROM dual;
3814:
3815: CURSOR c_get_ee_from_24q_data

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

3808: pay_in_utils.get_ee_value(p_element_entry_id,'Taxable Income') Taxable_Income,
3809: pay_in_utils.get_ee_value(p_element_entry_id,'Income Tax Deducted') Income_Tax_Deducted,
3810: pay_in_utils.get_ee_value(p_element_entry_id,'Surcharge Deducted') Surcharge_Deducted,
3811: pay_in_utils.get_ee_value(p_element_entry_id,'Education Cess Deducted') Education_Cess_Deducted,
3812: pay_in_utils.get_ee_value(p_element_entry_id,'Amount Deposited') Amount_Deposited
3813: FROM dual;
3814:
3815: CURSOR c_get_ee_from_24q_data
3816: IS

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

3919: l_message VARCHAR2(250);
3920: BEGIN
3921: g_debug := hr_utility.debug_enabled;
3922: l_procedure := g_package ||'.get_element_entry_values';
3923: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
3924: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);
3925: OPEN c_get_ee_from_live_data;
3926: FETCH c_get_ee_from_live_data INTO p_ee_live_rec.challan_number,
3927: p_ee_live_rec.payment_date,

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

3920: BEGIN
3921: g_debug := hr_utility.debug_enabled;
3922: l_procedure := g_package ||'.get_element_entry_values';
3923: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
3924: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);
3925: OPEN c_get_ee_from_live_data;
3926: FETCH c_get_ee_from_live_data INTO p_ee_live_rec.challan_number,
3927: p_ee_live_rec.payment_date,
3928: p_ee_live_rec.taxable_income,

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

3931: p_ee_live_rec.education_cess,
3932: p_ee_live_rec.amount_deposited;
3933: CLOSE c_get_ee_from_live_data;
3934:
3935: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,2);
3936: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Data ' ,2);
3937:
3938: pay_in_utils.set_location(g_debug,'p_element_entry_id '|| p_element_entry_id ,2);
3939: pay_in_utils.set_location(g_debug,'p_action_context_id '|| p_action_context_id ,2);

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

3932: p_ee_live_rec.amount_deposited;
3933: CLOSE c_get_ee_from_live_data;
3934:
3935: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,2);
3936: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Data ' ,2);
3937:
3938: pay_in_utils.set_location(g_debug,'p_element_entry_id '|| p_element_entry_id ,2);
3939: pay_in_utils.set_location(g_debug,'p_action_context_id '|| p_action_context_id ,2);
3940: pay_in_utils.set_location(g_debug,'p_assignment_id '|| p_assignment_id ,2);

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

3934:
3935: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,2);
3936: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Data ' ,2);
3937:
3938: pay_in_utils.set_location(g_debug,'p_element_entry_id '|| p_element_entry_id ,2);
3939: pay_in_utils.set_location(g_debug,'p_action_context_id '|| p_action_context_id ,2);
3940: pay_in_utils.set_location(g_debug,'p_assignment_id '|| p_assignment_id ,2);
3941:
3942: OPEN c_get_ee_from_24q_data;

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

3935: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,2);
3936: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Data ' ,2);
3937:
3938: pay_in_utils.set_location(g_debug,'p_element_entry_id '|| p_element_entry_id ,2);
3939: pay_in_utils.set_location(g_debug,'p_action_context_id '|| p_action_context_id ,2);
3940: pay_in_utils.set_location(g_debug,'p_assignment_id '|| p_assignment_id ,2);
3941:
3942: OPEN c_get_ee_from_24q_data;
3943: FETCH c_get_ee_from_24q_data INTO p_ee_24qc_rec.challan_number,

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

3936: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Data ' ,2);
3937:
3938: pay_in_utils.set_location(g_debug,'p_element_entry_id '|| p_element_entry_id ,2);
3939: pay_in_utils.set_location(g_debug,'p_action_context_id '|| p_action_context_id ,2);
3940: pay_in_utils.set_location(g_debug,'p_assignment_id '|| p_assignment_id ,2);
3941:
3942: OPEN c_get_ee_from_24q_data;
3943: FETCH c_get_ee_from_24q_data INTO p_ee_24qc_rec.challan_number,
3944: p_ee_24qc_rec.payment_date,

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

3948: p_ee_24qc_rec.education_cess,
3949: p_ee_24qc_rec.amount_deposited,
3950: l_action_information_id;
3951: CLOSE c_get_ee_from_24q_data;
3952: pay_in_utils.set_location(g_debug,'Fetched 24Q Archival Data ' ,2);
3953:
3954: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,2);
3955: OPEN c_get_person_data_from_24qc;
3956: 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 3954: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,2);

3950: l_action_information_id;
3951: CLOSE c_get_ee_from_24q_data;
3952: pay_in_utils.set_location(g_debug,'Fetched 24Q Archival Data ' ,2);
3953:
3954: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,2);
3955: OPEN c_get_person_data_from_24qc;
3956: 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;
3957: CLOSE c_get_person_data_from_24qc;
3958: pay_in_utils.set_location(g_debug,'Found person id in 24Q Correction: '|| l_person_id ,2);

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

3954: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,2);
3955: OPEN c_get_person_data_from_24qc;
3956: 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;
3957: CLOSE c_get_person_data_from_24qc;
3958: pay_in_utils.set_location(g_debug,'Found person id in 24Q Correction: '|| l_person_id ,2);
3959:
3960: IF (l_person_id IS NULL)
3961: THEN
3962: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,2);

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

3958: pay_in_utils.set_location(g_debug,'Found person id in 24Q Correction: '|| l_person_id ,2);
3959:
3960: IF (l_person_id IS NULL)
3961: THEN
3962: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,2);
3963: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,2);
3964: OPEN c_get_person_data_from_24q;
3965: 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;
3966: CLOSE c_get_person_data_from_24q;

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

3959:
3960: IF (l_person_id IS NULL)
3961: THEN
3962: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,2);
3963: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,2);
3964: OPEN c_get_person_data_from_24q;
3965: 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;
3966: CLOSE c_get_person_data_from_24q;
3967:

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

3967:
3968: OPEN c_get_tax_rate_from_24q;
3969: FETCH c_get_tax_rate_from_24q INTO l_old_tax_rate;
3970: CLOSE c_get_tax_rate_from_24q;
3971: pay_in_utils.set_location(g_debug,'Old Tax Rate was '|| l_old_tax_rate,2);
3972: END IF;
3973:
3974: p_person_24q_data.person_id := l_person_id;
3975: p_person_24q_data.pan_number := l_pan_number;

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

3975: p_person_24q_data.pan_number := l_pan_number;
3976: p_person_24q_data.pan_ref_number := l_pan_ref_number;
3977: p_person_24q_data.tax_rate := l_old_tax_rate;
3978:
3979: pay_in_utils.set_location(g_debug,'Fetching Person Data from Live Data' ,2);
3980: OPEN c_get_live_person_data;
3981: FETCH c_get_live_person_data INTO p_person_live_data.person_id
3982: ,p_person_live_data.pan_number
3983: ,p_person_live_data.pan_ref_number

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

3983: ,p_person_live_data.pan_ref_number
3984: ,p_person_live_data.full_name
3985: ,l_end_date;
3986: CLOSE c_get_live_person_data;
3987: pay_in_utils.set_location(g_debug,'Fetched Person Data from Live Data' ,2);
3988:
3989: OPEN c_aei_tax_rate(p_person_live_data.person_id);
3990: FETCH c_aei_tax_rate INTO p_person_live_data.tax_rate;
3991: CLOSE c_aei_tax_rate;

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

4002: p_ee_live_rec.surcharge := TO_NUMBER(remove_curr_format(p_ee_live_rec.surcharge));
4003: p_ee_live_rec.education_cess := TO_NUMBER(remove_curr_format(p_ee_live_rec.education_cess));
4004: p_ee_live_rec.amount_deposited := TO_NUMBER(remove_curr_format(p_ee_live_rec.amount_deposited));
4005:
4006: pay_in_utils.set_location(g_debug,'Leaving : '|| g_package||'.get_element_entry_values ', 1);
4007: EXCEPTION
4008: WHEN OTHERS THEN
4009: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4010: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

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

4005:
4006: pay_in_utils.set_location(g_debug,'Leaving : '|| g_package||'.get_element_entry_values ', 1);
4007: EXCEPTION
4008: WHEN OTHERS THEN
4009: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4010: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
4011: END get_element_entry_values;
4012:
4013: --------------------------------------------------------------------------

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

4006: pay_in_utils.set_location(g_debug,'Leaving : '|| g_package||'.get_element_entry_values ', 1);
4007: EXCEPTION
4008: WHEN OTHERS THEN
4009: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4010: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
4011: END get_element_entry_values;
4012:
4013: --------------------------------------------------------------------------
4014: -- --

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

4089: BEGIN
4090: g_debug := hr_utility.debug_enabled;
4091: l_proc := g_package||'.get_live_balances';
4092:
4093: pay_in_utils.set_location(g_debug,'Entering : '||l_proc,10);
4094:
4095: if g_debug then
4096: pay_in_utils.trace('******************************','********************');
4097: pay_in_utils.trace('p_run_asg_action_id : ',p_run_asg_action_id);

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

4092:
4093: pay_in_utils.set_location(g_debug,'Entering : '||l_proc,10);
4094:
4095: if g_debug then
4096: pay_in_utils.trace('******************************','********************');
4097: pay_in_utils.trace('p_run_asg_action_id : ',p_run_asg_action_id);
4098: pay_in_utils.trace('p_gre_id : ',p_gre_id);
4099: pay_in_utils.trace('******************************','********************');
4100: end if;

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

4093: pay_in_utils.set_location(g_debug,'Entering : '||l_proc,10);
4094:
4095: if g_debug then
4096: pay_in_utils.trace('******************************','********************');
4097: pay_in_utils.trace('p_run_asg_action_id : ',p_run_asg_action_id);
4098: pay_in_utils.trace('p_gre_id : ',p_gre_id);
4099: pay_in_utils.trace('******************************','********************');
4100: end if;
4101:

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

4094:
4095: if g_debug then
4096: pay_in_utils.trace('******************************','********************');
4097: pay_in_utils.trace('p_run_asg_action_id : ',p_run_asg_action_id);
4098: pay_in_utils.trace('p_gre_id : ',p_gre_id);
4099: pay_in_utils.trace('******************************','********************');
4100: end if;
4101:
4102: i := 1;

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

4095: if g_debug then
4096: pay_in_utils.trace('******************************','********************');
4097: pay_in_utils.trace('p_run_asg_action_id : ',p_run_asg_action_id);
4098: pay_in_utils.trace('p_gre_id : ',p_gre_id);
4099: pay_in_utils.trace('******************************','********************');
4100: end if;
4101:
4102: i := 1;
4103: g_bal_name_tab.DELETE;

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

4144: l_cess := l_cess + g_result_table(i).balance_value ;
4145: END IF;
4146:
4147: if g_debug then
4148: pay_in_utils.trace('balance_name : ',g_bal_name_tab(i).balance_name);
4149: pay_in_utils.trace('balance_value : ',g_result_table(i).balance_value);
4150: end if;
4151: END IF;
4152: END LOOP;

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

4145: END IF;
4146:
4147: if g_debug then
4148: pay_in_utils.trace('balance_name : ',g_bal_name_tab(i).balance_name);
4149: pay_in_utils.trace('balance_value : ',g_result_table(i).balance_value);
4150: end if;
4151: END IF;
4152: END LOOP;
4153:

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

4177: g_context_table.DELETE;
4178: g_balance_value_tab.DELETE;
4179: g_result_table.DELETE;
4180:
4181: pay_in_utils.set_location(g_debug,'Leaving: '||l_proc,30);
4182:
4183: EXCEPTION
4184: WHEN OTHERS THEN
4185: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_proc, 'SQLERRMC:'||sqlerrm);

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

4181: pay_in_utils.set_location(g_debug,'Leaving: '||l_proc,30);
4182:
4183: EXCEPTION
4184: WHEN OTHERS THEN
4185: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_proc, 'SQLERRMC:'||sqlerrm);
4186: pay_in_utils.set_location(g_debug,'Leaving : '||l_proc, 150);
4187: END get_live_balances;
4188:
4189:

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

4182:
4183: EXCEPTION
4184: WHEN OTHERS THEN
4185: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_proc, 'SQLERRMC:'||sqlerrm);
4186: pay_in_utils.set_location(g_debug,'Leaving : '||l_proc, 150);
4187: END get_live_balances;
4188:
4189:
4190: --------------------------------------------------------------------------

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

4479: BEGIN
4480:
4481: g_debug := hr_utility.debug_enabled;
4482: l_procedure := g_package ||'.get_balance_values';
4483: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
4484: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);
4485:
4486: --
4487: l_count := 1;

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

4480:
4481: g_debug := hr_utility.debug_enabled;
4482: l_procedure := g_package ||'.get_balance_values';
4483: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
4484: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,2);
4485:
4486: --
4487: l_count := 1;
4488: i := 1;

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

4524: FETCH c_termination_check INTO l_actual_term_date;
4525: CLOSE c_termination_check;
4526:
4527: if g_debug then
4528: pay_in_utils.trace('l_assignment_id : ',l_assignment_id);
4529: pay_in_utils.trace('l_arc_pay_action_id : ',l_arc_pay_action_id);
4530: pay_in_utils.trace('l_per_id : ',l_per_id);
4531: pay_in_utils.trace('l_actual_term_date : ',l_actual_term_date);
4532: end if;

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

4525: CLOSE c_termination_check;
4526:
4527: if g_debug then
4528: pay_in_utils.trace('l_assignment_id : ',l_assignment_id);
4529: pay_in_utils.trace('l_arc_pay_action_id : ',l_arc_pay_action_id);
4530: pay_in_utils.trace('l_per_id : ',l_per_id);
4531: pay_in_utils.trace('l_actual_term_date : ',l_actual_term_date);
4532: end if;
4533:

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

4526:
4527: if g_debug then
4528: pay_in_utils.trace('l_assignment_id : ',l_assignment_id);
4529: pay_in_utils.trace('l_arc_pay_action_id : ',l_arc_pay_action_id);
4530: pay_in_utils.trace('l_per_id : ',l_per_id);
4531: pay_in_utils.trace('l_actual_term_date : ',l_actual_term_date);
4532: end if;
4533:
4534: -- Get all records from financial year start till current quarter end to find out

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

4527: if g_debug then
4528: pay_in_utils.trace('l_assignment_id : ',l_assignment_id);
4529: pay_in_utils.trace('l_arc_pay_action_id : ',l_arc_pay_action_id);
4530: pay_in_utils.trace('l_per_id : ',l_per_id);
4531: pay_in_utils.trace('l_actual_term_date : ',l_actual_term_date);
4532: end if;
4533:
4534: -- Get all records from financial year start till current quarter end to find out
4535: -- previous GRE assignment_action_id and remaining pay periods

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

4532: end if;
4533:
4534: -- Get all records from financial year start till current quarter end to find out
4535: -- previous GRE assignment_action_id and remaining pay periods
4536: pay_in_utils.set_location(g_debug,'Entering : '||l_assignment_id,12);
4537: FOR c_rec IN c_gre_records(l_assignment_id)
4538: LOOP
4539: IF ((l_count <>1)
4540: AND

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

4552: END IF;
4553: l_count := l_count + 1;
4554: END LOOP;
4555:
4556: pay_in_utils.set_location(g_debug,'l_count : '||l_count,20);
4557:
4558: p_gre_count := l_count;
4559:
4560: /* g_asg_tab.start/end date will contain the actual start/end of asg in a GRE or the the financial year .

Line 4568: 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);

4564: LOOP
4565: --Get Live Balances only if it is a candidate for reporting in the specified quarter
4566: IF (g_start_date <= g_asg_tab(i).end_date AND
4567: g_end_date >= g_asg_tab(i).start_date) THEN
4568: 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);
4569:
4570:
4571: -- Get assignment action id corresponding to the maximum action sequence record
4572: OPEN get_eoy_archival_details(GREATEST(g_asg_tab(i).start_date,g_start_date)

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

4576: );
4577: FETCH get_eoy_archival_details INTO l_run_asg_action_id;
4578: CLOSE get_eoy_archival_details;
4579:
4580: pay_in_utils.trace('l_run_asg_action_id in LOOP: ', l_run_asg_action_id );
4581:
4582: IF l_run_asg_action_id IS NOT NULL THEN
4583:
4584: -- Get Person start date and end date

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

4593: ELSE
4594: l_effective_start_date := GREATEST(g_qr_start_date,g_asg_tab(i).start_date);
4595: END IF;
4596:
4597: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,2);
4598: pay_in_utils.set_location(g_debug,'p_mode in Live Balances Data : '||p_mode ,2);
4599: pay_in_utils.set_location(g_debug,'p_source_id in Live Balances Data : '||p_source_id ,2);
4600: pay_in_utils.set_location(g_debug,'l_run_asg_action_id in Live Balances Data : '||l_run_asg_action_id ,2);
4601:

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

4594: l_effective_start_date := GREATEST(g_qr_start_date,g_asg_tab(i).start_date);
4595: END IF;
4596:
4597: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,2);
4598: pay_in_utils.set_location(g_debug,'p_mode in Live Balances Data : '||p_mode ,2);
4599: pay_in_utils.set_location(g_debug,'p_source_id in Live Balances Data : '||p_source_id ,2);
4600: pay_in_utils.set_location(g_debug,'l_run_asg_action_id in Live Balances Data : '||l_run_asg_action_id ,2);
4601:
4602: IF (p_source_id = l_run_asg_action_id)

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

4595: END IF;
4596:
4597: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,2);
4598: pay_in_utils.set_location(g_debug,'p_mode in Live Balances Data : '||p_mode ,2);
4599: pay_in_utils.set_location(g_debug,'p_source_id in Live Balances Data : '||p_source_id ,2);
4600: pay_in_utils.set_location(g_debug,'l_run_asg_action_id in Live Balances Data : '||l_run_asg_action_id ,2);
4601:
4602: IF (p_source_id = l_run_asg_action_id)
4603: THEN

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

4596:
4597: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,2);
4598: pay_in_utils.set_location(g_debug,'p_mode in Live Balances Data : '||p_mode ,2);
4599: pay_in_utils.set_location(g_debug,'p_source_id in Live Balances Data : '||p_source_id ,2);
4600: pay_in_utils.set_location(g_debug,'l_run_asg_action_id in Live Balances Data : '||l_run_asg_action_id ,2);
4601:
4602: IF (p_source_id = l_run_asg_action_id)
4603: THEN
4604:

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

4605: get_live_balances(p_run_asg_action_id => l_run_asg_action_id
4606: ,p_gre_id => g_asg_tab(i).gre_id
4607: ,p_balances => p_ba_live_rec
4608: );
4609: pay_in_utils.set_location(g_debug,'Fetched Live Balances Data ' ,2);
4610: EXIT;
4611: END IF;
4612: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,3);
4613:

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

4608: );
4609: pay_in_utils.set_location(g_debug,'Fetched Live Balances Data ' ,2);
4610: EXIT;
4611: END IF;
4612: pay_in_utils.set_location(g_debug,'Fetching Live Balances Data ' ,3);
4613:
4614: IF ((p_mode = 'D') AND (p_source_id < l_run_asg_action_id))
4615: THEN
4616:

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

4617: get_live_balances(p_run_asg_action_id => l_run_asg_action_id
4618: ,p_gre_id => g_asg_tab(i).gre_id
4619: ,p_balances => p_ba_live_rec
4620: );
4621: pay_in_utils.set_location(g_debug,'Fetched Live Balances Data ' ,3);
4622: EXIT;
4623: END IF;
4624:
4625: END IF; -- Run Assact is NOT NULL

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

4625: END IF; -- Run Assact is NOT NULL
4626: END IF; -- End of Get Live Balances
4627: END LOOP;
4628:
4629: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Balances Data ' ,3);
4630:
4631: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,3);
4632: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4633:

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

4627: END LOOP;
4628:
4629: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Balances Data ' ,3);
4630:
4631: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,3);
4632: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4633:
4634: pay_in_utils.set_location(g_debug,'p_action_context_id : '|| p_action_context_id ,3);
4635: pay_in_utils.set_location(g_debug,'p_assignment_id : '|| p_assignment_id ,3);

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

4628:
4629: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Balances Data ' ,3);
4630:
4631: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,3);
4632: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4633:
4634: pay_in_utils.set_location(g_debug,'p_action_context_id : '|| p_action_context_id ,3);
4635: pay_in_utils.set_location(g_debug,'p_assignment_id : '|| p_assignment_id ,3);
4636: pay_in_utils.set_location(g_debug,'p_source_id : '|| p_source_id ,3);

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

4630:
4631: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,3);
4632: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4633:
4634: pay_in_utils.set_location(g_debug,'p_action_context_id : '|| p_action_context_id ,3);
4635: pay_in_utils.set_location(g_debug,'p_assignment_id : '|| p_assignment_id ,3);
4636: pay_in_utils.set_location(g_debug,'p_source_id : '|| p_source_id ,3);
4637:
4638: OPEN c_24qc_source_id(p_action_context_id,p_assignment_id);

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

4631: pay_in_utils.set_location(g_debug,'Searching in 24Q Correction ' ,3);
4632: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4633:
4634: pay_in_utils.set_location(g_debug,'p_action_context_id : '|| p_action_context_id ,3);
4635: pay_in_utils.set_location(g_debug,'p_assignment_id : '|| p_assignment_id ,3);
4636: pay_in_utils.set_location(g_debug,'p_source_id : '|| p_source_id ,3);
4637:
4638: OPEN c_24qc_source_id(p_action_context_id,p_assignment_id);
4639: FETCH c_24qc_source_id INTO l_action_context_id,l_24qa_source_id;

Line 4636: pay_in_utils.set_location(g_debug,'p_source_id : '|| p_source_id ,3);

4632: pay_in_utils.set_location(g_debug,'Fetching 24Q Archival Source ID ' ,3);
4633:
4634: pay_in_utils.set_location(g_debug,'p_action_context_id : '|| p_action_context_id ,3);
4635: pay_in_utils.set_location(g_debug,'p_assignment_id : '|| p_assignment_id ,3);
4636: pay_in_utils.set_location(g_debug,'p_source_id : '|| p_source_id ,3);
4637:
4638: OPEN c_24qc_source_id(p_action_context_id,p_assignment_id);
4639: FETCH c_24qc_source_id INTO l_action_context_id,l_24qa_source_id;
4640: l_sal_category := 'IN_24QC_SALARY';

Line 4642: pay_in_utils.set_location(g_debug,'l_24qa_source_id in c_24qc_source_id : '|| l_24qa_source_id ,3);

4638: OPEN c_24qc_source_id(p_action_context_id,p_assignment_id);
4639: FETCH c_24qc_source_id INTO l_action_context_id,l_24qa_source_id;
4640: l_sal_category := 'IN_24QC_SALARY';
4641: l_via_category := 'IN_24QC_VIA';
4642: pay_in_utils.set_location(g_debug,'l_24qa_source_id in c_24qc_source_id : '|| l_24qa_source_id ,3);
4643: CLOSE c_24qc_source_id;
4644:
4645: IF (l_24qa_source_id IS NULL)
4646: THEN

Line 4647: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,4);

4643: CLOSE c_24qc_source_id;
4644:
4645: IF (l_24qa_source_id IS NULL)
4646: THEN
4647: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,4);
4648: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,4);
4649: OPEN c_24qa_source_id(p_action_context_id,p_assignment_id);
4650: FETCH c_24qa_source_id INTO l_action_context_id,l_24qa_source_id;
4651: l_sal_category := 'IN_24Q_SALARY';

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

4644:
4645: IF (l_24qa_source_id IS NULL)
4646: THEN
4647: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,4);
4648: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,4);
4649: OPEN c_24qa_source_id(p_action_context_id,p_assignment_id);
4650: FETCH c_24qa_source_id INTO l_action_context_id,l_24qa_source_id;
4651: l_sal_category := 'IN_24Q_SALARY';
4652: l_via_category := 'IN_24Q_VIA';

Line 4653: pay_in_utils.trace('l_24qa_source_id in c_24qa_source_id : ', l_24qa_source_id );

4649: OPEN c_24qa_source_id(p_action_context_id,p_assignment_id);
4650: FETCH c_24qa_source_id INTO l_action_context_id,l_24qa_source_id;
4651: l_sal_category := 'IN_24Q_SALARY';
4652: l_via_category := 'IN_24Q_VIA';
4653: pay_in_utils.trace('l_24qa_source_id in c_24qa_source_id : ', l_24qa_source_id );
4654: CLOSE c_24qa_source_id;
4655: END IF;
4656:
4657: pay_in_utils.trace('l_24qa_source_id : ', l_24qa_source_id );

Line 4657: pay_in_utils.trace('l_24qa_source_id : ', l_24qa_source_id );

4653: pay_in_utils.trace('l_24qa_source_id in c_24qa_source_id : ', l_24qa_source_id );
4654: CLOSE c_24qa_source_id;
4655: END IF;
4656:
4657: pay_in_utils.trace('l_24qa_source_id : ', l_24qa_source_id );
4658: pay_in_utils.trace('l_sal_category : ', l_sal_category );
4659: pay_in_utils.trace('l_via_category : ', l_via_category );
4660:
4661: IF (l_24qa_source_id IS NOT NULL) THEN

Line 4658: pay_in_utils.trace('l_sal_category : ', l_sal_category );

4654: CLOSE c_24qa_source_id;
4655: END IF;
4656:
4657: pay_in_utils.trace('l_24qa_source_id : ', l_24qa_source_id );
4658: pay_in_utils.trace('l_sal_category : ', l_sal_category );
4659: pay_in_utils.trace('l_via_category : ', l_via_category );
4660:
4661: IF (l_24qa_source_id IS NOT NULL) THEN
4662: FOR j IN 1..t_balance_name.COUNT

Line 4659: pay_in_utils.trace('l_via_category : ', l_via_category );

4655: END IF;
4656:
4657: pay_in_utils.trace('l_24qa_source_id : ', l_24qa_source_id );
4658: pay_in_utils.trace('l_sal_category : ', l_sal_category );
4659: pay_in_utils.trace('l_via_category : ', l_via_category );
4660:
4661: IF (l_24qa_source_id IS NOT NULL) THEN
4662: FOR j IN 1..t_balance_name.COUNT
4663: LOOP

Line 4679: pay_in_utils.set_location(g_debug,'Fetched 24Q Archival Balances Data ' ,4);

4675: p_ba_24qc_rec(j).balance_value := l_balance_value;
4676: END LOOP;
4677: END IF;
4678:
4679: pay_in_utils.set_location(g_debug,'Fetched 24Q Archival Balances Data ' ,4);
4680:
4681: pay_in_utils.set_location(g_debug,'Searching person data in 24Q Correction ' ,5);
4682: OPEN c_get_person_data_from_24qc;
4683: 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 4681: pay_in_utils.set_location(g_debug,'Searching person data in 24Q Correction ' ,5);

4677: END IF;
4678:
4679: pay_in_utils.set_location(g_debug,'Fetched 24Q Archival Balances Data ' ,4);
4680:
4681: pay_in_utils.set_location(g_debug,'Searching person data in 24Q Correction ' ,5);
4682: OPEN c_get_person_data_from_24qc;
4683: FETCH c_get_person_data_from_24qc INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,
4684: p_person_24q_data.start_date,p_person_24q_data.end_date,l_source_id;
4685: pay_in_utils.set_location(g_debug,'Value of person id found in 24Q Correction: '|| l_person_id ,5);

Line 4685: pay_in_utils.set_location(g_debug,'Value of person id found in 24Q Correction: '|| l_person_id ,5);

4681: pay_in_utils.set_location(g_debug,'Searching person data in 24Q Correction ' ,5);
4682: OPEN c_get_person_data_from_24qc;
4683: FETCH c_get_person_data_from_24qc INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,
4684: p_person_24q_data.start_date,p_person_24q_data.end_date,l_source_id;
4685: pay_in_utils.set_location(g_debug,'Value of person id found in 24Q Correction: '|| l_person_id ,5);
4686: CLOSE c_get_person_data_from_24qc;
4687:
4688:
4689: IF (l_person_id IS NULL)

Line 4691: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,5);

4687:
4688:
4689: IF (l_person_id IS NULL)
4690: THEN
4691: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,5);
4692: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,5);
4693: OPEN c_get_person_data_from_24q;
4694: FETCH c_get_person_data_from_24q INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,
4695: p_person_24q_data.start_date,p_person_24q_data.end_date,l_source_id;

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

4688:
4689: IF (l_person_id IS NULL)
4690: THEN
4691: pay_in_utils.set_location(g_debug,'Person ID is NULL' ,5);
4692: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,5);
4693: OPEN c_get_person_data_from_24q;
4694: FETCH c_get_person_data_from_24q INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,
4695: p_person_24q_data.start_date,p_person_24q_data.end_date,l_source_id;
4696: CLOSE c_get_person_data_from_24q;

Line 4697: pay_in_utils.set_location(g_debug,'Value of person id found in 24Q Archival: '|| l_person_id ,5);

4693: OPEN c_get_person_data_from_24q;
4694: FETCH c_get_person_data_from_24q INTO l_person_id,l_pan_number,l_pan_ref_number,p_person_24q_data.full_name,
4695: p_person_24q_data.start_date,p_person_24q_data.end_date,l_source_id;
4696: CLOSE c_get_person_data_from_24q;
4697: pay_in_utils.set_location(g_debug,'Value of person id found in 24Q Archival: '|| l_person_id ,5);
4698: END IF;
4699:
4700: p_person_24q_data.person_id := l_person_id;
4701: p_person_24q_data.pan_number := l_pan_number;

Line 4704: pay_in_utils.set_location(g_debug,'Fetched Person Data from 24Q Archival Data' ,5);

4700: p_person_24q_data.person_id := l_person_id;
4701: p_person_24q_data.pan_number := l_pan_number;
4702: p_person_24q_data.pan_ref_number := l_pan_ref_number;
4703:
4704: pay_in_utils.set_location(g_debug,'Fetched Person Data from 24Q Archival Data' ,5);
4705:
4706: pay_in_utils.set_location(g_debug,'Fetching Person Data from Live Data' ,6);
4707: OPEN c_get_live_person_data;
4708: FETCH c_get_live_person_data INTO p_person_live_data.person_id

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

4702: p_person_24q_data.pan_ref_number := l_pan_ref_number;
4703:
4704: pay_in_utils.set_location(g_debug,'Fetched Person Data from 24Q Archival Data' ,5);
4705:
4706: pay_in_utils.set_location(g_debug,'Fetching Person Data from Live Data' ,6);
4707: OPEN c_get_live_person_data;
4708: FETCH c_get_live_person_data INTO p_person_live_data.person_id
4709: ,p_person_live_data.pan_number
4710: ,p_person_live_data.pan_ref_number

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

4713:
4714: p_person_live_data.start_date := l_effective_start_date;
4715: p_person_live_data.end_date := l_effective_end_date;
4716:
4717: pay_in_utils.set_location(g_debug,'Fetched Person Data from Live Data' ,6);
4718:
4719: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
4720: pay_in_utils.set_location(g_debug,'Removing format for Live Balances Data' ,7);
4721: FOR i IN 1..p_ba_live_rec.COUNT

Line 4719: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);

4715: p_person_live_data.end_date := l_effective_end_date;
4716:
4717: pay_in_utils.set_location(g_debug,'Fetched Person Data from Live Data' ,6);
4718:
4719: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
4720: pay_in_utils.set_location(g_debug,'Removing format for Live Balances Data' ,7);
4721: FOR i IN 1..p_ba_live_rec.COUNT
4722: LOOP
4723: p_ba_live_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_live_rec(i).balance_value));

Line 4720: pay_in_utils.set_location(g_debug,'Removing format for Live Balances Data' ,7);

4716:
4717: pay_in_utils.set_location(g_debug,'Fetched Person Data from Live Data' ,6);
4718:
4719: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
4720: pay_in_utils.set_location(g_debug,'Removing format for Live Balances Data' ,7);
4721: FOR i IN 1..p_ba_live_rec.COUNT
4722: LOOP
4723: p_ba_live_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_live_rec(i).balance_value));
4724: END LOOP;

Line 4726: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);

4722: LOOP
4723: p_ba_live_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_live_rec(i).balance_value));
4724: END LOOP;
4725:
4726: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
4727:
4728: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);
4729: pay_in_utils.set_location(g_debug,'Removing format for 24Q Archive Balances Data' ,8);
4730: FOR i IN 1..p_ba_24qc_rec.COUNT

Line 4728: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);

4724: END LOOP;
4725:
4726: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
4727:
4728: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);
4729: pay_in_utils.set_location(g_debug,'Removing format for 24Q Archive Balances Data' ,8);
4730: FOR i IN 1..p_ba_24qc_rec.COUNT
4731: LOOP
4732: p_ba_24qc_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_24qc_rec(i).balance_value));

Line 4729: pay_in_utils.set_location(g_debug,'Removing format for 24Q Archive Balances Data' ,8);

4725:
4726: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,7);
4727:
4728: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);
4729: pay_in_utils.set_location(g_debug,'Removing format for 24Q Archive Balances Data' ,8);
4730: FOR i IN 1..p_ba_24qc_rec.COUNT
4731: LOOP
4732: p_ba_24qc_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_24qc_rec(i).balance_value));
4733: END LOOP;

Line 4734: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);

4730: FOR i IN 1..p_ba_24qc_rec.COUNT
4731: LOOP
4732: p_ba_24qc_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_24qc_rec(i).balance_value));
4733: END LOOP;
4734: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);
4735:
4736: pay_in_utils.set_location(g_debug,'Leaving : '|| l_procedure, 120);
4737:
4738: EXCEPTION

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

4732: p_ba_24qc_rec(i).balance_value := FND_NUMBER.CANONICAL_TO_NUMBER(remove_curr_format(p_ba_24qc_rec(i).balance_value));
4733: END LOOP;
4734: pay_in_utils.set_location(g_debug,'---------------------------------------------' ,8);
4735:
4736: pay_in_utils.set_location(g_debug,'Leaving : '|| l_procedure, 120);
4737:
4738: EXCEPTION
4739: WHEN OTHERS THEN
4740: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

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

4736: pay_in_utils.set_location(g_debug,'Leaving : '|| l_procedure, 120);
4737:
4738: EXCEPTION
4739: WHEN OTHERS THEN
4740: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4741: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
4742: END get_balance_values;
4743:
4744:

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

4737:
4738: EXCEPTION
4739: WHEN OTHERS THEN
4740: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4741: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
4742: END get_balance_values;
4743:
4744:
4745: --------------------------------------------------------------------------

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

4775: l_message VARCHAR2(250);
4776: BEGIN
4777: g_debug := hr_utility.debug_enabled;
4778: l_procedure := g_package ||'.check_c5_change_only';
4779: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
4780: pay_in_utils.set_location(g_debug,'Fetching Live Data',2);
4781: get_element_entry_values
4782: (
4783: p_element_entry_id

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

4776: BEGIN
4777: g_debug := hr_utility.debug_enabled;
4778: l_procedure := g_package ||'.check_c5_change_only';
4779: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
4780: pay_in_utils.set_location(g_debug,'Fetching Live Data',2);
4781: get_element_entry_values
4782: (
4783: p_element_entry_id
4784: ,p_action_context_id

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

4787: ,t_ee_24qc_rec
4788: ,t_person_live_data
4789: ,t_person_24q_data
4790: );
4791: pay_in_utils.set_location(g_debug,'Fetched Live Data',3);
4792: pay_in_utils.set_location(g_debug,'Comparing Data',4);
4793:
4794: IF(t_ee_live_rec.challan_number <> t_ee_24qc_rec.challan_number)
4795: THEN

Line 4792: pay_in_utils.set_location(g_debug,'Comparing Data',4);

4788: ,t_person_live_data
4789: ,t_person_24q_data
4790: );
4791: pay_in_utils.set_location(g_debug,'Fetched Live Data',3);
4792: pay_in_utils.set_location(g_debug,'Comparing Data',4);
4793:
4794: IF(t_ee_live_rec.challan_number <> t_ee_24qc_rec.challan_number)
4795: THEN
4796: pay_in_utils.set_location(g_debug,'t_ee_live_rec.challan_number'|| t_ee_live_rec.challan_number,1);

Line 4796: pay_in_utils.set_location(g_debug,'t_ee_live_rec.challan_number'|| t_ee_live_rec.challan_number,1);

4792: pay_in_utils.set_location(g_debug,'Comparing Data',4);
4793:
4794: IF(t_ee_live_rec.challan_number <> t_ee_24qc_rec.challan_number)
4795: THEN
4796: pay_in_utils.set_location(g_debug,'t_ee_live_rec.challan_number'|| t_ee_live_rec.challan_number,1);
4797: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.challan_number'|| t_ee_24qc_rec.challan_number,1);
4798: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 1',1);
4799: RETURN FALSE;
4800: END IF;

Line 4797: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.challan_number'|| t_ee_24qc_rec.challan_number,1);

4793:
4794: IF(t_ee_live_rec.challan_number <> t_ee_24qc_rec.challan_number)
4795: THEN
4796: pay_in_utils.set_location(g_debug,'t_ee_live_rec.challan_number'|| t_ee_live_rec.challan_number,1);
4797: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.challan_number'|| t_ee_24qc_rec.challan_number,1);
4798: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 1',1);
4799: RETURN FALSE;
4800: END IF;
4801:

Line 4798: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 1',1);

4794: IF(t_ee_live_rec.challan_number <> t_ee_24qc_rec.challan_number)
4795: THEN
4796: pay_in_utils.set_location(g_debug,'t_ee_live_rec.challan_number'|| t_ee_live_rec.challan_number,1);
4797: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.challan_number'|| t_ee_24qc_rec.challan_number,1);
4798: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 1',1);
4799: RETURN FALSE;
4800: END IF;
4801:
4802: IF(t_ee_live_rec.payment_date <> t_ee_24qc_rec.payment_date)

Line 4804: pay_in_utils.set_location(g_debug,'t_ee_live_rec.payment_date'|| t_ee_live_rec.payment_date,2);

4800: END IF;
4801:
4802: IF(t_ee_live_rec.payment_date <> t_ee_24qc_rec.payment_date)
4803: THEN
4804: pay_in_utils.set_location(g_debug,'t_ee_live_rec.payment_date'|| t_ee_live_rec.payment_date,2);
4805: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.payment_date'|| t_ee_24qc_rec.payment_date,2);
4806: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 2',2);
4807: RETURN FALSE;
4808: END IF;

Line 4805: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.payment_date'|| t_ee_24qc_rec.payment_date,2);

4801:
4802: IF(t_ee_live_rec.payment_date <> t_ee_24qc_rec.payment_date)
4803: THEN
4804: pay_in_utils.set_location(g_debug,'t_ee_live_rec.payment_date'|| t_ee_live_rec.payment_date,2);
4805: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.payment_date'|| t_ee_24qc_rec.payment_date,2);
4806: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 2',2);
4807: RETURN FALSE;
4808: END IF;
4809:

Line 4806: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 2',2);

4802: IF(t_ee_live_rec.payment_date <> t_ee_24qc_rec.payment_date)
4803: THEN
4804: pay_in_utils.set_location(g_debug,'t_ee_live_rec.payment_date'|| t_ee_live_rec.payment_date,2);
4805: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.payment_date'|| t_ee_24qc_rec.payment_date,2);
4806: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 2',2);
4807: RETURN FALSE;
4808: END IF;
4809:
4810: IF(t_ee_live_rec.amount_deposited <> t_ee_24qc_rec.amount_deposited)

Line 4812: pay_in_utils.set_location(g_debug,'t_ee_live_rec.amount_deposited'|| t_ee_live_rec.amount_deposited,3);

4808: END IF;
4809:
4810: IF(t_ee_live_rec.amount_deposited <> t_ee_24qc_rec.amount_deposited)
4811: THEN
4812: pay_in_utils.set_location(g_debug,'t_ee_live_rec.amount_deposited'|| t_ee_live_rec.amount_deposited,3);
4813: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.amount_deposited'|| t_ee_24qc_rec.amount_deposited,3);
4814: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 3',3);
4815: RETURN FALSE;
4816: END IF;

Line 4813: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.amount_deposited'|| t_ee_24qc_rec.amount_deposited,3);

4809:
4810: IF(t_ee_live_rec.amount_deposited <> t_ee_24qc_rec.amount_deposited)
4811: THEN
4812: pay_in_utils.set_location(g_debug,'t_ee_live_rec.amount_deposited'|| t_ee_live_rec.amount_deposited,3);
4813: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.amount_deposited'|| t_ee_24qc_rec.amount_deposited,3);
4814: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 3',3);
4815: RETURN FALSE;
4816: END IF;
4817:

Line 4814: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 3',3);

4810: IF(t_ee_live_rec.amount_deposited <> t_ee_24qc_rec.amount_deposited)
4811: THEN
4812: pay_in_utils.set_location(g_debug,'t_ee_live_rec.amount_deposited'|| t_ee_live_rec.amount_deposited,3);
4813: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.amount_deposited'|| t_ee_24qc_rec.amount_deposited,3);
4814: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 3',3);
4815: RETURN FALSE;
4816: END IF;
4817:
4818: IF(t_ee_live_rec.surcharge <> t_ee_24qc_rec.surcharge)

Line 4820: pay_in_utils.set_location(g_debug,'t_ee_live_rec.surcharge'|| t_ee_live_rec.surcharge,4);

4816: END IF;
4817:
4818: IF(t_ee_live_rec.surcharge <> t_ee_24qc_rec.surcharge)
4819: THEN
4820: pay_in_utils.set_location(g_debug,'t_ee_live_rec.surcharge'|| t_ee_live_rec.surcharge,4);
4821: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.surcharge'|| t_ee_24qc_rec.surcharge,4);
4822: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 4',4);
4823: RETURN FALSE;
4824: END IF;

Line 4821: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.surcharge'|| t_ee_24qc_rec.surcharge,4);

4817:
4818: IF(t_ee_live_rec.surcharge <> t_ee_24qc_rec.surcharge)
4819: THEN
4820: pay_in_utils.set_location(g_debug,'t_ee_live_rec.surcharge'|| t_ee_live_rec.surcharge,4);
4821: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.surcharge'|| t_ee_24qc_rec.surcharge,4);
4822: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 4',4);
4823: RETURN FALSE;
4824: END IF;
4825:

Line 4822: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 4',4);

4818: IF(t_ee_live_rec.surcharge <> t_ee_24qc_rec.surcharge)
4819: THEN
4820: pay_in_utils.set_location(g_debug,'t_ee_live_rec.surcharge'|| t_ee_live_rec.surcharge,4);
4821: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.surcharge'|| t_ee_24qc_rec.surcharge,4);
4822: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 4',4);
4823: RETURN FALSE;
4824: END IF;
4825:
4826: IF(t_ee_live_rec.education_cess <> t_ee_24qc_rec.education_cess)

Line 4828: pay_in_utils.set_location(g_debug,'t_ee_live_rec.education_cess'|| t_ee_live_rec.education_cess,5);

4824: END IF;
4825:
4826: IF(t_ee_live_rec.education_cess <> t_ee_24qc_rec.education_cess)
4827: THEN
4828: pay_in_utils.set_location(g_debug,'t_ee_live_rec.education_cess'|| t_ee_live_rec.education_cess,5);
4829: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.education_cess'|| t_ee_24qc_rec.education_cess,5);
4830: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 5',5);
4831: RETURN FALSE;
4832: END IF;

Line 4829: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.education_cess'|| t_ee_24qc_rec.education_cess,5);

4825:
4826: IF(t_ee_live_rec.education_cess <> t_ee_24qc_rec.education_cess)
4827: THEN
4828: pay_in_utils.set_location(g_debug,'t_ee_live_rec.education_cess'|| t_ee_live_rec.education_cess,5);
4829: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.education_cess'|| t_ee_24qc_rec.education_cess,5);
4830: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 5',5);
4831: RETURN FALSE;
4832: END IF;
4833:

Line 4830: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 5',5);

4826: IF(t_ee_live_rec.education_cess <> t_ee_24qc_rec.education_cess)
4827: THEN
4828: pay_in_utils.set_location(g_debug,'t_ee_live_rec.education_cess'|| t_ee_live_rec.education_cess,5);
4829: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.education_cess'|| t_ee_24qc_rec.education_cess,5);
4830: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 5',5);
4831: RETURN FALSE;
4832: END IF;
4833:
4834: IF(t_ee_live_rec.income_tax <> t_ee_24qc_rec.income_tax)

Line 4836: pay_in_utils.set_location(g_debug,'t_ee_live_rec.income_tax'|| t_ee_live_rec.income_tax,6);

4832: END IF;
4833:
4834: IF(t_ee_live_rec.income_tax <> t_ee_24qc_rec.income_tax)
4835: THEN
4836: pay_in_utils.set_location(g_debug,'t_ee_live_rec.income_tax'|| t_ee_live_rec.income_tax,6);
4837: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.income_tax'|| t_ee_24qc_rec.income_tax,6);
4838: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 6',6);
4839: RETURN FALSE;
4840: END IF;

Line 4837: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.income_tax'|| t_ee_24qc_rec.income_tax,6);

4833:
4834: IF(t_ee_live_rec.income_tax <> t_ee_24qc_rec.income_tax)
4835: THEN
4836: pay_in_utils.set_location(g_debug,'t_ee_live_rec.income_tax'|| t_ee_live_rec.income_tax,6);
4837: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.income_tax'|| t_ee_24qc_rec.income_tax,6);
4838: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 6',6);
4839: RETURN FALSE;
4840: END IF;
4841:

Line 4838: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 6',6);

4834: IF(t_ee_live_rec.income_tax <> t_ee_24qc_rec.income_tax)
4835: THEN
4836: pay_in_utils.set_location(g_debug,'t_ee_live_rec.income_tax'|| t_ee_live_rec.income_tax,6);
4837: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.income_tax'|| t_ee_24qc_rec.income_tax,6);
4838: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 6',6);
4839: RETURN FALSE;
4840: END IF;
4841:
4842: IF(t_ee_live_rec.taxable_income <> t_ee_24qc_rec.taxable_income)

Line 4844: pay_in_utils.set_location(g_debug,'t_ee_live_rec.taxable_income'|| t_ee_live_rec.taxable_income,7);

4840: END IF;
4841:
4842: IF(t_ee_live_rec.taxable_income <> t_ee_24qc_rec.taxable_income)
4843: THEN
4844: pay_in_utils.set_location(g_debug,'t_ee_live_rec.taxable_income'|| t_ee_live_rec.taxable_income,7);
4845: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.taxable_income'|| t_ee_24qc_rec.taxable_income,7);
4846: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 7',7);
4847: RETURN FALSE;
4848: END IF;

Line 4845: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.taxable_income'|| t_ee_24qc_rec.taxable_income,7);

4841:
4842: IF(t_ee_live_rec.taxable_income <> t_ee_24qc_rec.taxable_income)
4843: THEN
4844: pay_in_utils.set_location(g_debug,'t_ee_live_rec.taxable_income'|| t_ee_live_rec.taxable_income,7);
4845: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.taxable_income'|| t_ee_24qc_rec.taxable_income,7);
4846: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 7',7);
4847: RETURN FALSE;
4848: END IF;
4849:

Line 4846: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 7',7);

4842: IF(t_ee_live_rec.taxable_income <> t_ee_24qc_rec.taxable_income)
4843: THEN
4844: pay_in_utils.set_location(g_debug,'t_ee_live_rec.taxable_income'|| t_ee_live_rec.taxable_income,7);
4845: pay_in_utils.set_location(g_debug,'t_ee_24qc_rec.taxable_income'|| t_ee_24qc_rec.taxable_income,7);
4846: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 7',7);
4847: RETURN FALSE;
4848: END IF;
4849:
4850: IF(t_person_live_data.full_name <> t_person_24q_data.full_name)

Line 4852: pay_in_utils.set_location(g_debug,'t_person_live_data.full_name'|| t_person_live_data.full_name,8);

4848: END IF;
4849:
4850: IF(t_person_live_data.full_name <> t_person_24q_data.full_name)
4851: THEN
4852: pay_in_utils.set_location(g_debug,'t_person_live_data.full_name'|| t_person_live_data.full_name,8);
4853: pay_in_utils.set_location(g_debug,'t_person_24q_data.full_name'|| t_person_24q_data.full_name,8);
4854: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 8',8);
4855: RETURN FALSE;
4856: END IF;

Line 4853: pay_in_utils.set_location(g_debug,'t_person_24q_data.full_name'|| t_person_24q_data.full_name,8);

4849:
4850: IF(t_person_live_data.full_name <> t_person_24q_data.full_name)
4851: THEN
4852: pay_in_utils.set_location(g_debug,'t_person_live_data.full_name'|| t_person_live_data.full_name,8);
4853: pay_in_utils.set_location(g_debug,'t_person_24q_data.full_name'|| t_person_24q_data.full_name,8);
4854: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 8',8);
4855: RETURN FALSE;
4856: END IF;
4857:

Line 4854: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 8',8);

4850: IF(t_person_live_data.full_name <> t_person_24q_data.full_name)
4851: THEN
4852: pay_in_utils.set_location(g_debug,'t_person_live_data.full_name'|| t_person_live_data.full_name,8);
4853: pay_in_utils.set_location(g_debug,'t_person_24q_data.full_name'|| t_person_24q_data.full_name,8);
4854: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 8',8);
4855: RETURN FALSE;
4856: END IF;
4857:
4858: IF(NVL(t_person_live_data.tax_rate,'NA') <> NVL(t_person_24q_data.tax_rate,'NA'))

Line 4860: pay_in_utils.set_location(g_debug,'t_person_live_data.tax_rate'|| t_person_live_data.tax_rate,9);

4856: END IF;
4857:
4858: IF(NVL(t_person_live_data.tax_rate,'NA') <> NVL(t_person_24q_data.tax_rate,'NA'))
4859: THEN
4860: pay_in_utils.set_location(g_debug,'t_person_live_data.tax_rate'|| t_person_live_data.tax_rate,9);
4861: pay_in_utils.set_location(g_debug,'t_person_24q_data.tax_rate'|| t_person_24q_data.tax_rate,9);
4862: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 9',9);
4863: RETURN FALSE;
4864: END IF;

Line 4861: pay_in_utils.set_location(g_debug,'t_person_24q_data.tax_rate'|| t_person_24q_data.tax_rate,9);

4857:
4858: IF(NVL(t_person_live_data.tax_rate,'NA') <> NVL(t_person_24q_data.tax_rate,'NA'))
4859: THEN
4860: pay_in_utils.set_location(g_debug,'t_person_live_data.tax_rate'|| t_person_live_data.tax_rate,9);
4861: pay_in_utils.set_location(g_debug,'t_person_24q_data.tax_rate'|| t_person_24q_data.tax_rate,9);
4862: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 9',9);
4863: RETURN FALSE;
4864: END IF;
4865:

Line 4862: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 9',9);

4858: IF(NVL(t_person_live_data.tax_rate,'NA') <> NVL(t_person_24q_data.tax_rate,'NA'))
4859: THEN
4860: pay_in_utils.set_location(g_debug,'t_person_live_data.tax_rate'|| t_person_live_data.tax_rate,9);
4861: pay_in_utils.set_location(g_debug,'t_person_24q_data.tax_rate'|| t_person_24q_data.tax_rate,9);
4862: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 9',9);
4863: RETURN FALSE;
4864: END IF;
4865:
4866: IF(NVL(t_person_live_data.pan_ref_number,'NA') <> NVL(t_person_24q_data.pan_ref_number,'NA'))

Line 4868: pay_in_utils.set_location(g_debug,'t_person_live_data.pan_ref_number'|| t_person_live_data.pan_ref_number,10);

4864: END IF;
4865:
4866: IF(NVL(t_person_live_data.pan_ref_number,'NA') <> NVL(t_person_24q_data.pan_ref_number,'NA'))
4867: THEN
4868: pay_in_utils.set_location(g_debug,'t_person_live_data.pan_ref_number'|| t_person_live_data.pan_ref_number,10);
4869: pay_in_utils.set_location(g_debug,'t_person_24q_data.pan_ref_number'|| t_person_24q_data.pan_ref_number,10);
4870: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 10',10);
4871: RETURN FALSE;
4872: END IF;

Line 4869: pay_in_utils.set_location(g_debug,'t_person_24q_data.pan_ref_number'|| t_person_24q_data.pan_ref_number,10);

4865:
4866: IF(NVL(t_person_live_data.pan_ref_number,'NA') <> NVL(t_person_24q_data.pan_ref_number,'NA'))
4867: THEN
4868: pay_in_utils.set_location(g_debug,'t_person_live_data.pan_ref_number'|| t_person_live_data.pan_ref_number,10);
4869: pay_in_utils.set_location(g_debug,'t_person_24q_data.pan_ref_number'|| t_person_24q_data.pan_ref_number,10);
4870: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 10',10);
4871: RETURN FALSE;
4872: END IF;
4873:

Line 4870: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 10',10);

4866: IF(NVL(t_person_live_data.pan_ref_number,'NA') <> NVL(t_person_24q_data.pan_ref_number,'NA'))
4867: THEN
4868: pay_in_utils.set_location(g_debug,'t_person_live_data.pan_ref_number'|| t_person_live_data.pan_ref_number,10);
4869: pay_in_utils.set_location(g_debug,'t_person_24q_data.pan_ref_number'|| t_person_24q_data.pan_ref_number,10);
4870: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 10',10);
4871: RETURN FALSE;
4872: END IF;
4873:
4874: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only No Diff',11);

Line 4874: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only No Diff',11);

4870: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only Diff 10',10);
4871: RETURN FALSE;
4872: END IF;
4873:
4874: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only No Diff',11);
4875: RETURN TRUE;
4876: EXCEPTION
4877: WHEN OTHERS THEN
4878: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

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

4874: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.check_c5_change_only No Diff',11);
4875: RETURN TRUE;
4876: EXCEPTION
4877: WHEN OTHERS THEN
4878: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4879: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
4880: END check_c5_change_only;
4881:
4882:

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

4875: RETURN TRUE;
4876: EXCEPTION
4877: WHEN OTHERS THEN
4878: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
4879: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
4880: END check_c5_change_only;
4881:
4882:
4883: --------------------------------------------------------------------------

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

5172: BEGIN
5173:
5174: g_debug := hr_utility.debug_enabled;
5175: l_procedure := g_package ||'.archive_salary_data';
5176: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
5177: pay_in_utils.set_location(g_debug,'Fetching Salary Data ', 1);
5178:
5179: s := 1;
5180: l_24qa_source_id := NULL;

Line 5177: pay_in_utils.set_location(g_debug,'Fetching Salary Data ', 1);

5173:
5174: g_debug := hr_utility.debug_enabled;
5175: l_procedure := g_package ||'.archive_salary_data';
5176: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
5177: pay_in_utils.set_location(g_debug,'Fetching Salary Data ', 1);
5178:
5179: s := 1;
5180: l_24qa_source_id := NULL;
5181: l_24qa_asg_action_id := NULL;

Line 5184: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete : '|| g_count_sal_delete, 1);

5180: l_24qa_source_id := NULL;
5181: l_24qa_asg_action_id := NULL;
5182: IF (g_correction_mode IN('C4','C5','%'))
5183: THEN
5184: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete : '|| g_count_sal_delete, 1);
5185: FOR i IN 1..g_count_sal_delete - 1
5186: LOOP
5187:
5188: pay_in_utils.set_location(g_debug,'Checking archived presence of this deleted assignment action',1);

Line 5188: pay_in_utils.set_location(g_debug,'Checking archived presence of this deleted assignment action',1);

5184: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete : '|| g_count_sal_delete, 1);
5185: FOR i IN 1..g_count_sal_delete - 1
5186: LOOP
5187:
5188: pay_in_utils.set_location(g_debug,'Checking archived presence of this deleted assignment action',1);
5189: l_flag := -1;
5190: l_flag1 := -1;
5191: l_flag2 := -1;
5192: l_gre_count := 0;

Line 5197: pay_in_utils.trace('l_flag in g_count_sal_delete ',l_flag);

5193:
5194: l_flag := check_archival_status(g_sal_data_rec_del(i).source_id,'IN_24QC_PERSON',NULL,'D');
5195: l_flag1 := check_archival_status(g_sal_data_rec_del(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5196:
5197: pay_in_utils.trace('l_flag in g_count_sal_delete ',l_flag);
5198: pay_in_utils.trace('l_flag1 in g_count_sal_delete ',l_flag1);
5199:
5200: IF ((l_flag = 0) AND (l_flag1 = 0))
5201: THEN

Line 5198: pay_in_utils.trace('l_flag1 in g_count_sal_delete ',l_flag1);

5194: l_flag := check_archival_status(g_sal_data_rec_del(i).source_id,'IN_24QC_PERSON',NULL,'D');
5195: l_flag1 := check_archival_status(g_sal_data_rec_del(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5196:
5197: pay_in_utils.trace('l_flag in g_count_sal_delete ',l_flag);
5198: pay_in_utils.trace('l_flag1 in g_count_sal_delete ',l_flag1);
5199:
5200: IF ((l_flag = 0) AND (l_flag1 = 0))
5201: THEN
5202: 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 5202: pay_in_utils.set_location(g_debug,'Deleted Salary Detail Record Not Archived. Hence doing '||g_sal_data_rec_del(i).source_id,1);

5198: pay_in_utils.trace('l_flag1 in g_count_sal_delete ',l_flag1);
5199:
5200: IF ((l_flag = 0) AND (l_flag1 = 0))
5201: THEN
5202: pay_in_utils.set_location(g_debug,'Deleted Salary Detail Record Not Archived. Hence doing '||g_sal_data_rec_del(i).source_id,1);
5203:
5204: get_balance_values
5205: (
5206: g_sal_data_rec_del(i).source_id

Line 5222: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );

5218: -- if g_correction_mode = 'C5' and tab_24q_pe_data.pan_number IS VALID and
5219: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
5220: -- then not only arhcive this assignment data, but also last organization PA data
5221:
5222: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );
5223: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5224: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5225:
5226: IF ((g_correction_mode IN('C4','C5','%'))

Line 5223: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );

5219: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
5220: -- then not only arhcive this assignment data, but also last organization PA data
5221:
5222: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );
5223: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5224: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5225:
5226: IF ((g_correction_mode IN('C4','C5','%'))
5227: AND(tab_24q_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))

Line 5224: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );

5220: -- then not only arhcive this assignment data, but also last organization PA data
5221:
5222: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );
5223: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5224: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5225:
5226: IF ((g_correction_mode IN('C4','C5','%'))
5227: AND(tab_24q_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))
5228: AND(tab_liv_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))

Line 5253: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

5249: OPEN c_salary_number_24q(tab_liv_pe_data.person_id,g_sal_data_rec_del(i).source_id);
5250: FETCH c_salary_number_24q INTO j;
5251: CLOSE c_salary_number_24q;
5252:
5253: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5254: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5255:
5256: l_c5_change_only := TRUE;
5257: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

Line 5254: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

5250: FETCH c_salary_number_24q INTO j;
5251: CLOSE c_salary_number_24q;
5252:
5253: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5254: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5255:
5256: l_c5_change_only := TRUE;
5257: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5258: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

Line 5257: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

5253: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5254: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5255:
5256: l_c5_change_only := TRUE;
5257: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5258: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
5259:
5260: FOR j IN 1..tab_liv_ba_data.COUNT
5261: LOOP

Line 5258: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

5254: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5255:
5256: l_c5_change_only := TRUE;
5257: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5258: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
5259:
5260: FOR j IN 1..tab_liv_ba_data.COUNT
5261: LOOP
5262: FOR k IN 1..tab_24q_ba_data.COUNT

Line 5384: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

5380: OPEN c_max_salary_number_24q;
5381: FETCH c_max_salary_number_24q INTO j;
5382: CLOSE c_max_salary_number_24q;
5383:
5384: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5385: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5386:
5387: l_flag2 := check_archival_status(l_max_pact,'IN_24QC_PERSON',NULL,'A');
5388:

Line 5385: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

5381: FETCH c_max_salary_number_24q INTO j;
5382: CLOSE c_max_salary_number_24q;
5383:
5384: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5385: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5386:
5387: l_flag2 := check_archival_status(l_max_pact,'IN_24QC_PERSON',NULL,'A');
5388:
5389: IF (INSTR(l_action_information_category,'C4')<> 0) AND (g_correction_mode IN ('%','C4'))

Line 5393: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );

5389: IF (INSTR(l_action_information_category,'C4')<> 0) AND (g_correction_mode IN ('%','C4'))
5390: AND ((l_c5_change_only=FALSE)) AND (l_prev_pay) AND (g_quarter IN ('Q4') AND (l_flag2=0))
5391: THEN
5392:
5393: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );
5394: pay_in_utils.trace('l_max_pact : ', l_max_pact );
5395:
5396: pay_action_information_api.create_action_information
5397: (p_action_context_id => l_arch_asg_action_id

Line 5394: pay_in_utils.trace('l_max_pact : ', l_max_pact );

5390: AND ((l_c5_change_only=FALSE)) AND (l_prev_pay) AND (g_quarter IN ('Q4') AND (l_flag2=0))
5391: THEN
5392:
5393: pay_in_utils.trace('Delete Source ID : ', g_sal_data_rec_del(i).source_id );
5394: pay_in_utils.trace('l_max_pact : ', l_max_pact );
5395:
5396: pay_action_information_api.create_action_information
5397: (p_action_context_id => l_arch_asg_action_id
5398: ,p_action_context_type => 'AAP'

Line 5463: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

5459: OPEN c_salary_number_24q(tab_liv_pe_data.person_id,g_sal_data_rec_del(i).source_id);
5460: FETCH c_salary_number_24q INTO j;
5461: CLOSE c_salary_number_24q;
5462:
5463: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5464: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5465:
5466:
5467: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_prev_pay) AND (l_flag1=0))

Line 5464: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

5460: FETCH c_salary_number_24q INTO j;
5461: CLOSE c_salary_number_24q;
5462:
5463: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5464: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5465:
5466:
5467: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_prev_pay) AND (l_flag1=0))
5468: THEN

Line 5528: pay_in_utils.set_location(g_debug,'Value of g_count_sal_addition : '|| g_count_sal_addition, 1);

5524: l_prev_asg_action_id := NULL;
5525: l_prev_category := NULL;
5526: IF (g_correction_mode IN('C4','C5','%'))
5527: THEN
5528: pay_in_utils.set_location(g_debug,'Value of g_count_sal_addition : '|| g_count_sal_addition, 1);
5529: FOR i IN 1..g_count_sal_addition - 1
5530: LOOP
5531:
5532: OPEN c_asg_act_id(p_24qa_pay_act_id,g_sal_data_rec_add(i).assignment_id);

Line 5538: pay_in_utils.set_location(g_debug,'Found source id in 24Q Correction: '|| l_24qa_source_id ,2);

5534: CLOSE c_asg_act_id;
5535:
5536: OPEN c_24qc_source_id(l_24qa_asg_action_id,g_sal_data_rec_add(i).assignment_id);
5537: FETCH c_24qc_source_id INTO l_24qa_source_id,l_24qa_asg_action_id;
5538: pay_in_utils.set_location(g_debug,'Found source id in 24Q Correction: '|| l_24qa_source_id ,2);
5539: CLOSE c_24qc_source_id;
5540:
5541: IF (l_24qa_source_id IS NOT NULL)
5542: THEN

Line 5549: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,2);

5545: END IF;
5546:
5547: IF (l_24qa_source_id IS NULL)
5548: THEN
5549: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,2);
5550: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,2);
5551: OPEN c_24qa_source_id(l_24qa_asg_action_id,g_sal_data_rec_add(i).assignment_id);
5552: FETCH c_24qa_source_id INTO l_24qa_source_id,l_24qa_asg_action_id;
5553: CLOSE c_24qa_source_id;

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

5546:
5547: IF (l_24qa_source_id IS NULL)
5548: THEN
5549: pay_in_utils.set_location(g_debug,'Source ID is NULL' ,2);
5550: pay_in_utils.set_location(g_debug,'Hence Searching in 24Q Archival ' ,2);
5551: OPEN c_24qa_source_id(l_24qa_asg_action_id,g_sal_data_rec_add(i).assignment_id);
5552: FETCH c_24qa_source_id INTO l_24qa_source_id,l_24qa_asg_action_id;
5553: CLOSE c_24qa_source_id;
5554: l_prev_asg_action_id := l_24qa_asg_action_id;

Line 5558: pay_in_utils.trace('l_24qa_source_id in g_count_sal_addition ',l_24qa_source_id);

5554: l_prev_asg_action_id := l_24qa_asg_action_id;
5555: l_prev_category := 'IN_24Q_SALARY';
5556: END IF;
5557:
5558: pay_in_utils.trace('l_24qa_source_id in g_count_sal_addition ',l_24qa_source_id);
5559:
5560: pay_in_utils.set_location(g_debug,'Checking archived presence of this added assignment action',1);
5561: l_flag := -1;
5562: l_flag1 := -1;

Line 5560: pay_in_utils.set_location(g_debug,'Checking archived presence of this added assignment action',1);

5556: END IF;
5557:
5558: pay_in_utils.trace('l_24qa_source_id in g_count_sal_addition ',l_24qa_source_id);
5559:
5560: pay_in_utils.set_location(g_debug,'Checking archived presence of this added assignment action',1);
5561: l_flag := -1;
5562: l_flag1 := -1;
5563: l_flag2 := -1;
5564: l_gre_count := 0;

Line 5567: pay_in_utils.trace('l_24qa_source_id in g_count_sal_addition ',l_24qa_source_id);

5563: l_flag2 := -1;
5564: l_gre_count := 0;
5565: l_prev_c5 := TRUE;
5566:
5567: pay_in_utils.trace('l_24qa_source_id in g_count_sal_addition ',l_24qa_source_id);
5568:
5569: l_flag := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'A');
5570: l_flag1 := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5571:

Line 5572: pay_in_utils.trace('l_flag in g_count_sal_addition :',l_flag);

5568:
5569: l_flag := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'A');
5570: l_flag1 := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5571:
5572: pay_in_utils.trace('l_flag in g_count_sal_addition :',l_flag);
5573: pay_in_utils.trace('l_flag1 in g_count_sal_addition :',l_flag1);
5574:
5575: IF ((l_flag = 0) AND (l_flag1 = 0))
5576: THEN

Line 5573: pay_in_utils.trace('l_flag1 in g_count_sal_addition :',l_flag1);

5569: l_flag := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'A');
5570: l_flag1 := check_archival_status(g_sal_data_rec_add(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5571:
5572: pay_in_utils.trace('l_flag in g_count_sal_addition :',l_flag);
5573: pay_in_utils.trace('l_flag1 in g_count_sal_addition :',l_flag1);
5574:
5575: IF ((l_flag = 0) AND (l_flag1 = 0))
5576: THEN
5577: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);

Line 5577: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);

5573: pay_in_utils.trace('l_flag1 in g_count_sal_addition :',l_flag1);
5574:
5575: IF ((l_flag = 0) AND (l_flag1 = 0))
5576: THEN
5577: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);
5578:
5579: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5580: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5581: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);

Line 5579: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);

5575: IF ((l_flag = 0) AND (l_flag1 = 0))
5576: THEN
5577: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);
5578:
5579: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5580: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5581: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);
5582: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);
5583: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);

Line 5580: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);

5576: THEN
5577: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);
5578:
5579: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5580: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5581: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);
5582: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);
5583: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);
5584:

Line 5581: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);

5577: pay_in_utils.set_location(g_debug,'Added Salary Detail Not Archived. Hence doing.. '||g_sal_data_rec_add(i).source_id,1);
5578:
5579: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5580: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5581: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);
5582: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);
5583: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);
5584:
5585:

Line 5582: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);

5578:
5579: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5580: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5581: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);
5582: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);
5583: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);
5584:
5585:
5586: IF (l_24qa_asg_action_id IS NULL) THEN

Line 5583: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);

5579: pay_in_utils.set_location(g_debug,'Fetching balance data ', 1);
5580: pay_in_utils.set_location(g_debug,'For Assignment Action ID : '|| g_sal_data_rec_add(i).source_id,1);
5581: pay_in_utils.set_location(g_debug,'Calling....get_balance_values ',1);
5582: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_sal_data_rec_add(i).last_action_context_id ,2);
5583: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_sal_data_rec_add(i).assignment_id,3);
5584:
5585:
5586: IF (l_24qa_asg_action_id IS NULL) THEN
5587: l_24qa_asg_action_id := g_sal_data_rec_add(i).source_id;

Line 5604: pay_in_utils.set_location(g_debug,'Called....get_balance_values ',1);

5600: ,tab_24q_pe_data
5601: ,l_gre_count
5602: );
5603:
5604: pay_in_utils.set_location(g_debug,'Called....get_balance_values ',1);
5605: pay_in_utils.set_location(g_debug,'Fetched balance data ', 1);
5606:
5607: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5608: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );

Line 5605: pay_in_utils.set_location(g_debug,'Fetched balance data ', 1);

5601: ,l_gre_count
5602: );
5603:
5604: pay_in_utils.set_location(g_debug,'Called....get_balance_values ',1);
5605: pay_in_utils.set_location(g_debug,'Fetched balance data ', 1);
5606:
5607: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5608: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5609:

Line 5607: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );

5603:
5604: pay_in_utils.set_location(g_debug,'Called....get_balance_values ',1);
5605: pay_in_utils.set_location(g_debug,'Fetched balance data ', 1);
5606:
5607: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5608: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5609:
5610:
5611: IF ((g_correction_mode IN('C4','C5','%'))

Line 5608: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );

5604: pay_in_utils.set_location(g_debug,'Called....get_balance_values ',1);
5605: pay_in_utils.set_location(g_debug,'Fetched balance data ', 1);
5606:
5607: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5608: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5609:
5610:
5611: IF ((g_correction_mode IN('C4','C5','%'))
5612: AND(tab_24q_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))

Line 5637: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

5633: OPEN c_salary_number_24q(tab_liv_pe_data.person_id,l_24qa_source_id);
5634: FETCH c_salary_number_24q INTO j;
5635: CLOSE c_salary_number_24q;
5636:
5637: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5638: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5639:
5640: l_c5_change_only := TRUE;
5641: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

Line 5638: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

5634: FETCH c_salary_number_24q INTO j;
5635: CLOSE c_salary_number_24q;
5636:
5637: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5638: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5639:
5640: l_c5_change_only := TRUE;
5641: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5642: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

Line 5641: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

5637: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5638: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5639:
5640: l_c5_change_only := TRUE;
5641: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5642: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
5643:
5644: FOR j IN 1..tab_liv_ba_data.COUNT
5645: LOOP

Line 5642: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

5638: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5639:
5640: l_c5_change_only := TRUE;
5641: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
5642: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
5643:
5644: FOR j IN 1..tab_liv_ba_data.COUNT
5645: LOOP
5646: FOR k IN 1..tab_24q_ba_data.COUNT

Line 5669: pay_in_utils.trace('Addition Source ID : ', g_sal_data_rec_add(i).source_id );

5665: l_c5_change_only := FALSE;
5666: l_prev_c5 := FALSE;
5667: END IF;
5668:
5669: pay_in_utils.trace('Addition Source ID : ', g_sal_data_rec_add(i).source_id );
5670: pay_in_utils.trace('Addition Assignment ID : ', g_sal_data_rec_add(i).assignment_id );
5671:
5672: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_flag1=0) AND (l_prev_c5))
5673: THEN

Line 5670: pay_in_utils.trace('Addition Assignment ID : ', g_sal_data_rec_add(i).assignment_id );

5666: l_prev_c5 := FALSE;
5667: END IF;
5668:
5669: pay_in_utils.trace('Addition Source ID : ', g_sal_data_rec_add(i).source_id );
5670: pay_in_utils.trace('Addition Assignment ID : ', g_sal_data_rec_add(i).assignment_id );
5671:
5672: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_flag1=0) AND (l_prev_c5))
5673: THEN
5674: pay_action_information_api.create_action_information

Line 5728: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

5724: OPEN c_max_salary_number_24q;
5725: FETCH c_max_salary_number_24q INTO j;
5726: CLOSE c_max_salary_number_24q;
5727:
5728: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5729: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5730:
5731:
5732: IF (INSTR(l_action_information_category,'C4')<> 0) AND (g_correction_mode IN ('%','C4'))

Line 5729: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

5725: FETCH c_max_salary_number_24q INTO j;
5726: CLOSE c_max_salary_number_24q;
5727:
5728: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5729: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5730:
5731:
5732: IF (INSTR(l_action_information_category,'C4')<> 0) AND (g_correction_mode IN ('%','C4'))
5733: AND ((l_c5_change_only=FALSE)) AND (g_quarter IN ('Q4') AND (l_flag=0))

Line 5834: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

5830: OPEN c_salary_number_24q(tab_liv_pe_data.person_id,l_prev_max_pact);
5831: FETCH c_salary_number_24q INTO j;
5832: CLOSE c_salary_number_24q;
5833:
5834: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5835: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5836:
5837: l_flag2 := check_archival_status(l_prev_max_pact,'IN_24QC_PERSON',NULL,'D');
5838:

Line 5835: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

5831: FETCH c_salary_number_24q INTO j;
5832: CLOSE c_salary_number_24q;
5833:
5834: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
5835: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
5836:
5837: l_flag2 := check_archival_status(l_prev_max_pact,'IN_24QC_PERSON',NULL,'D');
5838:
5839: IF (INSTR(l_action_information_category,'C4')<> 0) AND (g_correction_mode IN ('%','C4'))

Line 5870: pay_in_utils.trace('l_balance_value : ',l_balance_value);

5866: OPEN c_get_bal_24q(l_prev_asg_action_id,l_prev_max_pact,l_prev_category,'F16 Gross Total Income');
5867: FETCH c_get_bal_24q INTO l_balance_value;
5868: CLOSE c_get_bal_24q;
5869:
5870: pay_in_utils.trace('l_balance_value : ',l_balance_value);
5871:
5872: IF ((l_prev_asg_action_id IS NOT NULL) AND (l_balance_value <> 0))
5873: THEN
5874:

Line 5926: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update : '|| g_count_sal_update, 1);

5922: l_24qa_source_id := NULL;
5923: l_24qa_asg_action_id := NULL;
5924: IF (g_correction_mode IN('C4','C5','%'))
5925: THEN
5926: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update : '|| g_count_sal_update, 1);
5927:
5928: FOR i IN 1..g_count_sal_update - 1
5929: LOOP
5930: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated assignment action',1);

Line 5930: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated assignment action',1);

5926: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update : '|| g_count_sal_update, 1);
5927:
5928: FOR i IN 1..g_count_sal_update - 1
5929: LOOP
5930: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated assignment action',1);
5931: l_flag := -1;
5932: l_flag1 := -1;
5933: l_flag2 := -1;
5934: l_gre_count := 0;

Line 5941: pay_in_utils.trace('l_flag in g_count_sal_update : ', l_flag );

5937: l_flag := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'A');
5938: l_flag1 := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5939: l_flag2 := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'D');
5940:
5941: pay_in_utils.trace('l_flag in g_count_sal_update : ', l_flag );
5942: pay_in_utils.trace('l_flag1 in g_count_sal_update : ', l_flag1 );
5943: pay_in_utils.trace('l_flag2 in g_count_sal_update : ', l_flag2 );
5944:
5945:

Line 5942: pay_in_utils.trace('l_flag1 in g_count_sal_update : ', l_flag1 );

5938: l_flag1 := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'NA');
5939: l_flag2 := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'D');
5940:
5941: pay_in_utils.trace('l_flag in g_count_sal_update : ', l_flag );
5942: pay_in_utils.trace('l_flag1 in g_count_sal_update : ', l_flag1 );
5943: pay_in_utils.trace('l_flag2 in g_count_sal_update : ', l_flag2 );
5944:
5945:
5946: IF ((l_flag = 0) AND (l_flag1 = 0) )

Line 5943: pay_in_utils.trace('l_flag2 in g_count_sal_update : ', l_flag2 );

5939: l_flag2 := check_archival_status(g_sal_data_rec_upd(i).source_id,'IN_24QC_PERSON',NULL,'D');
5940:
5941: pay_in_utils.trace('l_flag in g_count_sal_update : ', l_flag );
5942: pay_in_utils.trace('l_flag1 in g_count_sal_update : ', l_flag1 );
5943: pay_in_utils.trace('l_flag2 in g_count_sal_update : ', l_flag2 );
5944:
5945:
5946: IF ((l_flag = 0) AND (l_flag1 = 0) )
5947: THEN

Line 5948: pay_in_utils.set_location(g_debug,'Updated Asg Action Not Archived. hence doing '||g_sal_data_rec_upd(i).source_id,1);

5944:
5945:
5946: IF ((l_flag = 0) AND (l_flag1 = 0) )
5947: THEN
5948: pay_in_utils.set_location(g_debug,'Updated Asg Action Not Archived. hence doing '||g_sal_data_rec_upd(i).source_id,1);
5949:
5950: pay_in_utils.set_location(g_debug,'Fetching balances...',2);
5951:
5952: get_balance_values

Line 5950: pay_in_utils.set_location(g_debug,'Fetching balances...',2);

5946: IF ((l_flag = 0) AND (l_flag1 = 0) )
5947: THEN
5948: pay_in_utils.set_location(g_debug,'Updated Asg Action Not Archived. hence doing '||g_sal_data_rec_upd(i).source_id,1);
5949:
5950: pay_in_utils.set_location(g_debug,'Fetching balances...',2);
5951:
5952: get_balance_values
5953: (
5954: g_sal_data_rec_upd(i).source_id

Line 5967: pay_in_utils.set_location(g_debug,'Fetched balances...',2);

5963: ,l_gre_count
5964: );
5965:
5966:
5967: pay_in_utils.set_location(g_debug,'Fetched balances...',2);
5968: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
5969: pay_in_utils.set_location(g_debug,'Asg ID' || g_sal_data_rec_upd(i).assignment_id ,2);
5970: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,2);
5971:

Line 5968: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);

5964: );
5965:
5966:
5967: pay_in_utils.set_location(g_debug,'Fetched balances...',2);
5968: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
5969: pay_in_utils.set_location(g_debug,'Asg ID' || g_sal_data_rec_upd(i).assignment_id ,2);
5970: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,2);
5971:
5972: OPEN c_asg_act_id(p_payroll_action_id,g_sal_data_rec_upd(i).assignment_id);

Line 5969: pay_in_utils.set_location(g_debug,'Asg ID' || g_sal_data_rec_upd(i).assignment_id ,2);

5965:
5966:
5967: pay_in_utils.set_location(g_debug,'Fetched balances...',2);
5968: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
5969: pay_in_utils.set_location(g_debug,'Asg ID' || g_sal_data_rec_upd(i).assignment_id ,2);
5970: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,2);
5971:
5972: OPEN c_asg_act_id(p_payroll_action_id,g_sal_data_rec_upd(i).assignment_id);
5973: FETCH c_asg_act_id INTO l_arch_asg_action_id;

Line 5970: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,2);

5966:
5967: pay_in_utils.set_location(g_debug,'Fetched balances...',2);
5968: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
5969: pay_in_utils.set_location(g_debug,'Asg ID' || g_sal_data_rec_upd(i).assignment_id ,2);
5970: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,2);
5971:
5972: OPEN c_asg_act_id(p_payroll_action_id,g_sal_data_rec_upd(i).assignment_id);
5973: FETCH c_asg_act_id INTO l_arch_asg_action_id;
5974: CLOSE c_asg_act_id;

Line 5976: pay_in_utils.set_location(g_debug,'Archival Assignment Action ID is :'|| l_arch_asg_action_id ,2);

5972: OPEN c_asg_act_id(p_payroll_action_id,g_sal_data_rec_upd(i).assignment_id);
5973: FETCH c_asg_act_id INTO l_arch_asg_action_id;
5974: CLOSE c_asg_act_id;
5975:
5976: pay_in_utils.set_location(g_debug,'Archival Assignment Action ID is :'|| l_arch_asg_action_id ,2);
5977:
5978: -- if g_correction_mode = 'C5' and tab_24q_pe_data.pan_number IS VALID and
5979: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
5980: -- then not only arhcive this assignment data, but also last organization PA data

Line 5982: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );

5978: -- if g_correction_mode = 'C5' and tab_24q_pe_data.pan_number IS VALID and
5979: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
5980: -- then not only arhcive this assignment data, but also last organization PA data
5981:
5982: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5983: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5984:
5985: IF ((g_correction_mode IN('C4','C5','%'))
5986: AND(tab_24q_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))

Line 5983: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );

5979: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
5980: -- then not only arhcive this assignment data, but also last organization PA data
5981:
5982: pay_in_utils.trace('tab_liv_pe_data.pan_number : ', tab_liv_pe_data.pan_number );
5983: pay_in_utils.trace('tab_24q_pe_data.pan_number : ', tab_24q_pe_data.pan_number );
5984:
5985: IF ((g_correction_mode IN('C4','C5','%'))
5986: AND(tab_24q_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))
5987: AND(tab_liv_pe_data.pan_number NOT IN ('APPLIEDFOR','PANNOTAVBL'))

Line 6004: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

6000: OPEN c_salary_number_24q(tab_liv_pe_data.person_id,g_sal_data_rec_upd(i).source_id);
6001: FETCH c_salary_number_24q INTO j;
6002: CLOSE c_salary_number_24q;
6003:
6004: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6005: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6006:
6007: l_c5_change_only := TRUE;
6008: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

Line 6005: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

6001: FETCH c_salary_number_24q INTO j;
6002: CLOSE c_salary_number_24q;
6003:
6004: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6005: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6006:
6007: l_c5_change_only := TRUE;
6008: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
6009: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

Line 6008: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );

6004: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6005: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6006:
6007: l_c5_change_only := TRUE;
6008: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
6009: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
6010:
6011: FOR j IN 1..tab_liv_ba_data.COUNT
6012: LOOP

Line 6009: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );

6005: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6006:
6007: l_c5_change_only := TRUE;
6008: pay_in_utils.trace('Count of live balances : ', tab_liv_ba_data.COUNT );
6009: pay_in_utils.trace('Count of 24q balances : ', tab_24q_ba_data.COUNT );
6010:
6011: FOR j IN 1..tab_liv_ba_data.COUNT
6012: LOOP
6013: FOR k IN 1..tab_24q_ba_data.COUNT

Line 6041: pay_in_utils.trace('Update Source_id :',g_sal_data_rec_upd(i).source_id);

6037: THEN
6038: l_future_pay := FALSE;
6039: END IF;
6040:
6041: pay_in_utils.trace('Update Source_id :',g_sal_data_rec_upd(i).source_id);
6042: pay_in_utils.trace('l_max_pact ',l_max_pact);
6043: pay_in_utils.trace('l_gre_count in g_count_sal_update: ',l_gre_count);
6044:
6045: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_flag1=0) AND (l_future_pay=TRUE))

Line 6042: pay_in_utils.trace('l_max_pact ',l_max_pact);

6038: l_future_pay := FALSE;
6039: END IF;
6040:
6041: pay_in_utils.trace('Update Source_id :',g_sal_data_rec_upd(i).source_id);
6042: pay_in_utils.trace('l_max_pact ',l_max_pact);
6043: pay_in_utils.trace('l_gre_count in g_count_sal_update: ',l_gre_count);
6044:
6045: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_flag1=0) AND (l_future_pay=TRUE))
6046: THEN

Line 6043: pay_in_utils.trace('l_gre_count in g_count_sal_update: ',l_gre_count);

6039: END IF;
6040:
6041: pay_in_utils.trace('Update Source_id :',g_sal_data_rec_upd(i).source_id);
6042: pay_in_utils.trace('l_max_pact ',l_max_pact);
6043: pay_in_utils.trace('l_gre_count in g_count_sal_update: ',l_gre_count);
6044:
6045: IF (INSTR(l_action_information_category,'C5')<> 0) AND (g_correction_mode IN ('%','C5') AND (l_flag1=0) AND (l_future_pay=TRUE))
6046: THEN
6047:

Line 6183: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);

6179: OPEN c_max_salary_number_24q;
6180: FETCH c_max_salary_number_24q INTO j;
6181: CLOSE c_max_salary_number_24q;
6182:
6183: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6184: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6185:
6186: IF (INSTR(l_action_information_category,'C4')<> 0)AND(g_correction_mode IN ('%','C4'))
6187: AND (l_c5_change_only=FALSE) AND (g_quarter IN ('Q4') AND (l_flag = 0))

Line 6184: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);

6180: FETCH c_max_salary_number_24q INTO j;
6181: CLOSE c_max_salary_number_24q;
6182:
6183: pay_in_utils.set_location(g_debug,'Previous Salary Detail Record Number was:' || j, 3);
6184: pay_in_utils.set_location(g_debug,'New Salary Detail Record Number is:' || k,4);
6185:
6186: IF (INSTR(l_action_information_category,'C4')<> 0)AND(g_correction_mode IN ('%','C4'))
6187: AND (l_c5_change_only=FALSE) AND (g_quarter IN ('Q4') AND (l_flag = 0))
6188: THEN

Line 6254: pay_in_utils.set_location(g_debug,'Leaving '|| l_procedure, 5);

6250:
6251: END IF;
6252:
6253:
6254: pay_in_utils.set_location(g_debug,'Leaving '|| l_procedure, 5);
6255:
6256: EXCEPTION
6257: WHEN OTHERS THEN
6258: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

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

6254: pay_in_utils.set_location(g_debug,'Leaving '|| l_procedure, 5);
6255:
6256: EXCEPTION
6257: WHEN OTHERS THEN
6258: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
6259: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
6260: END archive_salary_data;
6261:
6262:

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

6255:
6256: EXCEPTION
6257: WHEN OTHERS THEN
6258: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
6259: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
6260: END archive_salary_data;
6261:
6262:
6263:

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

6401: l_message VARCHAR2(250);
6402: BEGIN
6403: g_debug := hr_utility.debug_enabled;
6404: l_procedure := g_package ||'.archive_deductee_data';
6405: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
6406: pay_in_utils.set_location(g_debug,'Fetching Deductee Data ', 1);
6407: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete : '|| g_count_ee_delete, 1);
6408: IF (g_correction_mode <> 'C9')
6409: THEN

Line 6406: pay_in_utils.set_location(g_debug,'Fetching Deductee Data ', 1);

6402: BEGIN
6403: g_debug := hr_utility.debug_enabled;
6404: l_procedure := g_package ||'.archive_deductee_data';
6405: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
6406: pay_in_utils.set_location(g_debug,'Fetching Deductee Data ', 1);
6407: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete : '|| g_count_ee_delete, 1);
6408: IF (g_correction_mode <> 'C9')
6409: THEN
6410: FOR i IN 1..g_count_ee_delete - 1

Line 6407: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete : '|| g_count_ee_delete, 1);

6403: g_debug := hr_utility.debug_enabled;
6404: l_procedure := g_package ||'.archive_deductee_data';
6405: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
6406: pay_in_utils.set_location(g_debug,'Fetching Deductee Data ', 1);
6407: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete : '|| g_count_ee_delete, 1);
6408: IF (g_correction_mode <> 'C9')
6409: THEN
6410: FOR i IN 1..g_count_ee_delete - 1
6411: LOOP

Line 6413: pay_in_utils.set_location(g_debug,'Checking archived presence of this deleted ee',1);

6409: THEN
6410: FOR i IN 1..g_count_ee_delete - 1
6411: LOOP
6412:
6413: pay_in_utils.set_location(g_debug,'Checking archived presence of this deleted ee',1);
6414: l_flag := -1;
6415:
6416: l_flag := check_archival_status(g_ee_data_rec_del(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'D');
6417: IF (l_flag = 0)

Line 6419: pay_in_utils.set_location(g_debug,'Deleted EE Not Archived. hence doing '||g_ee_data_rec_del(i).element_entry_id,1);

6415:
6416: l_flag := check_archival_status(g_ee_data_rec_del(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'D');
6417: IF (l_flag = 0)
6418: THEN
6419: pay_in_utils.set_location(g_debug,'Deleted EE Not Archived. hence doing '||g_ee_data_rec_del(i).element_entry_id,1);
6420:
6421: get_element_entry_values
6422: (
6423: g_ee_data_rec_del(i).element_entry_id

Line 6461: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);

6457: OPEN c_deductee_number_24q(tab_24q_ee_data.challan_number,g_ee_data_rec_del(i).element_entry_id);
6458: FETCH c_deductee_number_24q INTO j;
6459: CLOSE c_deductee_number_24q;
6460:
6461: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);
6462: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);
6463:
6464: IF (INSTR(l_action_information_category,'C5')<> 0)AND(g_correction_mode IN ('%','C5'))
6465: THEN

Line 6462: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);

6458: FETCH c_deductee_number_24q INTO j;
6459: CLOSE c_deductee_number_24q;
6460:
6461: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);
6462: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);
6463:
6464: IF (INSTR(l_action_information_category,'C5')<> 0)AND(g_correction_mode IN ('%','C5'))
6465: THEN
6466: l_category := SUBSTR(l_action_information_category

Line 6556: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition : '|| g_count_ee_addition, 1);

6552: END LOOP;
6553: END IF;
6554: IF (g_correction_mode <> 'C5')
6555: THEN
6556: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition : '|| g_count_ee_addition, 1);
6557: FOR i IN 1..g_count_ee_addition - 1
6558: LOOP
6559:
6560: pay_in_utils.set_location(g_debug,'Checking archived presence of this added ee',1);

Line 6560: pay_in_utils.set_location(g_debug,'Checking archived presence of this added ee',1);

6556: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition : '|| g_count_ee_addition, 1);
6557: FOR i IN 1..g_count_ee_addition - 1
6558: LOOP
6559:
6560: pay_in_utils.set_location(g_debug,'Checking archived presence of this added ee',1);
6561: l_flag := -1;
6562:
6563: l_flag := check_archival_status(g_ee_data_rec_add(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'A');
6564: IF (l_flag = 0)

Line 6566: pay_in_utils.set_location(g_debug,'Added EE Not Archived. hence doing '||g_ee_data_rec_add(i).element_entry_id,1);

6562:
6563: l_flag := check_archival_status(g_ee_data_rec_add(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'A');
6564: IF (l_flag = 0)
6565: THEN
6566: pay_in_utils.set_location(g_debug,'Added EE Not Archived. hence doing '||g_ee_data_rec_add(i).element_entry_id,1);
6567:
6568: IF (l_dummy <> pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number'))
6569: THEN
6570: s := 1;

Line 6568: IF (l_dummy <> pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number'))

6564: IF (l_flag = 0)
6565: THEN
6566: pay_in_utils.set_location(g_debug,'Added EE Not Archived. hence doing '||g_ee_data_rec_add(i).element_entry_id,1);
6567:
6568: IF (l_dummy <> pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number'))
6569: THEN
6570: s := 1;
6571: l_dummy := pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number');
6572: END IF;

Line 6571: l_dummy := pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number');

6567:
6568: IF (l_dummy <> pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number'))
6569: THEN
6570: s := 1;
6571: l_dummy := pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number');
6572: END IF;
6573:
6574: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6575: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);

Line 6574: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);

6570: s := 1;
6571: l_dummy := pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number');
6572: END IF;
6573:
6574: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6575: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);
6576: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);
6577: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);
6578: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);

Line 6575: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);

6571: l_dummy := pay_in_utils.get_ee_value(g_ee_data_rec_add(i).element_entry_id,'Challan or Voucher Number');
6572: END IF;
6573:
6574: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6575: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);
6576: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);
6577: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);
6578: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);
6579: get_element_entry_values

Line 6576: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);

6572: END IF;
6573:
6574: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6575: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);
6576: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);
6577: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);
6578: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);
6579: get_element_entry_values
6580: (

Line 6577: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);

6573:
6574: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6575: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);
6576: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);
6577: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);
6578: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);
6579: get_element_entry_values
6580: (
6581: g_ee_data_rec_add(i).element_entry_id

Line 6578: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);

6574: pay_in_utils.set_location(g_debug,'Fetching element entry data ', 1);
6575: pay_in_utils.set_location(g_debug,'For Element Entry ID : '|| g_ee_data_rec_add(i).element_entry_id,1);
6576: pay_in_utils.set_location(g_debug,'Calling....get_element_entry_values ',1);
6577: pay_in_utils.set_location(g_debug,'Assignment Action id is ' || g_ee_data_rec_add(i).last_action_context_id ,2);
6578: pay_in_utils.set_location(g_debug,'Assignment id is ' || g_ee_data_rec_add(i).assignment_id,3);
6579: get_element_entry_values
6580: (
6581: g_ee_data_rec_add(i).element_entry_id
6582: ,g_ee_data_rec_add(i).last_action_context_id

Line 6589: pay_in_utils.set_location(g_debug,'Called....get_element_entry_values ',1);

6585: ,tab_24q_ee_data
6586: ,tab_liv_pe_data
6587: ,tab_24q_pe_data
6588: );
6589: pay_in_utils.set_location(g_debug,'Called....get_element_entry_values ',1);
6590: pay_in_utils.set_location(g_debug,'Fetched element entry data ', 1);
6591:
6592: OPEN c_asg_act_id(g_ee_data_rec_add(i).assignment_id);
6593: FETCH c_asg_act_id INTO l_arch_asg_action_id;

Line 6590: pay_in_utils.set_location(g_debug,'Fetched element entry data ', 1);

6586: ,tab_liv_pe_data
6587: ,tab_24q_pe_data
6588: );
6589: pay_in_utils.set_location(g_debug,'Called....get_element_entry_values ',1);
6590: pay_in_utils.set_location(g_debug,'Fetched element entry data ', 1);
6591:
6592: OPEN c_asg_act_id(g_ee_data_rec_add(i).assignment_id);
6593: FETCH c_asg_act_id INTO l_arch_asg_action_id;
6594: CLOSE c_asg_act_id;

Line 6598: pay_in_utils.set_location(g_debug,'Value of p_24qa_pay_act_id is ' || p_24qa_pay_act_id ,1);

6594: CLOSE c_asg_act_id;
6595:
6596: j := -1;
6597: k := -1;
6598: pay_in_utils.set_location(g_debug,'Value of p_24qa_pay_act_id is ' || p_24qa_pay_act_id ,1);
6599: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24Q for ' || tab_liv_ee_data.challan_number,1);
6600: OPEN c_max_challan_number_24q(tab_liv_ee_data.challan_number);
6601: FETCH c_max_challan_number_24q INTO k;
6602: CLOSE c_max_challan_number_24q;

Line 6599: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24Q for ' || tab_liv_ee_data.challan_number,1);

6595:
6596: j := -1;
6597: k := -1;
6598: pay_in_utils.set_location(g_debug,'Value of p_24qa_pay_act_id is ' || p_24qa_pay_act_id ,1);
6599: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24Q for ' || tab_liv_ee_data.challan_number,1);
6600: OPEN c_max_challan_number_24q(tab_liv_ee_data.challan_number);
6601: FETCH c_max_challan_number_24q INTO k;
6602: CLOSE c_max_challan_number_24q;
6603: pay_in_utils.set_location(g_debug,'Number found is ' || k, 2);

Line 6603: pay_in_utils.set_location(g_debug,'Number found is ' || k, 2);

6599: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24Q for ' || tab_liv_ee_data.challan_number,1);
6600: OPEN c_max_challan_number_24q(tab_liv_ee_data.challan_number);
6601: FETCH c_max_challan_number_24q INTO k;
6602: CLOSE c_max_challan_number_24q;
6603: pay_in_utils.set_location(g_debug,'Number found is ' || k, 2);
6604: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24QC for ' || tab_liv_ee_data.challan_number,1);
6605: OPEN c_max_challan_number_24qc(tab_liv_ee_data.challan_number);
6606: FETCH c_max_challan_number_24qc INTO j;
6607: CLOSE c_max_challan_number_24qc;

Line 6604: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24QC for ' || tab_liv_ee_data.challan_number,1);

6600: OPEN c_max_challan_number_24q(tab_liv_ee_data.challan_number);
6601: FETCH c_max_challan_number_24q INTO k;
6602: CLOSE c_max_challan_number_24q;
6603: pay_in_utils.set_location(g_debug,'Number found is ' || k, 2);
6604: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24QC for ' || tab_liv_ee_data.challan_number,1);
6605: OPEN c_max_challan_number_24qc(tab_liv_ee_data.challan_number);
6606: FETCH c_max_challan_number_24qc INTO j;
6607: CLOSE c_max_challan_number_24qc;
6608: pay_in_utils.set_location(g_debug,'Number found is ' || j, 2);

Line 6608: pay_in_utils.set_location(g_debug,'Number found is ' || j, 2);

6604: pay_in_utils.set_location(g_debug,'Checking Challan Deductee Number in 24QC for ' || tab_liv_ee_data.challan_number,1);
6605: OPEN c_max_challan_number_24qc(tab_liv_ee_data.challan_number);
6606: FETCH c_max_challan_number_24qc INTO j;
6607: CLOSE c_max_challan_number_24qc;
6608: pay_in_utils.set_location(g_debug,'Number found is ' || j, 2);
6609:
6610: pay_action_information_api.create_action_information
6611: (p_action_context_id => l_arch_asg_action_id
6612: ,p_action_context_type => 'AAP'

Line 6648: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update : '|| g_count_ee_update, 1);

6644: s := s + 1;
6645: END IF;
6646: END LOOP;
6647: END IF;
6648: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update : '|| g_count_ee_update, 1);
6649: FOR i IN 1..g_count_ee_update - 1
6650: LOOP
6651: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated ee',1);
6652: l_flag := -1;

Line 6651: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated ee',1);

6647: END IF;
6648: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update : '|| g_count_ee_update, 1);
6649: FOR i IN 1..g_count_ee_update - 1
6650: LOOP
6651: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated ee',1);
6652: l_flag := -1;
6653:
6654: l_flag := check_archival_status(g_ee_data_rec_upd(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'U');
6655: IF (l_flag = 0)

Line 6657: pay_in_utils.set_location(g_debug,'Updated EE Not Archived. hence doing '||g_ee_data_rec_upd(i).element_entry_id,1);

6653:
6654: l_flag := check_archival_status(g_ee_data_rec_upd(i).element_entry_id,'IN_24QC_DEDUCTEE',NULL,'U');
6655: IF (l_flag = 0)
6656: THEN
6657: pay_in_utils.set_location(g_debug,'Updated EE Not Archived. hence doing '||g_ee_data_rec_upd(i).element_entry_id,1);
6658:
6659: pay_in_utils.set_location(g_debug,'Fetching element entries...',2);
6660: get_element_entry_values
6661: (

Line 6659: pay_in_utils.set_location(g_debug,'Fetching element entries...',2);

6655: IF (l_flag = 0)
6656: THEN
6657: pay_in_utils.set_location(g_debug,'Updated EE Not Archived. hence doing '||g_ee_data_rec_upd(i).element_entry_id,1);
6658:
6659: pay_in_utils.set_location(g_debug,'Fetching element entries...',2);
6660: get_element_entry_values
6661: (
6662: g_ee_data_rec_upd(i).element_entry_id
6663: ,g_ee_data_rec_upd(i).last_action_context_id

Line 6671: pay_in_utils.set_location(g_debug,'Fetched element entries...',2);

6667: ,tab_liv_pe_data
6668: ,tab_24q_pe_data
6669: );
6670:
6671: pay_in_utils.set_location(g_debug,'Fetched element entries...',2);
6672: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6673: pay_in_utils.set_location(g_debug,'Asg ID' || g_ee_data_rec_upd(i).assignment_id ,1);
6674: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,1);
6675:

Line 6672: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);

6668: ,tab_24q_pe_data
6669: );
6670:
6671: pay_in_utils.set_location(g_debug,'Fetched element entries...',2);
6672: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6673: pay_in_utils.set_location(g_debug,'Asg ID' || g_ee_data_rec_upd(i).assignment_id ,1);
6674: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,1);
6675:
6676: OPEN c_asg_act_id(g_ee_data_rec_upd(i).assignment_id);

Line 6673: pay_in_utils.set_location(g_debug,'Asg ID' || g_ee_data_rec_upd(i).assignment_id ,1);

6669: );
6670:
6671: pay_in_utils.set_location(g_debug,'Fetched element entries...',2);
6672: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6673: pay_in_utils.set_location(g_debug,'Asg ID' || g_ee_data_rec_upd(i).assignment_id ,1);
6674: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,1);
6675:
6676: OPEN c_asg_act_id(g_ee_data_rec_upd(i).assignment_id);
6677: FETCH c_asg_act_id INTO l_arch_asg_action_id;

Line 6674: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,1);

6670:
6671: pay_in_utils.set_location(g_debug,'Fetched element entries...',2);
6672: pay_in_utils.set_location(g_debug,'Fetching Archival Assignment Action ID...',2);
6673: pay_in_utils.set_location(g_debug,'Asg ID' || g_ee_data_rec_upd(i).assignment_id ,1);
6674: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id ,1);
6675:
6676: OPEN c_asg_act_id(g_ee_data_rec_upd(i).assignment_id);
6677: FETCH c_asg_act_id INTO l_arch_asg_action_id;
6678: CLOSE c_asg_act_id;

Line 6680: pay_in_utils.set_location(g_debug,'Archival Assignment Action ID is :'|| l_arch_asg_action_id ,2);

6676: OPEN c_asg_act_id(g_ee_data_rec_upd(i).assignment_id);
6677: FETCH c_asg_act_id INTO l_arch_asg_action_id;
6678: CLOSE c_asg_act_id;
6679:
6680: pay_in_utils.set_location(g_debug,'Archival Assignment Action ID is :'|| l_arch_asg_action_id ,2);
6681:
6682: OPEN c_deductee_number_24qc(tab_24q_ee_data.challan_number,g_ee_data_rec_upd(i).element_entry_id);
6683: FETCH c_deductee_number_24qc INTO k;
6684: CLOSE c_deductee_number_24qc;

Line 6690: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);

6686: OPEN c_deductee_number_24q(tab_24q_ee_data.challan_number,g_ee_data_rec_upd(i).element_entry_id);
6687: FETCH c_deductee_number_24q INTO j;
6688: CLOSE c_deductee_number_24q;
6689:
6690: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);
6691:
6692: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);
6693: -- if g_correction_mode = 'C5' and tab_24q_pe_data.pan_number IS VALID and
6694: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other

Line 6692: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);

6688: CLOSE c_deductee_number_24q;
6689:
6690: pay_in_utils.set_location(g_debug,'Previous Challan Deductee Record Number was:' || j, 3);
6691:
6692: pay_in_utils.set_location(g_debug,'New Challan Deductee Record Number is:' || k,4);
6693: -- if g_correction_mode = 'C5' and tab_24q_pe_data.pan_number IS VALID and
6694: -- tab_liv_pe_data.pan_number is also valid and not equal 2 each other
6695: -- then not only arhcive this assignment data, but also last organization PA data
6696:

Line 6707: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);

6703: OPEN c_c5_correction_type_details(g_ee_data_rec_upd(i).last_action_context_id);
6704: FETCH c_c5_correction_type_details INTO l_action_information_category,l_action_context_id;
6705: CLOSE c_c5_correction_type_details;
6706:
6707: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);
6708: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);
6709: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);
6710: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);
6711: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);

Line 6708: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);

6704: FETCH c_c5_correction_type_details INTO l_action_information_category,l_action_context_id;
6705: CLOSE c_c5_correction_type_details;
6706:
6707: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);
6708: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);
6709: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);
6710: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);
6711: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);
6712:

Line 6709: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);

6705: CLOSE c_c5_correction_type_details;
6706:
6707: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);
6708: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);
6709: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);
6710: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);
6711: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);
6712:
6713: l_c5_change := check_c5_change_only(g_ee_data_rec_upd(i).element_entry_id

Line 6710: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);

6706:
6707: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);
6708: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);
6709: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);
6710: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);
6711: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);
6712:
6713: l_c5_change := check_c5_change_only(g_ee_data_rec_upd(i).element_entry_id
6714: ,g_ee_data_rec_upd(i).last_action_context_id

Line 6711: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);

6707: pay_in_utils.set_location(g_debug,'C5 Change Found!!!',1);
6708: pay_in_utils.set_location(g_debug,'Checking C5 Change only',2);
6709: pay_in_utils.set_location(g_debug,'EE ID '|| g_ee_data_rec_upd(i).element_entry_id,1);
6710: pay_in_utils.set_location(g_debug,'Asg id '|| g_ee_data_rec_upd(i).assignment_id,2);
6711: pay_in_utils.set_location(g_debug,'Act cntxt id '|| g_ee_data_rec_upd(i).last_action_context_id,3);
6712:
6713: l_c5_change := check_c5_change_only(g_ee_data_rec_upd(i).element_entry_id
6714: ,g_ee_data_rec_upd(i).last_action_context_id
6715: ,g_ee_data_rec_upd(i).assignment_id

Line 6721: pay_in_utils.set_location(g_debug,'Only C5 Change!!!',3);

6717: IF (l_c5_change)
6718: THEN
6719: IF (g_correction_mode IN ('%','C5'))
6720: THEN
6721: pay_in_utils.set_location(g_debug,'Only C5 Change!!!',3);
6722: l_action_information_category := l_action_information_category || ':C5';
6723: END IF;
6724: ELSIF g_correction_mode = '%'
6725: THEN

Line 6726: pay_in_utils.set_location(g_debug,'C3 and C5 Change is there!',4);

6722: l_action_information_category := l_action_information_category || ':C5';
6723: END IF;
6724: ELSIF g_correction_mode = '%'
6725: THEN
6726: pay_in_utils.set_location(g_debug,'C3 and C5 Change is there!',4);
6727: l_action_information_category := l_action_information_category || ':C3:C5';
6728: ELSIF g_correction_mode = 'C5'
6729: THEN
6730: l_action_information_category := l_action_information_category || ':C5';

Line 6739: pay_in_utils.set_location(g_debug,'l_action_information_category is '|| l_action_information_category,1);

6735: l_action_information_category := 'C3';
6736: l_action_context_id := NULL;
6737: END IF;
6738:
6739: pay_in_utils.set_location(g_debug,'l_action_information_category is '|| l_action_information_category,1);
6740:
6741: IF (INSTR(l_action_information_category,'C5')<> 0)AND(g_correction_mode IN ('%','C5'))
6742: THEN
6743: pay_in_utils.set_location(g_debug,'Archiving C5 data for this deductee',1);

Line 6743: pay_in_utils.set_location(g_debug,'Archiving C5 data for this deductee',1);

6739: pay_in_utils.set_location(g_debug,'l_action_information_category is '|| l_action_information_category,1);
6740:
6741: IF (INSTR(l_action_information_category,'C5')<> 0)AND(g_correction_mode IN ('%','C5'))
6742: THEN
6743: pay_in_utils.set_location(g_debug,'Archiving C5 data for this deductee',1);
6744: l_category := SUBSTR(l_action_information_category
6745: ,1
6746: ,INSTR(l_action_information_category,'G')
6747: );

Line 6788: pay_in_utils.set_location(g_debug,'Archiving C3 data for this deductee',1);

6784: END IF;
6785:
6786: IF (INSTR(l_action_information_category,'C3')<> 0)AND(g_correction_mode IN ('%','C3'))
6787: THEN
6788: pay_in_utils.set_location(g_debug,'Archiving C3 data for this deductee',1);
6789: l_category := SUBSTR(l_action_information_category
6790: ,1
6791: ,INSTR(l_action_information_category,'G')
6792: );

Line 6832: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_deductee_data ', 5);

6828: );
6829: END IF;
6830: END IF;
6831: END LOOP;
6832: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_deductee_data ', 5);
6833: EXCEPTION
6834: WHEN OTHERS THEN
6835: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
6836: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

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

6831: END LOOP;
6832: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_deductee_data ', 5);
6833: EXCEPTION
6834: WHEN OTHERS THEN
6835: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
6836: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
6837: END archive_deductee_data;
6838:
6839: --------------------------------------------------------------------------

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

6832: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_deductee_data ', 5);
6833: EXCEPTION
6834: WHEN OTHERS THEN
6835: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
6836: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
6837: END archive_deductee_data;
6838:
6839: --------------------------------------------------------------------------
6840: -- --

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

6942: l_message VARCHAR2(250);
6943: BEGIN
6944: g_debug := hr_utility.debug_enabled;
6945: l_procedure := g_package ||'.archive_no_change_challan';
6946: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
6947: FOR c_rec IN c_populate_no_change_data
6948: LOOP
6949: l_flag := TRUE;
6950:

Line 6951: pay_in_utils.set_location(g_debug,'Checking in Added Challans ', 1);

6947: FOR c_rec IN c_populate_no_change_data
6948: LOOP
6949: l_flag := TRUE;
6950:
6951: pay_in_utils.set_location(g_debug,'Checking in Added Challans ', 1);
6952: -- Checking in Added Challans
6953: FOR i IN 1..g_count_challan_add - 1
6954: LOOP
6955: IF( (g_challan_data_add(i).transfer_voucher_number = c_rec.challan_number)

Line 6964: pay_in_utils.set_location(g_debug,'Checking in Updated Challans ', 1);

6960: l_flag := FALSE;
6961: END IF;
6962: END LOOP;
6963:
6964: pay_in_utils.set_location(g_debug,'Checking in Updated Challans ', 1);
6965: FOR i IN 1..g_count_challan_upd - 1
6966: LOOP
6967: IF ((g_challan_data_upd(i).transfer_voucher_number = c_rec.challan_number)
6968: OR

Line 6996: pay_in_utils.set_location(g_debug,'Checking Challan no change status',1);

6992: END LOOP;
6993:
6994: FOR i IN 1..g_count_challan_noc - 1
6995: LOOP
6996: pay_in_utils.set_location(g_debug,'Checking Challan no change status',1);
6997: l_flag_number := -1;
6998: l_flag_number := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_noc(i).transfer_voucher_number,NULL);
6999: IF (l_flag_number = 0 AND g_correction_mode <> 'C5')
7000: THEN

Line 7001: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival',2);

6997: l_flag_number := -1;
6998: l_flag_number := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_noc(i).transfer_voucher_number,NULL);
6999: IF (l_flag_number = 0 AND g_correction_mode <> 'C5')
7000: THEN
7001: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival',2);
7002: 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);
7003: OPEN c_latest_correction_details(g_challan_data_noc(i).transfer_voucher_number);
7004: FETCH c_latest_correction_details INTO l_pre_bank_branch_code
7005: ,l_pre_transfer_voucher_date

Line 7002: 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);

6998: l_flag_number := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_noc(i).transfer_voucher_number,NULL);
6999: IF (l_flag_number = 0 AND g_correction_mode <> 'C5')
7000: THEN
7001: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Correction Archival',2);
7002: 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);
7003: OPEN c_latest_correction_details(g_challan_data_noc(i).transfer_voucher_number);
7004: FETCH c_latest_correction_details INTO l_pre_bank_branch_code
7005: ,l_pre_transfer_voucher_date
7006: ,l_previous_total_amount

Line 7010: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);

7006: ,l_previous_total_amount
7007: ,l_challan_deductee_no
7008: ,l_action_information_id;
7009: CLOSE c_latest_correction_details;
7010: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7011: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7012: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7013: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7014: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);

Line 7011: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);

7007: ,l_challan_deductee_no
7008: ,l_action_information_id;
7009: CLOSE c_latest_correction_details;
7010: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7011: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7012: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7013: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7014: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7015: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);

Line 7012: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);

7008: ,l_action_information_id;
7009: CLOSE c_latest_correction_details;
7010: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7011: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7012: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7013: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7014: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7015: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7016:

Line 7013: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);

7009: CLOSE c_latest_correction_details;
7010: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7011: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7012: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7013: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7014: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7015: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7016:
7017:

Line 7014: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);

7010: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7011: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7012: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7013: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7014: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7015: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7016:
7017:
7018: IF (l_action_information_id IS NULL)

Line 7015: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);

7011: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7012: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7013: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7014: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7015: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7016:
7017:
7018: IF (l_action_information_id IS NULL)
7019: THEN

Line 7020: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Archival',2);

7016:
7017:
7018: IF (l_action_information_id IS NULL)
7019: THEN
7020: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Archival',2);
7021: 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);
7022: OPEN c_24q_details(g_challan_data_noc(i).transfer_voucher_number);
7023: FETCH c_24q_details INTO l_pre_bank_branch_code
7024: ,l_pre_transfer_voucher_date

Line 7021: 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);

7017:
7018: IF (l_action_information_id IS NULL)
7019: THEN
7020: pay_in_utils.set_location(g_debug,'Fetching details from 24Q Archival',2);
7021: 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);
7022: OPEN c_24q_details(g_challan_data_noc(i).transfer_voucher_number);
7023: FETCH c_24q_details INTO l_pre_bank_branch_code
7024: ,l_pre_transfer_voucher_date
7025: ,l_previous_total_amount

Line 7028: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);

7024: ,l_pre_transfer_voucher_date
7025: ,l_previous_total_amount
7026: ,l_challan_deductee_no;
7027: CLOSE c_24q_details;
7028: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7029: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7030: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7031: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7032: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);

Line 7029: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);

7025: ,l_previous_total_amount
7026: ,l_challan_deductee_no;
7027: CLOSE c_24q_details;
7028: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7029: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7030: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7031: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7032: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7033: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);

Line 7030: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);

7026: ,l_challan_deductee_no;
7027: CLOSE c_24q_details;
7028: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7029: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7030: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7031: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7032: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7033: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7034: END IF;

Line 7031: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);

7027: CLOSE c_24q_details;
7028: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7029: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7030: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7031: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7032: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7033: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7034: END IF;
7035: -- Now Archive these details

Line 7032: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);

7028: pay_in_utils.set_location(g_debug,'Fetched details from 24Q Correction Archival',2);
7029: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7030: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7031: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7032: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7033: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7034: END IF;
7035: -- Now Archive these details
7036: pay_action_information_api.create_action_information

Line 7033: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);

7029: pay_in_utils.set_location(g_debug,'l_pre_bank_branch_code '|| l_pre_bank_branch_code ,3);
7030: pay_in_utils.set_location(g_debug,'l_pre_transfer_voucher_date '|| l_pre_transfer_voucher_date ,3);
7031: pay_in_utils.set_location(g_debug,'l_previous_total_amount '|| l_previous_total_amount ,3);
7032: pay_in_utils.set_location(g_debug,'l_challan_deductee_no '|| l_challan_deductee_no ,3);
7033: pay_in_utils.set_location(g_debug,'l_action_information_id '|| l_action_information_id ,3);
7034: END IF;
7035: -- Now Archive these details
7036: pay_action_information_api.create_action_information
7037: (p_action_context_id => p_24qc_pay_act_id

Line 7066: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_no_change_challan ', 5);

7062: ,p_object_version_number => l_ovn
7063: );
7064: END IF;
7065: END LOOP;
7066: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_no_change_challan ', 5);
7067: EXCEPTION
7068: WHEN OTHERS THEN
7069: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7070: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

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

7065: END LOOP;
7066: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_no_change_challan ', 5);
7067: EXCEPTION
7068: WHEN OTHERS THEN
7069: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7070: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7071: END archive_no_change_challan;
7072: --------------------------------------------------------------------------
7073: -- --

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

7066: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_no_change_challan ', 5);
7067: EXCEPTION
7068: WHEN OTHERS THEN
7069: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7070: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7071: END archive_no_change_challan;
7072: --------------------------------------------------------------------------
7073: -- --
7074: -- Name : ARCHIVE_CHALLAN_DATA --

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

7150: l_message VARCHAR2(250);
7151: BEGIN
7152: g_debug := hr_utility.debug_enabled;
7153: l_procedure := g_package ||'.archive_challan_data';
7154: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7155: pay_in_utils.set_location(g_debug,'Fetching Challan Data ', 1);
7156: BEGIN
7157: SELECT MAX(TO_NUMBER(action_information25))
7158: INTO j

Line 7155: pay_in_utils.set_location(g_debug,'Fetching Challan Data ', 1);

7151: BEGIN
7152: g_debug := hr_utility.debug_enabled;
7153: l_procedure := g_package ||'.archive_challan_data';
7154: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7155: pay_in_utils.set_location(g_debug,'Fetching Challan Data ', 1);
7156: BEGIN
7157: SELECT MAX(TO_NUMBER(action_information25))
7158: INTO j
7159: FROM pay_action_information

Line 7175: pay_in_utils.set_location(g_debug,'Addition:Value of j is : '|| j ,1);

7171: AND org_information5 = 'A'
7172: AND org_information6 = 'O'
7173: );
7174:
7175: pay_in_utils.set_location(g_debug,'Addition:Value of j is : '|| j ,1);
7176: SELECT MAX(TO_NUMBER(action_information25))
7177: INTO k
7178: FROM pay_action_information
7179: WHERE action_information_category = 'IN_24QC_CHALLAN'

Line 7198: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);

7194: WHEN OTHERS THEN
7195: NULL;
7196: END;
7197:
7198: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);
7199: l_challan_record_number := GREATEST(NVL(j,0),NVL(k,0));
7200:
7201: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);
7202:

Line 7201: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);

7197:
7198: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);
7199: l_challan_record_number := GREATEST(NVL(j,0),NVL(k,0));
7200:
7201: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);
7202:
7203: --if C9 only new Challans would (addition/Insert) be archived
7204: IF (g_correction_mode IN ('C9','%'))
7205: THEN

Line 7208: pay_in_utils.set_location(g_debug,'Checking archived presence of this added challan',1);

7204: IF (g_correction_mode IN ('C9','%'))
7205: THEN
7206: FOR i IN 1.. g_count_challan_add - 1
7207: LOOP
7208: pay_in_utils.set_location(g_debug,'Checking archived presence of this added challan',1);
7209: l_flag := -1;
7210:
7211: l_flag := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_add(i).transfer_voucher_number,NULL);
7212: IF (l_flag = 0)

Line 7214: pay_in_utils.set_location(g_debug,'Archiving added challan ' || g_challan_data_add(i).transfer_voucher_number,1);

7210:
7211: l_flag := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_add(i).transfer_voucher_number,NULL);
7212: IF (l_flag = 0)
7213: THEN
7214: pay_in_utils.set_location(g_debug,'Archiving added challan ' || g_challan_data_add(i).transfer_voucher_number,1);
7215: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,1);
7216: OPEN c_challan_live_data(g_challan_data_add(i).transfer_voucher_number,g_challan_data_add(i).org_information_id);
7217: FETCH c_challan_live_data INTO l_transfer_voucher_number,
7218: l_transfer_voucher_date,

Line 7215: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,1);

7211: l_flag := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_add(i).transfer_voucher_number,NULL);
7212: IF (l_flag = 0)
7213: THEN
7214: pay_in_utils.set_location(g_debug,'Archiving added challan ' || g_challan_data_add(i).transfer_voucher_number,1);
7215: pay_in_utils.set_location(g_debug,'Fetching Live Data ' ,1);
7216: OPEN c_challan_live_data(g_challan_data_add(i).transfer_voucher_number,g_challan_data_add(i).org_information_id);
7217: FETCH c_challan_live_data INTO l_transfer_voucher_number,
7218: l_transfer_voucher_date,
7219: l_amount,

Line 7229: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,1);

7225: l_cheque_dd_num,
7226: l_book_entry,
7227: l_org_information_id;
7228: CLOSE c_challan_live_data;
7229: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,1);
7230:
7231: pay_in_utils.set_location(g_debug,'Archiving Data ' ,1);
7232: pay_action_information_api.create_action_information
7233: (p_action_context_id => p_24qc_pay_act_id

Line 7231: pay_in_utils.set_location(g_debug,'Archiving Data ' ,1);

7227: l_org_information_id;
7228: CLOSE c_challan_live_data;
7229: pay_in_utils.set_location(g_debug,'Fetched Live Data ' ,1);
7230:
7231: pay_in_utils.set_location(g_debug,'Archiving Data ' ,1);
7232: pay_action_information_api.create_action_information
7233: (p_action_context_id => p_24qc_pay_act_id
7234: ,p_action_context_type => 'PA'
7235: ,p_action_information_category => 'IN_24QC_CHALLAN'

Line 7264: pay_in_utils.set_location(g_debug,'Fetching Updated Challan Data ' ,1);

7260: END IF;
7261: END LOOP;
7262: END IF;
7263:
7264: pay_in_utils.set_location(g_debug,'Fetching Updated Challan Data ' ,1);
7265: --C2,C3 then archive only updated Challans
7266: --Later need to archive all those challans that have undergone no change under C3
7267: IF (g_correction_mode IN ('C2','C3','%'))
7268: THEN

Line 7271: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated challan',1);

7267: IF (g_correction_mode IN ('C2','C3','%'))
7268: THEN
7269: FOR i IN 1.. g_count_challan_upd - 1
7270: LOOP
7271: pay_in_utils.set_location(g_debug,'Checking archived presence of this updated challan',1);
7272: l_flag := -1;
7273:
7274: l_flag := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_upd(i).transfer_voucher_number,NULL);
7275: IF (l_flag = 0)

Line 7306: pay_in_utils.set_location(g_debug,'Updation:Value of j is : '|| j ,1);

7302: EXCEPTION
7303: WHEN OTHERS THEN
7304: NULL;
7305: END;
7306: pay_in_utils.set_location(g_debug,'Updation:Value of j is : '|| j ,1);
7307:
7308: BEGIN
7309: SELECT DISTINCT action_information25
7310: INTO k

Line 7334: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);

7330: EXCEPTION
7331: WHEN OTHERS THEN
7332: NULL;
7333: END;
7334: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);
7335:
7336: l_challan_record_number := GREATEST(j,k);
7337:
7338: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);

Line 7338: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);

7334: pay_in_utils.set_location(g_debug,'Value of k is : '|| k ,1);
7335:
7336: l_challan_record_number := GREATEST(j,k);
7337:
7338: pay_in_utils.set_location(g_debug,'Value of l_challan_record_number is : '|| l_challan_record_number ,1);
7339:
7340: OPEN c_challan_live_data(g_challan_data_upd(i).transfer_voucher_number,g_challan_data_upd(i).org_information_id);
7341: FETCH c_challan_live_data INTO l_transfer_voucher_number,
7342: l_transfer_voucher_date,

Line 7393: pay_in_utils.set_location(g_debug,'Starting Archival of no change challans ',1);

7389: END LOOP;
7390: END IF;
7391: IF (g_correction_mode IN ('C3','C5','%'))
7392: THEN
7393: pay_in_utils.set_location(g_debug,'Starting Archival of no change challans ',1);
7394: archive_no_change_challan(p_24qc_pay_act_id,p_24qa_pay_act_id);
7395: END IF;
7396: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_challan_data ',1);
7397: EXCEPTION

Line 7396: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_challan_data ',1);

7392: THEN
7393: pay_in_utils.set_location(g_debug,'Starting Archival of no change challans ',1);
7394: archive_no_change_challan(p_24qc_pay_act_id,p_24qa_pay_act_id);
7395: END IF;
7396: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_challan_data ',1);
7397: EXCEPTION
7398: WHEN OTHERS THEN
7399: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7400: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

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

7395: END IF;
7396: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_challan_data ',1);
7397: EXCEPTION
7398: WHEN OTHERS THEN
7399: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7400: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7401: END archive_challan_data;
7402:
7403:

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

7396: pay_in_utils.set_location(g_debug,'Leaving '|| g_package||'.archive_challan_data ',1);
7397: EXCEPTION
7398: WHEN OTHERS THEN
7399: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7400: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7401: END archive_challan_data;
7402:
7403:
7404: --------------------------------------------------------------------------

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

7448: l_message VARCHAR2(250);
7449: BEGIN
7450: g_debug := hr_utility.debug_enabled;
7451: l_procedure := g_package ||'.archive_cancellation_data';
7452: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7453: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7454: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7455: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7456: pay_in_utils.set_location(g_debug,'Program parameters ',5);

Line 7453: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);

7449: BEGIN
7450: g_debug := hr_utility.debug_enabled;
7451: l_procedure := g_package ||'.archive_cancellation_data';
7452: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7453: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7454: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7455: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7456: pay_in_utils.set_location(g_debug,'Program parameters ',5);
7457: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);

Line 7454: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);

7450: g_debug := hr_utility.debug_enabled;
7451: l_procedure := g_package ||'.archive_cancellation_data';
7452: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7453: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7454: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7455: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7456: pay_in_utils.set_location(g_debug,'Program parameters ',5);
7457: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);
7458:

Line 7455: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);

7451: l_procedure := g_package ||'.archive_cancellation_data';
7452: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7453: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7454: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7455: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7456: pay_in_utils.set_location(g_debug,'Program parameters ',5);
7457: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);
7458:
7459: OPEN c_get_act_ctxt_id;

Line 7456: pay_in_utils.set_location(g_debug,'Program parameters ',5);

7452: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7453: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7454: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7455: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7456: pay_in_utils.set_location(g_debug,'Program parameters ',5);
7457: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);
7458:
7459: OPEN c_get_act_ctxt_id;
7460: FETCH c_get_act_ctxt_id INTO l_action_context_id;

Line 7457: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);

7453: pay_in_utils.set_location(g_debug,'In this procedure archive only Name ',2);
7454: pay_in_utils.set_location(g_debug,'and Deductor type and that too as per ',3);
7455: pay_in_utils.set_location(g_debug,'the receipt number passed in concurrent ',4);
7456: pay_in_utils.set_location(g_debug,'Program parameters ',5);
7457: pay_in_utils.set_location(g_debug,'Fetching Action Context ID ',5);
7458:
7459: OPEN c_get_act_ctxt_id;
7460: FETCH c_get_act_ctxt_id INTO l_action_context_id;
7461: CLOSE c_get_act_ctxt_id;

Line 7469: pay_in_utils.set_location(g_debug,'Action Context ID is: ' || l_action_context_id, 6);

7465: ,l_legal_name
7466: ,l_deductor_type;
7467: CLOSE c_get_last_stmt_details;
7468:
7469: pay_in_utils.set_location(g_debug,'Action Context ID is: ' || l_action_context_id, 6);
7470: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);
7471: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);
7472: pay_in_utils.set_location(g_debug,'Deductor Type is : ' || l_deductor_type,9);
7473:

Line 7470: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);

7466: ,l_deductor_type;
7467: CLOSE c_get_last_stmt_details;
7468:
7469: pay_in_utils.set_location(g_debug,'Action Context ID is: ' || l_action_context_id, 6);
7470: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);
7471: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);
7472: pay_in_utils.set_location(g_debug,'Deductor Type is : ' || l_deductor_type,9);
7473:
7474: pay_in_utils.set_location(g_debug,'Archiving Data ', 9);

Line 7471: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);

7467: CLOSE c_get_last_stmt_details;
7468:
7469: pay_in_utils.set_location(g_debug,'Action Context ID is: ' || l_action_context_id, 6);
7470: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);
7471: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);
7472: pay_in_utils.set_location(g_debug,'Deductor Type is : ' || l_deductor_type,9);
7473:
7474: pay_in_utils.set_location(g_debug,'Archiving Data ', 9);
7475:

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

7468:
7469: pay_in_utils.set_location(g_debug,'Action Context ID is: ' || l_action_context_id, 6);
7470: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);
7471: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);
7472: pay_in_utils.set_location(g_debug,'Deductor Type is : ' || l_deductor_type,9);
7473:
7474: pay_in_utils.set_location(g_debug,'Archiving Data ', 9);
7475:
7476: pay_action_information_api.create_action_information

Line 7474: pay_in_utils.set_location(g_debug,'Archiving Data ', 9);

7470: pay_in_utils.set_location(g_debug,'TAN Number is : ' || l_tan_number,7);
7471: pay_in_utils.set_location(g_debug,'Legal Name is : ' || l_legal_name,8);
7472: pay_in_utils.set_location(g_debug,'Deductor Type is : ' || l_deductor_type,9);
7473:
7474: pay_in_utils.set_location(g_debug,'Archiving Data ', 9);
7475:
7476: pay_action_information_api.create_action_information
7477: (p_action_context_id => p_payroll_action_id
7478: ,p_action_context_type => 'PA'

Line 7508: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_cancellation_data', 1);

7504: ,p_action_information_id => l_action_info_id
7505: ,p_object_version_number => l_ovn
7506: );
7507:
7508: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_cancellation_data', 1);
7509: EXCEPTION
7510: WHEN OTHERS THEN
7511: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7512: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

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

7507:
7508: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_cancellation_data', 1);
7509: EXCEPTION
7510: WHEN OTHERS THEN
7511: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7512: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7513: END archive_cancellation_data;
7514:
7515: --------------------------------------------------------------------------

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

7508: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_cancellation_data', 1);
7509: EXCEPTION
7510: WHEN OTHERS THEN
7511: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7512: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7513: END archive_cancellation_data;
7514:
7515: --------------------------------------------------------------------------
7516: -- --

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

7588: l_message VARCHAR2(250);
7589: BEGIN
7590: g_debug := hr_utility.debug_enabled;
7591: l_procedure := g_package ||'.archive_organization_data';
7592: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7593: pay_in_utils.set_location(g_debug,'Fetching Organization Data ', 1);
7594: get_org_details(g_gre_id,
7595: l_tan_number,
7596: l_deductor_type,

Line 7593: pay_in_utils.set_location(g_debug,'Fetching Organization Data ', 1);

7589: BEGIN
7590: g_debug := hr_utility.debug_enabled;
7591: l_procedure := g_package ||'.archive_organization_data';
7592: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
7593: pay_in_utils.set_location(g_debug,'Fetching Organization Data ', 1);
7594: get_org_details(g_gre_id,
7595: l_tan_number,
7596: l_deductor_type,
7597: l_branch_or_division,

Line 7609: pay_in_utils.set_location(g_debug,'Received Organization Data ', 1);

7605: l_rep_work_phone,
7606: l_rep_std_code
7607: );
7608:
7609: pay_in_utils.set_location(g_debug,'Received Organization Data ', 1);
7610:
7611: l_previous_org_legal_name := NULL;
7612: l_previous_deductor_type := NULL;
7613: l_batch_upd_indicator := 0;

Line 7617: pay_in_utils.set_location(g_debug,'Archiving ORG data',1);

7613: l_batch_upd_indicator := 0;
7614:
7615: IF (g_count_org = 1)
7616: THEN
7617: pay_in_utils.set_location(g_debug,'Archiving ORG data',1);
7618: SELECT DECODE(DECODE(g_24qc_empr_change,'N',DECODE(g_24qc_rep_adr_chg,'Y','Y','N'),'Y'),'Y',1,0)
7619: INTO l_batch_upd_indicator
7620: FROM dual;
7621:

Line 7622: pay_in_utils.set_location(g_debug,'Checking Last NIL Challan Indicator details ',6);

7618: SELECT DECODE(DECODE(g_24qc_empr_change,'N',DECODE(g_24qc_rep_adr_chg,'Y','Y','N'),'Y'),'Y',1,0)
7619: INTO l_batch_upd_indicator
7620: FROM dual;
7621:
7622: pay_in_utils.set_location(g_debug,'Checking Last NIL Challan Indicator details ',6);
7623: OPEN c_24qa_nil_challan_indicator(l_tan_number);
7624: FETCH c_24qa_nil_challan_indicator INTO l_old_nil_challan;
7625: CLOSE c_24qa_nil_challan_indicator;
7626:

Line 7664: pay_in_utils.set_location(g_debug,'Leaving archive_organization_data NC',9);

7660: ,p_action_information26 => l_new_nil_challan
7661: ,p_action_information_id => l_action_info_id
7662: ,p_object_version_number => l_ovn
7663: );
7664: pay_in_utils.set_location(g_debug,'Leaving archive_organization_data NC',9);
7665:
7666: RETURN;
7667: END IF;
7668:

Line 7669: pay_in_utils.set_location(g_debug,'Value of g_count_org is '|| g_count_org ,2);

7665:
7666: RETURN;
7667: END IF;
7668:
7669: pay_in_utils.set_location(g_debug,'Value of g_count_org is '|| g_count_org ,2);
7670:
7671: FOR i IN 1.. g_count_org - 1
7672: LOOP
7673: IF (g_org_data(i).gre_id = g_gre_id)

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

7671: FOR i IN 1.. g_count_org - 1
7672: LOOP
7673: IF (g_org_data(i).gre_id = g_gre_id)
7674: THEN
7675: pay_in_utils.set_location(g_debug,'Fetching previous statement details ',3);
7676: OPEN c_prev_stmt_details(l_tan_number,g_org_data(i).last_action_context_id);
7677: FETCH c_prev_stmt_details INTO l_previous_org_legal_name
7678: ,l_previous_deductor_type
7679: ,l_batch_upd_indicator

Line 7682: pay_in_utils.set_location(g_debug,'Fetched previous statement details ',3);

7678: ,l_previous_deductor_type
7679: ,l_batch_upd_indicator
7680: ,l_dummy;
7681: CLOSE c_prev_stmt_details;
7682: pay_in_utils.set_location(g_debug,'Fetched previous statement details ',3);
7683:
7684: pay_in_utils.set_location(g_debug,'Checking New NIL Challan Indicator details ',4);
7685: IF ((g_count_challan_add > 1) OR (g_count_challan_upd > 1) OR (g_count_challan_noc > 1))
7686: THEN

Line 7684: pay_in_utils.set_location(g_debug,'Checking New NIL Challan Indicator details ',4);

7680: ,l_dummy;
7681: CLOSE c_prev_stmt_details;
7682: pay_in_utils.set_location(g_debug,'Fetched previous statement details ',3);
7683:
7684: pay_in_utils.set_location(g_debug,'Checking New NIL Challan Indicator details ',4);
7685: IF ((g_count_challan_add > 1) OR (g_count_challan_upd > 1) OR (g_count_challan_noc > 1))
7686: THEN
7687: l_new_nil_challan := 'N';
7688: ELSE

Line 7691: pay_in_utils.set_location(g_debug,'New NIL Challan Indicator is '|| l_new_nil_challan,5);

7687: l_new_nil_challan := 'N';
7688: ELSE
7689: l_new_nil_challan := 'Y';
7690: END IF;
7691: pay_in_utils.set_location(g_debug,'New NIL Challan Indicator is '|| l_new_nil_challan,5);
7692: END IF;
7693: END LOOP;
7694:
7695: pay_in_utils.set_location(g_debug,'Checking Last NIL Challan Indicator details ',6);

Line 7695: pay_in_utils.set_location(g_debug,'Checking Last NIL Challan Indicator details ',6);

7691: pay_in_utils.set_location(g_debug,'New NIL Challan Indicator is '|| l_new_nil_challan,5);
7692: END IF;
7693: END LOOP;
7694:
7695: pay_in_utils.set_location(g_debug,'Checking Last NIL Challan Indicator details ',6);
7696: OPEN c_24qa_nil_challan_indicator(l_tan_number);
7697: FETCH c_24qa_nil_challan_indicator INTO l_old_nil_challan;
7698: CLOSE c_24qa_nil_challan_indicator;
7699:

Line 7700: pay_in_utils.set_location(g_debug,'Archiving Data ',7);

7696: OPEN c_24qa_nil_challan_indicator(l_tan_number);
7697: FETCH c_24qa_nil_challan_indicator INTO l_old_nil_challan;
7698: CLOSE c_24qa_nil_challan_indicator;
7699:
7700: pay_in_utils.set_location(g_debug,'Archiving Data ',7);
7701: pay_in_utils.set_location(g_debug,'Address Change is '|| g_24qc_empr_change , 2);
7702:
7703: pay_action_information_api.create_action_information
7704: (p_action_context_id => p_24qc_pay_act_id

Line 7701: pay_in_utils.set_location(g_debug,'Address Change is '|| g_24qc_empr_change , 2);

7697: FETCH c_24qa_nil_challan_indicator INTO l_old_nil_challan;
7698: CLOSE c_24qa_nil_challan_indicator;
7699:
7700: pay_in_utils.set_location(g_debug,'Archiving Data ',7);
7701: pay_in_utils.set_location(g_debug,'Address Change is '|| g_24qc_empr_change , 2);
7702:
7703: pay_action_information_api.create_action_information
7704: (p_action_context_id => p_24qc_pay_act_id
7705: ,p_action_context_type => 'PA'

Line 7733: pay_in_utils.set_location(g_debug,'Leaving:'|| g_package||'.archive_organization_data',1);

7729: ,p_action_information26 => l_new_nil_challan
7730: ,p_action_information_id => l_action_info_id
7731: ,p_object_version_number => l_ovn
7732: );
7733: pay_in_utils.set_location(g_debug,'Leaving:'|| g_package||'.archive_organization_data',1);
7734: EXCEPTION
7735: WHEN OTHERS THEN
7736: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7737: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

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

7732: );
7733: pay_in_utils.set_location(g_debug,'Leaving:'|| g_package||'.archive_organization_data',1);
7734: EXCEPTION
7735: WHEN OTHERS THEN
7736: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7737: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7738: END archive_organization_data;
7739: --------------------------------------------------------------------------
7740: -- --

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

7733: pay_in_utils.set_location(g_debug,'Leaving:'|| g_package||'.archive_organization_data',1);
7734: EXCEPTION
7735: WHEN OTHERS THEN
7736: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7737: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7738: END archive_organization_data;
7739: --------------------------------------------------------------------------
7740: -- --
7741: -- Name : CHECK_GRE --

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

7775: l_procedure VARCHAR2(250);
7776: l_message VARCHAR2(250);
7777: BEGIN
7778: l_procedure := g_package || '.check_gre';
7779: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
7780: pay_in_utils.set_location(g_debug,'Checking Asg Action ID: '|| p_assignment_act_id,20);
7781:
7782: l_flag := -1;
7783:

Line 7780: pay_in_utils.set_location(g_debug,'Checking Asg Action ID: '|| p_assignment_act_id,20);

7776: l_message VARCHAR2(250);
7777: BEGIN
7778: l_procedure := g_package || '.check_gre';
7779: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
7780: pay_in_utils.set_location(g_debug,'Checking Asg Action ID: '|| p_assignment_act_id,20);
7781:
7782: l_flag := -1;
7783:
7784: OPEN c_24q_per_check;

Line 7788: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,25);

7784: OPEN c_24q_per_check;
7785: FETCH c_24q_per_check INTO l_flag;
7786: CLOSE c_24q_per_check;
7787:
7788: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,25);
7789:
7790: IF (l_flag = -1)
7791: THEN
7792: pay_in_utils.set_location(g_debug,'Checking in 24Q Correction',30);

Line 7792: pay_in_utils.set_location(g_debug,'Checking in 24Q Correction',30);

7788: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,25);
7789:
7790: IF (l_flag = -1)
7791: THEN
7792: pay_in_utils.set_location(g_debug,'Checking in 24Q Correction',30);
7793: OPEN c_24qc_ded_check;
7794: FETCH c_24qc_ded_check INTO l_flag;
7795: CLOSE c_24qc_ded_check;
7796: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,40);

Line 7796: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,40);

7792: pay_in_utils.set_location(g_debug,'Checking in 24Q Correction',30);
7793: OPEN c_24qc_ded_check;
7794: FETCH c_24qc_ded_check INTO l_flag;
7795: CLOSE c_24qc_ded_check;
7796: pay_in_utils.set_location(g_debug,'Value of l_flag:'|| l_flag,40);
7797: END IF;
7798:
7799: IF (l_flag = 1)
7800: THEN

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

7803: RETURN FALSE;
7804: END IF;
7805: EXCEPTION
7806: WHEN OTHERS THEN
7807: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7808: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7809: END check_gre;
7810: --------------------------------------------------------------------------
7811: -- --

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

7804: END IF;
7805: EXCEPTION
7806: WHEN OTHERS THEN
7807: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
7808: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
7809: END check_gre;
7810: --------------------------------------------------------------------------
7811: -- --
7812: -- Name : GENERATE_LOCKING --

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

7878: l_24qc_prv_pay_act_id NUMBER;
7879: --
7880: BEGIN
7881: l_procedure := g_package || '.generate_locking';
7882: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
7883:
7884: FOR c_rec IN c_assignment_action_id(p_locked_pay_act_id_q)
7885: LOOP
7886: IF (check_gre(c_rec.assignment_action_id))

Line 7898: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);

7894: SELECT pay_assignment_actions_s.NEXTVAL
7895: INTO l_action_id
7896: FROM dual;
7897:
7898: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
7899: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
7900: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
7901:
7902: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions ', 14);

Line 7899: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);

7895: INTO l_action_id
7896: FROM dual;
7897:
7898: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
7899: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
7900: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
7901:
7902: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions ', 14);
7903: hr_nonrun_asact.insact(lockingactid => l_action_id

Line 7900: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);

7896: FROM dual;
7897:
7898: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
7899: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
7900: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
7901:
7902: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions ', 14);
7903: hr_nonrun_asact.insact(lockingactid => l_action_id
7904: ,assignid => c_rec.assignment_id

Line 7902: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions ', 14);

7898: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
7899: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
7900: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
7901:
7902: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions ', 14);
7903: hr_nonrun_asact.insact(lockingactid => l_action_id
7904: ,assignid => c_rec.assignment_id
7905: ,pactid => p_locking_pay_act_id
7906: ,chunk => p_chunk

Line 7908: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);

7904: ,assignid => c_rec.assignment_id
7905: ,pactid => p_locking_pay_act_id
7906: ,chunk => p_chunk
7907: );
7908: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
7909: hr_nonrun_asact.insint(lockingactid => l_action_id
7910: ,lockedactid => c_rec.assignment_action_id
7911: );
7912: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

Line 7912: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

7908: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
7909: hr_nonrun_asact.insint(lockingactid => l_action_id
7910: ,lockedactid => c_rec.assignment_action_id
7911: );
7912: pay_in_utils.set_location(g_debug,'Locking enforced', 16);
7913: END IF;
7914: END IF;
7915: END LOOP;
7916:

Line 7917: pay_in_utils.set_location(g_debug,'Now starting locking Latest 24Q Correction Assignments', 16);

7913: END IF;
7914: END IF;
7915: END LOOP;
7916:
7917: pay_in_utils.set_location(g_debug,'Now starting locking Latest 24Q Correction Assignments', 16);
7918: FOR c_rec IN c_assignment_action_id(p_locked_pay_act_id_qc)
7919: LOOP
7920: IF (check_gre(c_rec.assignment_action_id))
7921: THEN

Line 7926: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);

7922: l_action_id := NULL;
7923: OPEN c_chk_asg_action(c_rec.assignment_id,p_locking_pay_act_id);
7924: FETCH c_chk_asg_action INTO l_action_id;
7925: CLOSE c_chk_asg_action;
7926: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
7927:
7928: IF (l_action_id IS NULL)
7929: THEN
7930: SELECT pay_assignment_actions_s.NEXTVAL

Line 7934: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions as it was null', 14);

7930: SELECT pay_assignment_actions_s.NEXTVAL
7931: INTO l_action_id
7932: FROM dual;
7933:
7934: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions as it was null', 14);
7935: hr_nonrun_asact.insact(lockingactid => l_action_id
7936: ,assignid => c_rec.assignment_id
7937: ,pactid => p_locking_pay_act_id
7938: ,chunk => p_chunk

Line 7942: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);

7938: ,chunk => p_chunk
7939: );
7940: END IF;
7941:
7942: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
7943: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
7944:
7945: l_flag := NULL;
7946: OPEN c_check_action(l_action_id,c_rec.assignment_action_id);

Line 7943: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);

7939: );
7940: END IF;
7941:
7942: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
7943: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
7944:
7945: l_flag := NULL;
7946: OPEN c_check_action(l_action_id,c_rec.assignment_action_id);
7947: FETCH c_check_action INTO l_flag;

Line 7952: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);

7948: CLOSE c_check_action;
7949:
7950: IF (l_flag IS NULL)
7951: THEN
7952: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
7953: hr_nonrun_asact.insint(lockingactid => l_action_id
7954: ,lockedactid => c_rec.assignment_action_id
7955: );
7956: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

Line 7956: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

7952: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
7953: hr_nonrun_asact.insint(lockingactid => l_action_id
7954: ,lockedactid => c_rec.assignment_action_id
7955: );
7956: pay_in_utils.set_location(g_debug,'Locking enforced', 16);
7957: END IF;
7958: END IF;
7959: END LOOP;
7960:

Line 7965: pay_in_utils.set_location(g_debug,'Payroll Action ID of previous 24Q Correction archival is '||l_24qc_prv_pay_act_id,1);

7961: OPEN c_select_prev_24qc;
7962: FETCH c_select_prev_24qc INTO l_24qc_prv_pay_act_id;
7963: CLOSE c_select_prev_24qc;
7964:
7965: pay_in_utils.set_location(g_debug,'Payroll Action ID of previous 24Q Correction archival is '||l_24qc_prv_pay_act_id,1);
7966:
7967: IF (l_24qc_prv_pay_act_id IS NOT NULL)
7968: THEN
7969: pay_in_utils.set_location(g_debug,'Now starting locking Previous 24Q Correction Assignments', 16);

Line 7969: pay_in_utils.set_location(g_debug,'Now starting locking Previous 24Q Correction Assignments', 16);

7965: pay_in_utils.set_location(g_debug,'Payroll Action ID of previous 24Q Correction archival is '||l_24qc_prv_pay_act_id,1);
7966:
7967: IF (l_24qc_prv_pay_act_id IS NOT NULL)
7968: THEN
7969: pay_in_utils.set_location(g_debug,'Now starting locking Previous 24Q Correction Assignments', 16);
7970: FOR c_rec IN c_assignment_action_id(l_24qc_prv_pay_act_id)
7971: LOOP
7972: IF (check_gre(c_rec.assignment_action_id))
7973: THEN

Line 7978: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);

7974: l_action_id := NULL;
7975: OPEN c_chk_asg_action(c_rec.assignment_id,p_locking_pay_act_id);
7976: FETCH c_chk_asg_action INTO l_action_id;
7977: CLOSE c_chk_asg_action;
7978: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 11);
7979:
7980: IF (l_action_id IS NULL)
7981: THEN
7982: SELECT pay_assignment_actions_s.NEXTVAL

Line 7986: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions as it was null', 14);

7982: SELECT pay_assignment_actions_s.NEXTVAL
7983: INTO l_action_id
7984: FROM dual;
7985:
7986: pay_in_utils.set_location(g_debug,'Inserting Assignment Actions as it was null', 14);
7987: hr_nonrun_asact.insact(lockingactid => l_action_id
7988: ,assignid => c_rec.assignment_id
7989: ,pactid => p_locking_pay_act_id
7990: ,chunk => p_chunk

Line 7994: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);

7990: ,chunk => p_chunk
7991: );
7992: END IF;
7993:
7994: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
7995: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
7996:
7997: l_flag := NULL;
7998: OPEN c_check_action(l_action_id,c_rec.assignment_action_id);

Line 7995: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);

7991: );
7992: END IF;
7993:
7994: pay_in_utils.set_location(g_debug,'Value of l_locked_action_id is '|| c_rec.assignment_action_id, 12);
7995: pay_in_utils.set_location(g_debug,'Value of assignment_id is '|| c_rec.assignment_id, 13);
7996:
7997: l_flag := NULL;
7998: OPEN c_check_action(l_action_id,c_rec.assignment_action_id);
7999: FETCH c_check_action INTO l_flag;

Line 8004: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);

8000: CLOSE c_check_action;
8001:
8002: IF (l_flag IS NULL)
8003: THEN
8004: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
8005: hr_nonrun_asact.insint(lockingactid => l_action_id
8006: ,lockedactid => c_rec.assignment_action_id
8007: );
8008: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

Line 8008: pay_in_utils.set_location(g_debug,'Locking enforced', 16);

8004: pay_in_utils.set_location(g_debug,'Enforcing Locking ', 15);
8005: hr_nonrun_asact.insint(lockingactid => l_action_id
8006: ,lockedactid => c_rec.assignment_action_id
8007: );
8008: pay_in_utils.set_location(g_debug,'Locking enforced', 16);
8009: END IF;
8010: END IF;
8011: END LOOP;
8012: END IF;

Line 8013: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,10);

8009: END IF;
8010: END IF;
8011: END LOOP;
8012: END IF;
8013: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,10);
8014: EXCEPTION
8015: WHEN OTHERS THEN
8016: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8017: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

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

8012: END IF;
8013: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,10);
8014: EXCEPTION
8015: WHEN OTHERS THEN
8016: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8017: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8018: END generate_locking;
8019:
8020: --------------------------------------------------------------------------

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

8013: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,10);
8014: EXCEPTION
8015: WHEN OTHERS THEN
8016: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8017: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8018: END generate_locking;
8019:
8020: --------------------------------------------------------------------------
8021: -- --

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

8100: l_message VARCHAR2(250);
8101: BEGIN
8102: g_debug := hr_utility.debug_enabled;
8103: l_procedure := g_package ||'.archive_c5_data_only';
8104: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
8105:
8106: pay_in_utils.set_location(g_debug,'Checking Challan Data', 1);
8107: FOR c_rec IN c_select_deductee
8108: LOOP

Line 8106: pay_in_utils.set_location(g_debug,'Checking Challan Data', 1);

8102: g_debug := hr_utility.debug_enabled;
8103: l_procedure := g_package ||'.archive_c5_data_only';
8104: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
8105:
8106: pay_in_utils.set_location(g_debug,'Checking Challan Data', 1);
8107: FOR c_rec IN c_select_deductee
8108: LOOP
8109: OPEN c_challan_sequence(c_rec.challan);
8110: FETCH c_challan_sequence INTO l_challan_deductee_no;

Line 8113: pay_in_utils.set_location(g_debug,'Challan No is :'|| c_rec.challan, 1);

8109: OPEN c_challan_sequence(c_rec.challan);
8110: FETCH c_challan_sequence INTO l_challan_deductee_no;
8111: CLOSE c_challan_sequence;
8112:
8113: pay_in_utils.set_location(g_debug,'Challan No is :'|| c_rec.challan, 1);
8114: pay_in_utils.set_location(g_debug,'Challan Seq No is :'|| l_challan_deductee_no, 1);
8115: pay_in_utils.set_location(g_debug,'Checking Challan Data in updated Data', 1);
8116: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);
8117:

Line 8114: pay_in_utils.set_location(g_debug,'Challan Seq No is :'|| l_challan_deductee_no, 1);

8110: FETCH c_challan_sequence INTO l_challan_deductee_no;
8111: CLOSE c_challan_sequence;
8112:
8113: pay_in_utils.set_location(g_debug,'Challan No is :'|| c_rec.challan, 1);
8114: pay_in_utils.set_location(g_debug,'Challan Seq No is :'|| l_challan_deductee_no, 1);
8115: pay_in_utils.set_location(g_debug,'Checking Challan Data in updated Data', 1);
8116: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);
8117:
8118: FOR i IN 1..g_count_challan_upd - 1

Line 8115: pay_in_utils.set_location(g_debug,'Checking Challan Data in updated Data', 1);

8111: CLOSE c_challan_sequence;
8112:
8113: pay_in_utils.set_location(g_debug,'Challan No is :'|| c_rec.challan, 1);
8114: pay_in_utils.set_location(g_debug,'Challan Seq No is :'|| l_challan_deductee_no, 1);
8115: pay_in_utils.set_location(g_debug,'Checking Challan Data in updated Data', 1);
8116: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);
8117:
8118: FOR i IN 1..g_count_challan_upd - 1
8119: LOOP

Line 8116: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);

8112:
8113: pay_in_utils.set_location(g_debug,'Challan No is :'|| c_rec.challan, 1);
8114: pay_in_utils.set_location(g_debug,'Challan Seq No is :'|| l_challan_deductee_no, 1);
8115: pay_in_utils.set_location(g_debug,'Checking Challan Data in updated Data', 1);
8116: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);
8117:
8118: FOR i IN 1..g_count_challan_upd - 1
8119: LOOP
8120: pay_in_utils.set_location(g_debug,'Found Challan in updated Data', 1);

Line 8120: pay_in_utils.set_location(g_debug,'Found Challan in updated Data', 1);

8116: pay_in_utils.set_location(g_debug,'Value of g_count_challan_upd C5 is '|| g_count_challan_upd,2);
8117:
8118: FOR i IN 1..g_count_challan_upd - 1
8119: LOOP
8120: pay_in_utils.set_location(g_debug,'Found Challan in updated Data', 1);
8121: l_flag_number := -1;
8122: l_flag_number := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_upd(i).transfer_voucher_number,NULL);
8123: IF((g_challan_data_upd(i).transfer_voucher_number = c_rec.challan)AND(l_flag_number = 0))
8124: THEN

Line 8149: pay_in_utils.set_location(g_debug,'Checking Challan Data in No Change Data', 1);

8145: );
8146: END IF;
8147: END LOOP;
8148:
8149: pay_in_utils.set_location(g_debug,'Checking Challan Data in No Change Data', 1);
8150: pay_in_utils.set_location(g_debug,'Value of g_count_challan_noc C5 is '|| g_count_challan_noc,2);
8151: FOR i IN 1..g_count_challan_noc - 1
8152: LOOP
8153: pay_in_utils.set_location(g_debug,'Found Challan in no change Data', 1);

Line 8150: pay_in_utils.set_location(g_debug,'Value of g_count_challan_noc C5 is '|| g_count_challan_noc,2);

8146: END IF;
8147: END LOOP;
8148:
8149: pay_in_utils.set_location(g_debug,'Checking Challan Data in No Change Data', 1);
8150: pay_in_utils.set_location(g_debug,'Value of g_count_challan_noc C5 is '|| g_count_challan_noc,2);
8151: FOR i IN 1..g_count_challan_noc - 1
8152: LOOP
8153: pay_in_utils.set_location(g_debug,'Found Challan in no change Data', 1);
8154: l_flag_number := -1;

Line 8153: pay_in_utils.set_location(g_debug,'Found Challan in no change Data', 1);

8149: pay_in_utils.set_location(g_debug,'Checking Challan Data in No Change Data', 1);
8150: pay_in_utils.set_location(g_debug,'Value of g_count_challan_noc C5 is '|| g_count_challan_noc,2);
8151: FOR i IN 1..g_count_challan_noc - 1
8152: LOOP
8153: pay_in_utils.set_location(g_debug,'Found Challan in no change Data', 1);
8154: l_flag_number := -1;
8155: l_flag_number := check_archival_status(NULL,'IN_24QC_CHALLAN',g_challan_data_noc(i).transfer_voucher_number,NULL);
8156: IF((g_challan_data_noc(i).transfer_voucher_number = c_rec.challan)AND(l_flag_number =0))
8157: THEN

Line 8183: pay_in_utils.set_location(g_debug,'Checking Organization Data', 1);

8179: END IF;
8180: END LOOP;
8181: END LOOP;
8182:
8183: pay_in_utils.set_location(g_debug,'Checking Organization Data', 1);
8184: l_flag_number := -1;
8185: l_flag_number := check_archival_status(NULL,'IN_24QC_ORG',NULL,NULL);
8186: IF (l_flag_number <> 0)
8187: THEN

Line 8190: pay_in_utils.set_location(g_debug,'Value of g_count_org is ' || g_count_org,2);

8186: IF (l_flag_number <> 0)
8187: THEN
8188: RETURN;
8189: END IF;
8190: pay_in_utils.set_location(g_debug,'Value of g_count_org is ' || g_count_org,2);
8191:
8192: IF (g_count_org = 1)
8193: THEN
8194: pay_in_utils.set_location(g_debug,'Fetching Live Organization Data ', 1);

Line 8194: pay_in_utils.set_location(g_debug,'Fetching Live Organization Data ', 1);

8190: pay_in_utils.set_location(g_debug,'Value of g_count_org is ' || g_count_org,2);
8191:
8192: IF (g_count_org = 1)
8193: THEN
8194: pay_in_utils.set_location(g_debug,'Fetching Live Organization Data ', 1);
8195: get_org_details(g_gre_id,
8196: l_tan_number,
8197: l_deductor_type,
8198: l_branch_or_division,

Line 8218: pay_in_utils.set_location(g_debug,'Archiving Org Data for C5 ', 9);

8214: l_deductor_type := c_rec.deductor_type;
8215: END LOOP;
8216: END IF;
8217:
8218: pay_in_utils.set_location(g_debug,'Archiving Org Data for C5 ', 9);
8219: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id, 10);
8220: l_action_info_id := NULL;
8221: l_ovn := NULL;
8222:

Line 8219: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id, 10);

8215: END LOOP;
8216: END IF;
8217:
8218: pay_in_utils.set_location(g_debug,'Archiving Org Data for C5 ', 9);
8219: pay_in_utils.set_location(g_debug,'p_payroll_action_id is '|| p_payroll_action_id, 10);
8220: l_action_info_id := NULL;
8221: l_ovn := NULL;
8222:
8223: pay_action_information_api.create_action_information

Line 8241: pay_in_utils.set_location(g_debug,'Archived Org Data for C5 ', 9);

8237: ,p_action_information_id => l_action_info_id
8238: ,p_object_version_number => l_ovn
8239: );
8240:
8241: pay_in_utils.set_location(g_debug,'Archived Org Data for C5 ', 9);
8242: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_c5_data_only', 1);
8243: EXCEPTION
8244: WHEN OTHERS THEN
8245: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

Line 8242: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_c5_data_only', 1);

8238: ,p_object_version_number => l_ovn
8239: );
8240:
8241: pay_in_utils.set_location(g_debug,'Archived Org Data for C5 ', 9);
8242: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_c5_data_only', 1);
8243: EXCEPTION
8244: WHEN OTHERS THEN
8245: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8246: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);

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

8241: pay_in_utils.set_location(g_debug,'Archived Org Data for C5 ', 9);
8242: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_c5_data_only', 1);
8243: EXCEPTION
8244: WHEN OTHERS THEN
8245: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8246: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8247: END archive_c5_data_only;
8248:
8249: --------------------------------------------------------------------------

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

8242: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.archive_c5_data_only', 1);
8243: EXCEPTION
8244: WHEN OTHERS THEN
8245: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
8246: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
8247: END archive_c5_data_only;
8248:
8249: --------------------------------------------------------------------------
8250: -- --

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

8366: --
8367:
8368: l_procedure := g_package || '.assignment_action_code';
8369: g_debug := hr_utility.debug_enabled;
8370: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
8371:
8372: pay_in_utils.set_location(g_debug,'Archival for C4,C5 Modes Starts : '||l_procedure,12);
8373:
8374: --C4,C5 Salary Data Archival Starts

Line 8372: pay_in_utils.set_location(g_debug,'Archival for C4,C5 Modes Starts : '||l_procedure,12);

8368: l_procedure := g_package || '.assignment_action_code';
8369: g_debug := hr_utility.debug_enabled;
8370: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,10);
8371:
8372: pay_in_utils.set_location(g_debug,'Archival for C4,C5 Modes Starts : '||l_procedure,12);
8373:
8374: --C4,C5 Salary Data Archival Starts
8375: IF (g_sal_action)
8376: THEN

Line 8377: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,15);

8373:
8374: --C4,C5 Salary Data Archival Starts
8375: IF (g_sal_action)
8376: THEN
8377: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,15);
8378:
8379: initialization_code(p_payroll_action_id);
8380:
8381: l_flag := TRUE;

Line 8385: pay_in_utils.set_location(g_debug,'ASSIGNMENT_ACTION_CODE : In c_pay_act_id_last_24Q ', 1);

8381: l_flag := TRUE;
8382: --Fetch last Form 24Q archival Payroll action id
8383: FOR c_rec IN c_pay_act_id_last_24Q
8384: LOOP
8385: pay_in_utils.set_location(g_debug,'ASSIGNMENT_ACTION_CODE : In c_pay_act_id_last_24Q ', 1);
8386: pay_in_utils.set_location(g_debug,'In c_rec.org_information6 : ' || c_rec.org_information6, 1);
8387: pay_in_utils.set_location(g_debug,'In c_rec.org_information3 : ' || c_rec.org_information3, 1);
8388: IF (l_flag)
8389: THEN

Line 8386: pay_in_utils.set_location(g_debug,'In c_rec.org_information6 : ' || c_rec.org_information6, 1);

8382: --Fetch last Form 24Q archival Payroll action id
8383: FOR c_rec IN c_pay_act_id_last_24Q
8384: LOOP
8385: pay_in_utils.set_location(g_debug,'ASSIGNMENT_ACTION_CODE : In c_pay_act_id_last_24Q ', 1);
8386: pay_in_utils.set_location(g_debug,'In c_rec.org_information6 : ' || c_rec.org_information6, 1);
8387: pay_in_utils.set_location(g_debug,'In c_rec.org_information3 : ' || c_rec.org_information3, 1);
8388: IF (l_flag)
8389: THEN
8390: IF (c_rec.org_information6 = 'O')

Line 8387: pay_in_utils.set_location(g_debug,'In c_rec.org_information3 : ' || c_rec.org_information3, 1);

8383: FOR c_rec IN c_pay_act_id_last_24Q
8384: LOOP
8385: pay_in_utils.set_location(g_debug,'ASSIGNMENT_ACTION_CODE : In c_pay_act_id_last_24Q ', 1);
8386: pay_in_utils.set_location(g_debug,'In c_rec.org_information6 : ' || c_rec.org_information6, 1);
8387: pay_in_utils.set_location(g_debug,'In c_rec.org_information3 : ' || c_rec.org_information3, 1);
8388: IF (l_flag)
8389: THEN
8390: IF (c_rec.org_information6 = 'O')
8391: THEN

Line 8393: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);

8389: THEN
8390: IF (c_rec.org_information6 = 'O')
8391: THEN
8392: l_pay_act_id_last_24Q := c_rec.org_information3;
8393: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);
8394: ELSE
8395: l_pay_act_id_last_24Q := c_rec.org_information3;
8396: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);
8397: END IF;

Line 8396: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);

8392: l_pay_act_id_last_24Q := c_rec.org_information3;
8393: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);
8394: ELSE
8395: l_pay_act_id_last_24Q := c_rec.org_information3;
8396: pay_in_utils.set_location(g_debug,'In l_pay_act_id_last_24Q : ' || l_pay_act_id_last_24Q, 1);
8397: END IF;
8398: l_flag := FALSE;
8399: END IF;
8400: END LOOP;

Line 8401: pay_in_utils.set_location(g_debug,' Archival Action with which we need comparison is '|| l_pay_act_id_last_24Q,1);

8397: END IF;
8398: l_flag := FALSE;
8399: END IF;
8400: END LOOP;
8401: pay_in_utils.set_location(g_debug,' Archival Action with which we need comparison is '|| l_pay_act_id_last_24Q,1);
8402:
8403: IF (l_pay_act_id_last_24Q IS NOT NULL)
8404: THEN
8405: OPEN c_act_category(l_pay_act_id_last_24Q);

Line 8409: pay_in_utils.set_location(g_debug,' l_dummy is : '|| l_dummy, 3);

8405: OPEN c_act_category(l_pay_act_id_last_24Q);
8406: FETCH c_act_category INTO l_dummy;
8407: CLOSE c_act_category;
8408: END IF;
8409: pay_in_utils.set_location(g_debug,' l_dummy is : '|| l_dummy, 3);
8410:
8411: IF (l_dummy = 1)
8412: THEN
8413: -- This means that l_pay_act_id_last_24Q corresponds to 24Q Archival only.

Line 8425: pay_in_utils.set_location(g_debug,' l_24q_locked_pay_id is '|| l_24q_locked_pay_id ,4);

8421: CLOSE c_source_id;
8422:
8423: l_24qc_locked_pay_id := l_pay_act_id_last_24Q;
8424: END IF;
8425: pay_in_utils.set_location(g_debug,' l_24q_locked_pay_id is '|| l_24q_locked_pay_id ,4);
8426: pay_in_utils.set_location(g_debug,' l_24qc_locked_pay_id is '|| l_24qc_locked_pay_id ,5);
8427:
8428: g_payroll_action_id := p_payroll_action_id;
8429: g_24q_payroll_act_id := l_24q_locked_pay_id;

Line 8426: pay_in_utils.set_location(g_debug,' l_24qc_locked_pay_id is '|| l_24qc_locked_pay_id ,5);

8422:
8423: l_24qc_locked_pay_id := l_pay_act_id_last_24Q;
8424: END IF;
8425: pay_in_utils.set_location(g_debug,' l_24q_locked_pay_id is '|| l_24q_locked_pay_id ,4);
8426: pay_in_utils.set_location(g_debug,' l_24qc_locked_pay_id is '|| l_24qc_locked_pay_id ,5);
8427:
8428: g_payroll_action_id := p_payroll_action_id;
8429: g_24q_payroll_act_id := l_24q_locked_pay_id;
8430: g_24qc_payroll_act_id := l_24qc_locked_pay_id;

Line 8436: pay_in_utils.set_location(g_debug,'Payroll Action ID of previous 24Q Correction is '|| l_last_24qc_pay_act_id,2);

8432: OPEN c_select_prev_24qc(g_24qc_payroll_act_id);
8433: FETCH c_select_prev_24qc INTO l_last_24qc_pay_act_id;
8434: CLOSE c_select_prev_24qc;
8435:
8436: pay_in_utils.set_location(g_debug,'Payroll Action ID of previous 24Q Correction is '|| l_last_24qc_pay_act_id,2);
8437:
8438: IF ((l_pay_act_id_last_24Q IS NULL)AND(g_correction_mode <> 'Y'))
8439: THEN
8440: RETURN;

Line 8445: pay_in_utils.set_location(g_debug,'Calling : generate_employee_data '|| l_procedure,10);

8441: END IF;
8442:
8443: IF (g_correction_mode <> 'Y')
8444: THEN
8445: pay_in_utils.set_location(g_debug,'Calling : generate_employee_data '|| l_procedure,10);
8446: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,11);
8447: generate_employee_data(l_24q_locked_pay_id);
8448:
8449: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);

Line 8446: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,11);

8442:
8443: IF (g_correction_mode <> 'Y')
8444: THEN
8445: pay_in_utils.set_location(g_debug,'Calling : generate_employee_data '|| l_procedure,10);
8446: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,11);
8447: generate_employee_data(l_24q_locked_pay_id);
8448:
8449: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);
8450: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,21);

Line 8449: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);

8445: pay_in_utils.set_location(g_debug,'Calling : generate_employee_data '|| l_procedure,10);
8446: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,11);
8447: generate_employee_data(l_24q_locked_pay_id);
8448:
8449: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);
8450: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,21);
8451: generate_salary_data(l_24q_locked_pay_id, p_start_person, p_end_person);
8452:
8453: pay_in_utils.set_location(g_debug,'Calling : generate_challan_data '|| l_procedure,30);

Line 8450: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,21);

8446: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,11);
8447: generate_employee_data(l_24q_locked_pay_id);
8448:
8449: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);
8450: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,21);
8451: generate_salary_data(l_24q_locked_pay_id, p_start_person, p_end_person);
8452:
8453: pay_in_utils.set_location(g_debug,'Calling : generate_challan_data '|| l_procedure,30);
8454: generate_challan_data(l_24q_locked_pay_id,g_gre_id);

Line 8453: pay_in_utils.set_location(g_debug,'Calling : generate_challan_data '|| l_procedure,30);

8449: pay_in_utils.set_location(g_debug,'Calling : generate_salary_data '|| l_procedure,20);
8450: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id is ' || l_24q_locked_pay_id ,21);
8451: generate_salary_data(l_24q_locked_pay_id, p_start_person, p_end_person);
8452:
8453: pay_in_utils.set_location(g_debug,'Calling : generate_challan_data '|| l_procedure,30);
8454: generate_challan_data(l_24q_locked_pay_id,g_gre_id);
8455:
8456: pay_in_utils.set_location(g_debug,'Calling : generate_organization_data '|| l_procedure,20);
8457: generate_organization_data(l_24q_locked_pay_id,g_gre_id);

Line 8456: pay_in_utils.set_location(g_debug,'Calling : generate_organization_data '|| l_procedure,20);

8452:
8453: pay_in_utils.set_location(g_debug,'Calling : generate_challan_data '|| l_procedure,30);
8454: generate_challan_data(l_24q_locked_pay_id,g_gre_id);
8455:
8456: pay_in_utils.set_location(g_debug,'Calling : generate_organization_data '|| l_procedure,20);
8457: generate_organization_data(l_24q_locked_pay_id,g_gre_id);
8458: ELSE
8459: pay_in_utils.set_location(g_debug,'Calling : archive_cancellation_data '|| l_procedure,20);
8460: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);

Line 8459: pay_in_utils.set_location(g_debug,'Calling : archive_cancellation_data '|| l_procedure,20);

8455:
8456: pay_in_utils.set_location(g_debug,'Calling : generate_organization_data '|| l_procedure,20);
8457: generate_organization_data(l_24q_locked_pay_id,g_gre_id);
8458: ELSE
8459: pay_in_utils.set_location(g_debug,'Calling : archive_cancellation_data '|| l_procedure,20);
8460: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);
8461: l_flag_number := -1;
8462: l_flag_number := check_archival_status(NULL,'IN_24QC_ORG',NULL,NULL);
8463: IF (l_flag_number = 0)

Line 8460: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);

8456: pay_in_utils.set_location(g_debug,'Calling : generate_organization_data '|| l_procedure,20);
8457: generate_organization_data(l_24q_locked_pay_id,g_gre_id);
8458: ELSE
8459: pay_in_utils.set_location(g_debug,'Calling : archive_cancellation_data '|| l_procedure,20);
8460: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);
8461: l_flag_number := -1;
8462: l_flag_number := check_archival_status(NULL,'IN_24QC_ORG',NULL,NULL);
8463: IF (l_flag_number = 0)
8464: THEN

Line 8472: pay_in_utils.set_location(g_debug,'Inserting assignment action ids for Salary Records',30);

8468: generate_locking(p_payroll_action_id,l_24q_locked_pay_id,l_24qc_locked_pay_id,p_chunk);
8469: RETURN;
8470: END IF;
8471:
8472: pay_in_utils.set_location(g_debug,'Inserting assignment action ids for Salary Records',30);
8473:
8474: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Assignment Actions ' ,35);
8475:
8476: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete is '|| g_count_sal_delete, 39);

Line 8474: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Assignment Actions ' ,35);

8470: END IF;
8471:
8472: pay_in_utils.set_location(g_debug,'Inserting assignment action ids for Salary Records',30);
8473:
8474: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Assignment Actions ' ,35);
8475:
8476: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete is '|| g_count_sal_delete, 39);
8477: IF ((g_count_sal_delete > 1) AND (g_correction_mode <> 'Y'))
8478: THEN

Line 8476: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete is '|| g_count_sal_delete, 39);

8472: pay_in_utils.set_location(g_debug,'Inserting assignment action ids for Salary Records',30);
8473:
8474: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Assignment Actions ' ,35);
8475:
8476: pay_in_utils.set_location(g_debug,'Value of g_count_sal_delete is '|| g_count_sal_delete, 39);
8477: IF ((g_count_sal_delete > 1) AND (g_correction_mode <> 'Y'))
8478: THEN
8479: FOR i IN 1..g_count_sal_delete - 1
8480: LOOP

Line 8483: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_del(i).assignment_id,1);

8479: FOR i IN 1..g_count_sal_delete - 1
8480: LOOP
8481: l_24q_asg_action_id := NULL;
8482: l_dummy := NULL;
8483: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_del(i).assignment_id,1);
8484: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
8485: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,p_payroll_action_id);
8486: FETCH c_chk_asg_action INTO l_dummy;
8487: CLOSE c_chk_asg_action;

Line 8484: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);

8480: LOOP
8481: l_24q_asg_action_id := NULL;
8482: l_dummy := NULL;
8483: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_del(i).assignment_id,1);
8484: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
8485: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,p_payroll_action_id);
8486: FETCH c_chk_asg_action INTO l_dummy;
8487: CLOSE c_chk_asg_action;
8488:

Line 8490: pay_in_utils.trace('l_dummy in g_count_sal_delete ',l_dummy);

8486: FETCH c_chk_asg_action INTO l_dummy;
8487: CLOSE c_chk_asg_action;
8488:
8489:
8490: pay_in_utils.trace('l_dummy in g_count_sal_delete ',l_dummy);
8491:
8492: IF (l_dummy IS NULL)
8493: THEN
8494: SELECT pay_assignment_actions_s.NEXTVAL

Line 8498: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

8494: SELECT pay_assignment_actions_s.NEXTVAL
8495: INTO l_action_id
8496: FROM dual;
8497:
8498: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
8499: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
8500:
8501: hr_nonrun_asact.insact(lockingactid => l_action_id
8502: ,assignid => g_sal_data_rec_del(i).assignment_id

Line 8499: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

8495: INTO l_action_id
8496: FROM dual;
8497:
8498: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
8499: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
8500:
8501: hr_nonrun_asact.insact(lockingactid => l_action_id
8502: ,assignid => g_sal_data_rec_del(i).assignment_id
8503: ,pactid => p_payroll_action_id

Line 8507: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

8503: ,pactid => p_payroll_action_id
8504: ,chunk => p_chunk
8505: );
8506:
8507: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8508:
8509: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24q_locked_pay_id);
8510: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8511: CLOSE c_chk_asg_action;

Line 8513: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

8509: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24q_locked_pay_id);
8510: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8511: CLOSE c_chk_asg_action;
8512:
8513: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
8514:
8515: IF (l_24q_asg_action_id IS NOT NULL)
8516: THEN
8517: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8522: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

8518: ,lockedactid => l_24q_asg_action_id
8519: );
8520: END IF;
8521:
8522: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
8523: l_24q_asg_action_id := NULL;
8524: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24qc_locked_pay_id);
8525: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8526: CLOSE c_chk_asg_action;

Line 8528: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

8524: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24qc_locked_pay_id);
8525: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8526: CLOSE c_chk_asg_action;
8527:
8528: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
8529:
8530: IF (l_24q_asg_action_id IS NOT NULL)
8531: THEN
8532: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8537: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

8533: ,lockedactid => l_24q_asg_action_id
8534: );
8535: END IF;
8536:
8537: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
8538: l_24q_asg_action_id := NULL;
8539: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_last_24qc_pay_act_id);
8540: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8541: CLOSE c_chk_asg_action;

Line 8543: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

8539: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_last_24qc_pay_act_id);
8540: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8541: CLOSE c_chk_asg_action;
8542:
8543: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
8544:
8545: IF (l_24q_asg_action_id IS NOT NULL)
8546: THEN
8547: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8556: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);

8552:
8553: IF (l_dummy IS NOT NULL)
8554: THEN
8555:
8556: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
8557:
8558: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8559: l_24q_asg_action_id := NULL;
8560: l_lock_exists := 0;

Line 8558: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

8554: THEN
8555:
8556: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
8557:
8558: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8559: l_24q_asg_action_id := NULL;
8560: l_lock_exists := 0;
8561:
8562: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24q_locked_pay_id);

Line 8570: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

8566: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
8567: FETCH c_chk_action_lock INTO l_lock_exists;
8568: CLOSE c_chk_action_lock;
8569:
8570: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
8571:
8572: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
8573: THEN
8574: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 8579: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

8575: ,lockedactid => l_24q_asg_action_id
8576: );
8577: END IF;
8578:
8579: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
8580: l_24q_asg_action_id := NULL;
8581: l_lock_exists := 0;
8582: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_24qc_locked_pay_id);
8583: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 8590: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

8586: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
8587: FETCH c_chk_action_lock INTO l_lock_exists;
8588: CLOSE c_chk_action_lock;
8589:
8590: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
8591:
8592: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
8593: THEN
8594: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 8599: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

8595: ,lockedactid => l_24q_asg_action_id
8596: );
8597: END IF;
8598:
8599: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
8600: l_24q_asg_action_id := NULL;
8601: l_lock_exists := 0;
8602: OPEN c_chk_asg_action(g_sal_data_rec_del(i).assignment_id,l_last_24qc_pay_act_id);
8603: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 8610: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

8606: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
8607: FETCH c_chk_action_lock INTO l_lock_exists;
8608: CLOSE c_chk_action_lock;
8609:
8610: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
8611:
8612: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
8613: THEN
8614: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 8624: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Assignment Actions ' ,60);

8620: END LOOP;
8621: END IF;
8622:
8623:
8624: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Assignment Actions ' ,60);
8625: pay_in_utils.set_location(g_debug,'Value of g_count_sal_addition is '|| g_count_sal_addition, 61);
8626: IF ((g_count_sal_addition > 1) AND (g_correction_mode <> 'Y'))
8627: THEN
8628: FOR i IN 1..g_count_sal_addition - 1

Line 8625: pay_in_utils.set_location(g_debug,'Value of g_count_sal_addition is '|| g_count_sal_addition, 61);

8621: END IF;
8622:
8623:
8624: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Assignment Actions ' ,60);
8625: pay_in_utils.set_location(g_debug,'Value of g_count_sal_addition is '|| g_count_sal_addition, 61);
8626: IF ((g_count_sal_addition > 1) AND (g_correction_mode <> 'Y'))
8627: THEN
8628: FOR i IN 1..g_count_sal_addition - 1
8629: LOOP

Line 8632: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_add(i).assignment_id,1);

8628: FOR i IN 1..g_count_sal_addition - 1
8629: LOOP
8630: l_24q_asg_action_id := NULL;
8631: l_dummy := NULL;
8632: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_add(i).assignment_id,1);
8633: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
8634:
8635: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,p_payroll_action_id);
8636: FETCH c_chk_asg_action INTO l_dummy;

Line 8633: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);

8629: LOOP
8630: l_24q_asg_action_id := NULL;
8631: l_dummy := NULL;
8632: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_add(i).assignment_id,1);
8633: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
8634:
8635: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,p_payroll_action_id);
8636: FETCH c_chk_asg_action INTO l_dummy;
8637: CLOSE c_chk_asg_action;

Line 8639: pay_in_utils.trace('l_dummy in g_count_sal_addition ',l_dummy);

8635: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,p_payroll_action_id);
8636: FETCH c_chk_asg_action INTO l_dummy;
8637: CLOSE c_chk_asg_action;
8638:
8639: pay_in_utils.trace('l_dummy in g_count_sal_addition ',l_dummy);
8640:
8641: IF (l_dummy IS NULL)
8642: THEN
8643: SELECT pay_assignment_actions_s.NEXTVAL

Line 8647: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

8643: SELECT pay_assignment_actions_s.NEXTVAL
8644: INTO l_action_id
8645: FROM dual;
8646:
8647: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
8648: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
8649:
8650: hr_nonrun_asact.insact(lockingactid => l_action_id
8651: ,assignid => g_sal_data_rec_add(i).assignment_id

Line 8648: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

8644: INTO l_action_id
8645: FROM dual;
8646:
8647: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
8648: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
8649:
8650: hr_nonrun_asact.insact(lockingactid => l_action_id
8651: ,assignid => g_sal_data_rec_add(i).assignment_id
8652: ,pactid => p_payroll_action_id

Line 8656: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

8652: ,pactid => p_payroll_action_id
8653: ,chunk => p_chunk
8654: );
8655:
8656: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8657:
8658: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24q_locked_pay_id);
8659: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8660: CLOSE c_chk_asg_action;

Line 8662: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

8658: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24q_locked_pay_id);
8659: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8660: CLOSE c_chk_asg_action;
8661:
8662: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
8663:
8664: IF (l_24q_asg_action_id IS NOT NULL)
8665: THEN
8666: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8671: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

8667: ,lockedactid => l_24q_asg_action_id
8668: );
8669: END IF;
8670:
8671: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
8672: l_24q_asg_action_id := NULL;
8673: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24qc_locked_pay_id);
8674: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8675: CLOSE c_chk_asg_action;

Line 8677: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

8673: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24qc_locked_pay_id);
8674: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8675: CLOSE c_chk_asg_action;
8676:
8677: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
8678:
8679: IF (l_24q_asg_action_id IS NOT NULL)
8680: THEN
8681: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8686: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

8682: ,lockedactid => l_24q_asg_action_id
8683: );
8684: END IF;
8685:
8686: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
8687: l_24q_asg_action_id := NULL;
8688: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_last_24qc_pay_act_id);
8689: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8690: CLOSE c_chk_asg_action;

Line 8692: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

8688: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_last_24qc_pay_act_id);
8689: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8690: CLOSE c_chk_asg_action;
8691:
8692: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
8693:
8694: IF (l_24q_asg_action_id IS NOT NULL)
8695: THEN
8696: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8706: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);

8702:
8703: IF (l_dummy IS NOT NULL)
8704: THEN
8705:
8706: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
8707:
8708: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8709: l_24q_asg_action_id := NULL;
8710: l_lock_exists := 0;

Line 8708: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

8704: THEN
8705:
8706: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
8707:
8708: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8709: l_24q_asg_action_id := NULL;
8710: l_lock_exists := 0;
8711:
8712: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24q_locked_pay_id);

Line 8720: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

8716: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
8717: FETCH c_chk_action_lock INTO l_lock_exists;
8718: CLOSE c_chk_action_lock;
8719:
8720: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
8721:
8722: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
8723: THEN
8724: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 8729: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

8725: ,lockedactid => l_24q_asg_action_id
8726: );
8727: END IF;
8728:
8729: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
8730: l_24q_asg_action_id := NULL;
8731: l_lock_exists := 0;
8732: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_24qc_locked_pay_id);
8733: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 8740: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

8736: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
8737: FETCH c_chk_action_lock INTO l_lock_exists;
8738: CLOSE c_chk_action_lock;
8739:
8740: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
8741:
8742: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
8743: THEN
8744: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 8749: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

8745: ,lockedactid => l_24q_asg_action_id
8746: );
8747: END IF;
8748:
8749: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
8750: l_24q_asg_action_id := NULL;
8751: l_lock_exists := 0;
8752: OPEN c_chk_asg_action(g_sal_data_rec_add(i).assignment_id,l_last_24qc_pay_act_id);
8753: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 8760: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

8756: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
8757: FETCH c_chk_action_lock INTO l_lock_exists;
8758: CLOSE c_chk_action_lock;
8759:
8760: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
8761:
8762: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
8763: THEN
8764: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 8774: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Assignment Actions ' ,70);

8770: END LOOP;
8771: END IF;
8772:
8773:
8774: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Assignment Actions ' ,70);
8775: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update is '|| g_count_sal_update, 71);
8776: IF ((g_count_sal_update > 1) AND (g_correction_mode <> 'Y'))
8777: THEN
8778: FOR i IN 1..g_count_sal_update - 1

Line 8775: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update is '|| g_count_sal_update, 71);

8771: END IF;
8772:
8773:
8774: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Assignment Actions ' ,70);
8775: pay_in_utils.set_location(g_debug,'Value of g_count_sal_update is '|| g_count_sal_update, 71);
8776: IF ((g_count_sal_update > 1) AND (g_correction_mode <> 'Y'))
8777: THEN
8778: FOR i IN 1..g_count_sal_update - 1
8779: LOOP

Line 8783: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_upd(i).assignment_id,1);

8779: LOOP
8780: l_24q_asg_action_id := NULL;
8781: l_dummy := NULL;
8782:
8783: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_upd(i).assignment_id,1);
8784: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
8785: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,p_payroll_action_id);
8786: FETCH c_chk_asg_action INTO l_dummy;
8787: CLOSE c_chk_asg_action;

Line 8784: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);

8780: l_24q_asg_action_id := NULL;
8781: l_dummy := NULL;
8782:
8783: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_sal_data_rec_upd(i).assignment_id,1);
8784: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
8785: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,p_payroll_action_id);
8786: FETCH c_chk_asg_action INTO l_dummy;
8787: CLOSE c_chk_asg_action;
8788:

Line 8790: pay_in_utils.trace('l_dummy in g_count_sal_update ',l_dummy);

8786: FETCH c_chk_asg_action INTO l_dummy;
8787: CLOSE c_chk_asg_action;
8788:
8789:
8790: pay_in_utils.trace('l_dummy in g_count_sal_update ',l_dummy);
8791:
8792: IF (l_dummy IS NULL)
8793: THEN
8794: SELECT pay_assignment_actions_s.NEXTVAL

Line 8798: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

8794: SELECT pay_assignment_actions_s.NEXTVAL
8795: INTO l_action_id
8796: FROM dual;
8797:
8798: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
8799: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
8800:
8801: hr_nonrun_asact.insact(lockingactid => l_action_id
8802: ,assignid => g_sal_data_rec_upd(i).assignment_id

Line 8799: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

8795: INTO l_action_id
8796: FROM dual;
8797:
8798: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
8799: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
8800:
8801: hr_nonrun_asact.insact(lockingactid => l_action_id
8802: ,assignid => g_sal_data_rec_upd(i).assignment_id
8803: ,pactid => p_payroll_action_id

Line 8807: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

8803: ,pactid => p_payroll_action_id
8804: ,chunk => p_chunk
8805: );
8806:
8807: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8808:
8809: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24q_locked_pay_id);
8810: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8811: CLOSE c_chk_asg_action;

Line 8813: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

8809: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24q_locked_pay_id);
8810: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8811: CLOSE c_chk_asg_action;
8812:
8813: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
8814:
8815: IF (l_24q_asg_action_id IS NOT NULL)
8816: THEN
8817: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8821: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

8817: hr_nonrun_asact.insint(lockingactid => l_action_id
8818: ,lockedactid => l_24q_asg_action_id
8819: );
8820: END IF;
8821: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
8822: l_24q_asg_action_id := NULL;
8823: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24qc_locked_pay_id);
8824: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8825: CLOSE c_chk_asg_action;

Line 8827: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

8823: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24qc_locked_pay_id);
8824: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8825: CLOSE c_chk_asg_action;
8826:
8827: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
8828:
8829: IF (l_24q_asg_action_id IS NOT NULL)
8830: THEN
8831: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8836: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

8832: ,lockedactid => l_24q_asg_action_id
8833: );
8834: END IF;
8835:
8836: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
8837: l_24q_asg_action_id := NULL;
8838: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_last_24qc_pay_act_id);
8839: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8840: CLOSE c_chk_asg_action;

Line 8842: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

8838: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_last_24qc_pay_act_id);
8839: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8840: CLOSE c_chk_asg_action;
8841:
8842: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
8843:
8844: IF (l_24q_asg_action_id IS NOT NULL)
8845: THEN
8846: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8855: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);

8851:
8852: IF (l_dummy IS NOT NULL)
8853: THEN
8854:
8855: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
8856:
8857: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8858: l_24q_asg_action_id := NULL;
8859: l_lock_exists := 0;

Line 8857: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

8853: THEN
8854:
8855: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
8856:
8857: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8858: l_24q_asg_action_id := NULL;
8859: l_lock_exists := 0;
8860:
8861: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24q_locked_pay_id);

Line 8869: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

8865: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
8866: FETCH c_chk_action_lock INTO l_lock_exists;
8867: CLOSE c_chk_action_lock;
8868:
8869: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
8870:
8871: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
8872: THEN
8873: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 8878: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

8874: ,lockedactid => l_24q_asg_action_id
8875: );
8876: END IF;
8877:
8878: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
8879: l_24q_asg_action_id := NULL;
8880: l_lock_exists := 0;
8881: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_24qc_locked_pay_id);
8882: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 8889: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

8885: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
8886: FETCH c_chk_action_lock INTO l_lock_exists;
8887: CLOSE c_chk_action_lock;
8888:
8889: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
8890:
8891: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
8892: THEN
8893: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 8898: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

8894: ,lockedactid => l_24q_asg_action_id
8895: );
8896: END IF;
8897:
8898: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
8899: l_24q_asg_action_id := NULL;
8900: l_lock_exists := 0;
8901: OPEN c_chk_asg_action(g_sal_data_rec_upd(i).assignment_id,l_last_24qc_pay_act_id);
8902: FETCH c_chk_asg_action INTO l_24q_asg_action_id;

Line 8909: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

8905: OPEN c_chk_action_lock(l_dummy,l_24q_asg_action_id);
8906: FETCH c_chk_action_lock INTO l_lock_exists;
8907: CLOSE c_chk_action_lock;
8908:
8909: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
8910:
8911: IF ((l_24q_asg_action_id IS NOT NULL) AND (l_lock_exists=0))
8912: THEN
8913: hr_nonrun_asact.insint(lockingactid => l_dummy

Line 8922: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over for Salary Records ', 80);

8918:
8919: END LOOP;
8920: END IF;
8921:
8922: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over for Salary Records ', 80);
8923:
8924: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data for Salary Records: archive_code ',90);
8925:
8926: --For C4,C5 only salary data should be Archived

Line 8924: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data for Salary Records: archive_code ',90);

8920: END IF;
8921:
8922: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over for Salary Records ', 80);
8923:
8924: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data for Salary Records: archive_code ',90);
8925:
8926: --For C4,C5 only salary data should be Archived
8927: IF (g_correction_mode IN('C4','C5','%'))
8928: THEN

Line 8934: pay_in_utils.set_location(g_debug,'Archival for C4,C5 Modes Ends : '||l_procedure,100);

8930: END IF;
8931:
8932: END IF;
8933: --C4,C5 Salary Data Archival Ends
8934: pay_in_utils.set_location(g_debug,'Archival for C4,C5 Modes Ends : '||l_procedure,100);
8935:
8936:
8937: IF (g_action)
8938: THEN

Line 8939: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,110);

8935:
8936:
8937: IF (g_action)
8938: THEN
8939: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,110);
8940:
8941: pay_in_utils.set_location(g_debug,'Inserting assignment action id in pay_assignment_actions ',40);
8942: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Element Entries ' ,50);
8943:

Line 8941: pay_in_utils.set_location(g_debug,'Inserting assignment action id in pay_assignment_actions ',40);

8937: IF (g_action)
8938: THEN
8939: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,110);
8940:
8941: pay_in_utils.set_location(g_debug,'Inserting assignment action id in pay_assignment_actions ',40);
8942: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Element Entries ' ,50);
8943:
8944: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete is '|| g_count_ee_delete, 51);
8945: IF ((g_count_ee_delete > 1)AND (g_correction_mode <> 'Y'))

Line 8942: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Element Entries ' ,50);

8938: THEN
8939: pay_in_utils.set_location(g_debug,'Entering : '||l_procedure,110);
8940:
8941: pay_in_utils.set_location(g_debug,'Inserting assignment action id in pay_assignment_actions ',40);
8942: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Element Entries ' ,50);
8943:
8944: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete is '|| g_count_ee_delete, 51);
8945: IF ((g_count_ee_delete > 1)AND (g_correction_mode <> 'Y'))
8946: THEN

Line 8944: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete is '|| g_count_ee_delete, 51);

8940:
8941: pay_in_utils.set_location(g_debug,'Inserting assignment action id in pay_assignment_actions ',40);
8942: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Deleted Element Entries ' ,50);
8943:
8944: pay_in_utils.set_location(g_debug,'Value of g_count_ee_delete is '|| g_count_ee_delete, 51);
8945: IF ((g_count_ee_delete > 1)AND (g_correction_mode <> 'Y'))
8946: THEN
8947: FOR i IN 1..g_count_ee_delete - 1
8948: LOOP

Line 8961: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

8957: SELECT pay_assignment_actions_s.NEXTVAL
8958: INTO l_action_id
8959: FROM dual;
8960:
8961: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
8962: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
8963:
8964: hr_nonrun_asact.insact(lockingactid => l_action_id
8965: ,assignid => g_ee_data_rec_del(i).assignment_id

Line 8962: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

8958: INTO l_action_id
8959: FROM dual;
8960:
8961: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
8962: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
8963:
8964: hr_nonrun_asact.insact(lockingactid => l_action_id
8965: ,assignid => g_ee_data_rec_del(i).assignment_id
8966: ,pactid => p_payroll_action_id

Line 8970: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

8966: ,pactid => p_payroll_action_id
8967: ,chunk => p_chunk
8968: );
8969:
8970: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
8971:
8972: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_24q_locked_pay_id);
8973: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8974: CLOSE c_chk_asg_action;

Line 8976: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

8972: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_24q_locked_pay_id);
8973: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8974: CLOSE c_chk_asg_action;
8975:
8976: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
8977:
8978: IF (l_24q_asg_action_id IS NOT NULL)
8979: THEN
8980: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 8985: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

8981: ,lockedactid => l_24q_asg_action_id
8982: );
8983: END IF;
8984:
8985: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
8986: l_24q_asg_action_id := NULL;
8987: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_24qc_locked_pay_id);
8988: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8989: CLOSE c_chk_asg_action;

Line 8991: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

8987: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_24qc_locked_pay_id);
8988: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
8989: CLOSE c_chk_asg_action;
8990:
8991: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
8992:
8993: IF (l_24q_asg_action_id IS NOT NULL)
8994: THEN
8995: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9000: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

8996: ,lockedactid => l_24q_asg_action_id
8997: );
8998: END IF;
8999:
9000: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
9001: l_24q_asg_action_id := NULL;
9002: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_last_24qc_pay_act_id);
9003: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9004: CLOSE c_chk_asg_action;

Line 9006: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

9002: OPEN c_chk_asg_action(g_ee_data_rec_del(i).assignment_id,l_last_24qc_pay_act_id);
9003: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9004: CLOSE c_chk_asg_action;
9005:
9006: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
9007:
9008: IF (l_24q_asg_action_id IS NOT NULL)
9009: THEN
9010: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9018: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Element Entries ' ,60);

9014: END IF;
9015: END LOOP;
9016: END IF;
9017:
9018: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Element Entries ' ,60);
9019: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition is '|| g_count_ee_addition, 61);
9020: IF ((g_count_ee_addition > 1)AND(g_correction_mode <> 'Y'))
9021: THEN
9022: FOR i IN 1..g_count_ee_addition - 1

Line 9019: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition is '|| g_count_ee_addition, 61);

9015: END LOOP;
9016: END IF;
9017:
9018: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Added Element Entries ' ,60);
9019: pay_in_utils.set_location(g_debug,'Value of g_count_ee_addition is '|| g_count_ee_addition, 61);
9020: IF ((g_count_ee_addition > 1)AND(g_correction_mode <> 'Y'))
9021: THEN
9022: FOR i IN 1..g_count_ee_addition - 1
9023: LOOP

Line 9030: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);

9026: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,p_payroll_action_id);
9027: FETCH c_chk_asg_action INTO l_dummy;
9028: CLOSE c_chk_asg_action;
9029:
9030: pay_in_utils.set_location(g_debug,'Value of l_dummy is '|| l_dummy, 61);
9031: IF (l_dummy IS NULL)
9032: THEN
9033: SELECT pay_assignment_actions_s.NEXTVAL
9034: INTO l_action_id

Line 9037: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

9033: SELECT pay_assignment_actions_s.NEXTVAL
9034: INTO l_action_id
9035: FROM dual;
9036:
9037: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9038: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9039:
9040: hr_nonrun_asact.insact(lockingactid => l_action_id
9041: ,assignid => g_ee_data_rec_add(i).assignment_id

Line 9038: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

9034: INTO l_action_id
9035: FROM dual;
9036:
9037: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9038: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9039:
9040: hr_nonrun_asact.insact(lockingactid => l_action_id
9041: ,assignid => g_ee_data_rec_add(i).assignment_id
9042: ,pactid => p_payroll_action_id

Line 9046: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

9042: ,pactid => p_payroll_action_id
9043: ,chunk => p_chunk
9044: );
9045:
9046: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
9047:
9048: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_24q_locked_pay_id);
9049: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9050: CLOSE c_chk_asg_action;

Line 9052: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

9048: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_24q_locked_pay_id);
9049: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9050: CLOSE c_chk_asg_action;
9051:
9052: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
9053:
9054: IF (l_24q_asg_action_id IS NOT NULL)
9055: THEN
9056: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9061: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

9057: ,lockedactid => l_24q_asg_action_id
9058: );
9059: END IF;
9060:
9061: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
9062: l_24q_asg_action_id := NULL;
9063: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_24qc_locked_pay_id);
9064: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9065: CLOSE c_chk_asg_action;

Line 9067: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

9063: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_24qc_locked_pay_id);
9064: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9065: CLOSE c_chk_asg_action;
9066:
9067: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
9068:
9069: IF (l_24q_asg_action_id IS NOT NULL)
9070: THEN
9071: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9076: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

9072: ,lockedactid => l_24q_asg_action_id
9073: );
9074: END IF;
9075:
9076: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
9077: l_24q_asg_action_id := NULL;
9078: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_last_24qc_pay_act_id);
9079: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9080: CLOSE c_chk_asg_action;

Line 9082: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

9078: OPEN c_chk_asg_action(g_ee_data_rec_add(i).assignment_id,l_last_24qc_pay_act_id);
9079: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9080: CLOSE c_chk_asg_action;
9081:
9082: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
9083:
9084: IF (l_24q_asg_action_id IS NOT NULL)
9085: THEN
9086: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9095: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Element Entries ' ,70);

9091: END IF;
9092: END LOOP;
9093: END IF;
9094:
9095: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Element Entries ' ,70);
9096: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update is '|| g_count_ee_update, 71);
9097: IF ((g_count_ee_update > 1)AND(g_correction_mode <> 'Y'))
9098: THEN
9099: FOR i IN 1..g_count_ee_update - 1

Line 9096: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update is '|| g_count_ee_update, 71);

9092: END LOOP;
9093: END IF;
9094:
9095: pay_in_utils.set_location(g_debug,'Inserting Asg Action ID for Updated Element Entries ' ,70);
9096: pay_in_utils.set_location(g_debug,'Value of g_count_ee_update is '|| g_count_ee_update, 71);
9097: IF ((g_count_ee_update > 1)AND(g_correction_mode <> 'Y'))
9098: THEN
9099: FOR i IN 1..g_count_ee_update - 1
9100: LOOP

Line 9104: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_ee_data_rec_upd(i).assignment_id,1);

9100: LOOP
9101: l_24q_asg_action_id := NULL;
9102: l_dummy := NULL;
9103:
9104: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_ee_data_rec_upd(i).assignment_id,1);
9105: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
9106: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,p_payroll_action_id);
9107: FETCH c_chk_asg_action INTO l_dummy;
9108: CLOSE c_chk_asg_action;

Line 9105: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);

9101: l_24q_asg_action_id := NULL;
9102: l_dummy := NULL;
9103:
9104: pay_in_utils.set_location(g_debug,'Checking for Assignment '|| g_ee_data_rec_upd(i).assignment_id,1);
9105: pay_in_utils.set_location(g_debug,'Payroll Action id is ' || p_payroll_action_id,2);
9106: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,p_payroll_action_id);
9107: FETCH c_chk_asg_action INTO l_dummy;
9108: CLOSE c_chk_asg_action;
9109:

Line 9110: pay_in_utils.set_location(g_debug,'Value of dummy is ' || l_dummy ,3);

9106: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,p_payroll_action_id);
9107: FETCH c_chk_asg_action INTO l_dummy;
9108: CLOSE c_chk_asg_action;
9109:
9110: pay_in_utils.set_location(g_debug,'Value of dummy is ' || l_dummy ,3);
9111: IF (l_dummy IS NULL)
9112: THEN
9113: SELECT pay_assignment_actions_s.NEXTVAL
9114: INTO l_action_id

Line 9117: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);

9113: SELECT pay_assignment_actions_s.NEXTVAL
9114: INTO l_action_id
9115: FROM dual;
9116:
9117: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9118: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9119:
9120: hr_nonrun_asact.insact(lockingactid => l_action_id
9121: ,assignid => g_ee_data_rec_upd(i).assignment_id

Line 9118: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);

9114: INTO l_action_id
9115: FROM dual;
9116:
9117: pay_in_utils.set_location(g_debug,'Value of l_action_id is '|| l_action_id, 61);
9118: pay_in_utils.set_location(g_debug,'Inserting Assignment action id ',61);
9119:
9120: hr_nonrun_asact.insact(lockingactid => l_action_id
9121: ,assignid => g_ee_data_rec_upd(i).assignment_id
9122: ,pactid => p_payroll_action_id

Line 9126: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);

9122: ,pactid => p_payroll_action_id
9123: ,chunk => p_chunk
9124: );
9125:
9126: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Archival', 61);
9127:
9128: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_24q_locked_pay_id);
9129: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9130: CLOSE c_chk_asg_action;

Line 9132: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);

9128: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_24q_locked_pay_id);
9129: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9130: CLOSE c_chk_asg_action;
9131:
9132: pay_in_utils.trace('Value of l_locked_action_id for 24Q is ',l_24q_asg_action_id);
9133:
9134: IF (l_24q_asg_action_id IS NOT NULL)
9135: THEN
9136: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9140: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);

9136: hr_nonrun_asact.insint(lockingactid => l_action_id
9137: ,lockedactid => l_24q_asg_action_id
9138: );
9139: END IF;
9140: pay_in_utils.set_location(g_debug,'Enforcing Locking on 24Q Correction', 61);
9141: l_24q_asg_action_id := NULL;
9142: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_24qc_locked_pay_id);
9143: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9144: CLOSE c_chk_asg_action;

Line 9146: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);

9142: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_24qc_locked_pay_id);
9143: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9144: CLOSE c_chk_asg_action;
9145:
9146: pay_in_utils.trace('Value of l_locked_action_id for 24Q Correction is ',l_24q_asg_action_id);
9147:
9148: IF (l_24q_asg_action_id IS NOT NULL)
9149: THEN
9150: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9155: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);

9151: ,lockedactid => l_24q_asg_action_id
9152: );
9153: END IF;
9154:
9155: pay_in_utils.set_location(g_debug,'Enforcing Locking on Previous 24Q Correction', 61);
9156: l_24q_asg_action_id := NULL;
9157: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_last_24qc_pay_act_id);
9158: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9159: CLOSE c_chk_asg_action;

Line 9161: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);

9157: OPEN c_chk_asg_action(g_ee_data_rec_upd(i).assignment_id,l_last_24qc_pay_act_id);
9158: FETCH c_chk_asg_action INTO l_24q_asg_action_id;
9159: CLOSE c_chk_asg_action;
9160:
9161: pay_in_utils.trace('Value of l_locked_action_id for Previous 24Q Correction is ',l_24q_asg_action_id);
9162:
9163: IF (l_24q_asg_action_id IS NOT NULL)
9164: THEN
9165: hr_nonrun_asact.insint(lockingactid => l_action_id

Line 9173: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over ', 80);

9169: END IF;
9170: END LOOP;
9171: END IF;
9172:
9173: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over ', 80);
9174: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data : archive_code ',90);
9175:
9176: --C2,C3 then archive only updated Challans, if C9 then only added challans
9177: IF (g_correction_mode NOT IN ('Y','C1'))

Line 9174: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data : archive_code ',90);

9170: END LOOP;
9171: END IF;
9172:
9173: pay_in_utils.set_location(g_debug,'Asg Action ID Insertion Over ', 80);
9174: pay_in_utils.set_location(g_debug,'Archiving PL/SQL Data : archive_code ',90);
9175:
9176: --C2,C3 then archive only updated Challans, if C9 then only added challans
9177: IF (g_correction_mode NOT IN ('Y','C1'))
9178: THEN

Line 9183: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);

9179: archive_challan_data(g_payroll_action_id,l_24q_locked_pay_id);
9180: END IF;
9181:
9182: IF (g_correction_mode NOT IN ('C5','Y')) THEN
9183: pay_in_utils.set_location(g_debug,'Checking Org archival status',1);
9184: l_flag_number := -1;
9185: l_flag_number := check_archival_status(NULL,'IN_24QC_ORG',NULL,NULL);
9186: IF (l_flag_number = 0)
9187: THEN

Line 9198: pay_in_utils.set_location(g_debug,'Generating Locking...',1);

9194: THEN
9195: archive_deductee_data(g_payroll_action_id,l_24q_locked_pay_id);
9196: END IF;
9197:
9198: pay_in_utils.set_location(g_debug,'Generating Locking...',1);
9199: --Inserting Assignment Actions and Locking if no deductee records exist for this archival.
9200: IF ((g_count_ee_delete = 1) AND (g_count_ee_addition = 1) AND (g_count_ee_update = 1))
9201: THEN
9202: pay_in_utils.set_location(g_debug,'Generating Locking...',2);

Line 9202: pay_in_utils.set_location(g_debug,'Generating Locking...',2);

9198: pay_in_utils.set_location(g_debug,'Generating Locking...',1);
9199: --Inserting Assignment Actions and Locking if no deductee records exist for this archival.
9200: IF ((g_count_ee_delete = 1) AND (g_count_ee_addition = 1) AND (g_count_ee_update = 1))
9201: THEN
9202: pay_in_utils.set_location(g_debug,'Generating Locking...',2);
9203: pay_in_utils.set_location(g_debug,'p_payroll_action_id ' || p_payroll_action_id ,1);
9204: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id ' || l_24q_locked_pay_id ,1);
9205: pay_in_utils.set_location(g_debug,'l_24qc_locked_pay_id' || l_24qc_locked_pay_id,1);
9206: generate_locking(p_payroll_action_id,l_24q_locked_pay_id,l_24qc_locked_pay_id,p_chunk);

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

9199: --Inserting Assignment Actions and Locking if no deductee records exist for this archival.
9200: IF ((g_count_ee_delete = 1) AND (g_count_ee_addition = 1) AND (g_count_ee_update = 1))
9201: THEN
9202: pay_in_utils.set_location(g_debug,'Generating Locking...',2);
9203: pay_in_utils.set_location(g_debug,'p_payroll_action_id ' || p_payroll_action_id ,1);
9204: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id ' || l_24q_locked_pay_id ,1);
9205: pay_in_utils.set_location(g_debug,'l_24qc_locked_pay_id' || l_24qc_locked_pay_id,1);
9206: generate_locking(p_payroll_action_id,l_24q_locked_pay_id,l_24qc_locked_pay_id,p_chunk);
9207: END IF;

Line 9204: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id ' || l_24q_locked_pay_id ,1);

9200: IF ((g_count_ee_delete = 1) AND (g_count_ee_addition = 1) AND (g_count_ee_update = 1))
9201: THEN
9202: pay_in_utils.set_location(g_debug,'Generating Locking...',2);
9203: pay_in_utils.set_location(g_debug,'p_payroll_action_id ' || p_payroll_action_id ,1);
9204: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id ' || l_24q_locked_pay_id ,1);
9205: pay_in_utils.set_location(g_debug,'l_24qc_locked_pay_id' || l_24qc_locked_pay_id,1);
9206: generate_locking(p_payroll_action_id,l_24q_locked_pay_id,l_24qc_locked_pay_id,p_chunk);
9207: END IF;
9208:

Line 9205: pay_in_utils.set_location(g_debug,'l_24qc_locked_pay_id' || l_24qc_locked_pay_id,1);

9201: THEN
9202: pay_in_utils.set_location(g_debug,'Generating Locking...',2);
9203: pay_in_utils.set_location(g_debug,'p_payroll_action_id ' || p_payroll_action_id ,1);
9204: pay_in_utils.set_location(g_debug,'l_24q_locked_pay_id ' || l_24q_locked_pay_id ,1);
9205: pay_in_utils.set_location(g_debug,'l_24qc_locked_pay_id' || l_24qc_locked_pay_id,1);
9206: generate_locking(p_payroll_action_id,l_24q_locked_pay_id,l_24qc_locked_pay_id,p_chunk);
9207: END IF;
9208:
9209: g_action := FALSE;

Line 9223: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,100);

9219: END IF;
9220:
9221: END IF;
9222:
9223: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure,100);
9224:
9225: --
9226: EXCEPTION
9227: WHEN OTHERS THEN

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

9224:
9225: --
9226: EXCEPTION
9227: WHEN OTHERS THEN
9228: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
9229: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
9230: END assignment_action_code;
9231:
9232: --------------------------------------------------------------------------

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

9225: --
9226: EXCEPTION
9227: WHEN OTHERS THEN
9228: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
9229: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
9230: END assignment_action_code;
9231:
9232: --------------------------------------------------------------------------
9233: -- --

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

9474: l_message VARCHAR2(300);
9475: BEGIN
9476:
9477: l_procedure := g_package ||'.deinitialization_code';
9478: pay_in_utils.set_location(g_debug,'Entering: '||l_procedure,10);
9479:
9480: IF (g_correction_mode = 'C5')
9481: THEN
9482: RETURN;

Line 9494: pay_in_utils.set_location(g_debug,'Checking in Challans...',2);

9490: THEN
9491: RETURN;
9492: END IF;
9493:
9494: pay_in_utils.set_location(g_debug,'Checking in Challans...',2);
9495: FOR i IN cur_challan_recs(p_payroll_action_id) LOOP
9496: l_index := nvl(l_index, 0) + 1;
9497: t_challan_nos(l_index).challan_no := i.challan;
9498: t_challan_nos(l_index).correction_type := i.correction_type;

Line 9524: pay_in_utils.set_location(g_debug,'Updating API called for Challan ', 3);

9520: t_challan_nos(l_index).correction_type := t_challan_nos(l_index).correction_type||':C5';
9521: END IF;
9522: END IF;
9523:
9524: pay_in_utils.set_location(g_debug,'Updating API called for Challan ', 3);
9525: pay_action_information_api.update_action_information
9526: (p_validate => FALSE
9527: ,p_action_information_id => t_challan_nos(l_index).action_information_id
9528: ,p_object_version_number => t_challan_nos(l_index).object_version_number

Line 9531: pay_in_utils.set_location(g_debug,'Updating API successful for Challan ', 3);

9527: ,p_action_information_id => t_challan_nos(l_index).action_information_id
9528: ,p_object_version_number => t_challan_nos(l_index).object_version_number
9529: ,p_action_information29 => t_challan_nos(l_index).correction_type
9530: );
9531: pay_in_utils.set_location(g_debug,'Updating API successful for Challan ', 3);
9532: l_org_update_string := NVL(l_org_update_string, '1') ||':'||t_challan_nos(l_index).correction_type;
9533:
9534: END LOOP;
9535:

Line 9536: pay_in_utils.set_location(g_debug,'Checked Challans...',2);

9532: l_org_update_string := NVL(l_org_update_string, '1') ||':'||t_challan_nos(l_index).correction_type;
9533:
9534: END LOOP;
9535:
9536: pay_in_utils.set_location(g_debug,'Checked Challans...',2);
9537:
9538:
9539: pay_in_utils.set_location(g_debug,'Updating SD Record Number for A mode in Salary Records : ',3);
9540:

Line 9539: pay_in_utils.set_location(g_debug,'Updating SD Record Number for A mode in Salary Records : ',3);

9535:
9536: pay_in_utils.set_location(g_debug,'Checked Challans...',2);
9537:
9538:
9539: pay_in_utils.set_location(g_debug,'Updating SD Record Number for A mode in Salary Records : ',3);
9540:
9541: l_index := 0;
9542: FOR c_salary_rec IN cur_salary_update_recs
9543: LOOP

Line 9547: pay_in_utils.set_location(g_debug,'l_index...',1);

9543: LOOP
9544: OPEN cur_min_salary_record(c_salary_rec.gre_id);
9545: FETCH cur_min_salary_record INTO l_index;
9546: CLOSE cur_min_salary_record;
9547: pay_in_utils.set_location(g_debug,'l_index...',1);
9548: pay_in_utils.set_location(g_debug,'c_salary_rec.gre_id...',c_salary_rec.gre_id);
9549:
9550: FOR cur_rec IN cur_person_update_recs(c_salary_rec.gre_id)
9551: LOOP

Line 9548: pay_in_utils.set_location(g_debug,'c_salary_rec.gre_id...',c_salary_rec.gre_id);

9544: OPEN cur_min_salary_record(c_salary_rec.gre_id);
9545: FETCH cur_min_salary_record INTO l_index;
9546: CLOSE cur_min_salary_record;
9547: pay_in_utils.set_location(g_debug,'l_index...',1);
9548: pay_in_utils.set_location(g_debug,'c_salary_rec.gre_id...',c_salary_rec.gre_id);
9549:
9550: FOR cur_rec IN cur_person_update_recs(c_salary_rec.gre_id)
9551: LOOP
9552: pay_action_information_api.update_action_information

Line 9559: pay_in_utils.set_location(g_debug,'l_index...',2);

9555: ,p_object_version_number => cur_rec.object_version_number
9556: ,p_action_information12 => l_index
9557: );
9558: l_index := l_index + 1;
9559: pay_in_utils.set_location(g_debug,'l_index...',2);
9560: pay_in_utils.set_location(g_debug,'l_index...',2);
9561: END LOOP;
9562: END LOOP;
9563:

Line 9560: pay_in_utils.set_location(g_debug,'l_index...',2);

9556: ,p_action_information12 => l_index
9557: );
9558: l_index := l_index + 1;
9559: pay_in_utils.set_location(g_debug,'l_index...',2);
9560: pay_in_utils.set_location(g_debug,'l_index...',2);
9561: END LOOP;
9562: END LOOP;
9563:
9564: pay_in_utils.set_location(g_debug,'Updated SD Record Number for A mode in Salary Records : ',3);

Line 9564: pay_in_utils.set_location(g_debug,'Updated SD Record Number for A mode in Salary Records : ',3);

9560: pay_in_utils.set_location(g_debug,'l_index...',2);
9561: END LOOP;
9562: END LOOP;
9563:
9564: pay_in_utils.set_location(g_debug,'Updated SD Record Number for A mode in Salary Records : ',3);
9565:
9566: pay_in_utils.set_location(g_debug,'Checking in Salary Records...',3);
9567:
9568: FOR i IN cur_salary_recs(p_payroll_action_id) LOOP

Line 9566: pay_in_utils.set_location(g_debug,'Checking in Salary Records...',3);

9562: END LOOP;
9563:
9564: pay_in_utils.set_location(g_debug,'Updated SD Record Number for A mode in Salary Records : ',3);
9565:
9566: pay_in_utils.set_location(g_debug,'Checking in Salary Records...',3);
9567:
9568: FOR i IN cur_salary_recs(p_payroll_action_id) LOOP
9569:
9570: OPEN cur_c5_salary_recs(p_payroll_action_id, i.person_id);

Line 9588: pay_in_utils.set_location(g_debug,'Checked Salary Records...',3);

9584: END IF;
9585:
9586: END LOOP;
9587:
9588: pay_in_utils.set_location(g_debug,'Checked Salary Records...',3);
9589:
9590: IF INSTR(l_org_update_string, 'C2') <> 0 THEN
9591: IF org_correction_type is null or org_correction_type = 'C1' THEN
9592: org_correction_type := 'C2';

Line 9627: pay_in_utils.set_location(g_debug,'Updating API called for Org ', 3);

9623: END IF;
9624: END IF;
9625:
9626:
9627: pay_in_utils.set_location(g_debug,'Updating API called for Org ', 3);
9628: pay_action_information_api.update_action_information
9629: (p_validate => FALSE
9630: ,p_action_information_id => l_action_info_id
9631: ,p_object_version_number => l_ovn

Line 9634: pay_in_utils.set_location(g_debug,'Updating API successful for Org ', 3);

9630: ,p_action_information_id => l_action_info_id
9631: ,p_object_version_number => l_ovn
9632: ,p_action_information29 => org_correction_type
9633: );
9634: pay_in_utils.set_location(g_debug,'Updating API successful for Org ', 3);
9635: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.deinitialization_code',1);
9636:
9637: EXCEPTION
9638: WHEN OTHERS THEN

Line 9635: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.deinitialization_code',1);

9631: ,p_object_version_number => l_ovn
9632: ,p_action_information29 => org_correction_type
9633: );
9634: pay_in_utils.set_location(g_debug,'Updating API successful for Org ', 3);
9635: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.deinitialization_code',1);
9636:
9637: EXCEPTION
9638: WHEN OTHERS THEN
9639: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);

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

9635: pay_in_utils.set_location(g_debug,'Leaving: '|| g_package||'.deinitialization_code',1);
9636:
9637: EXCEPTION
9638: WHEN OTHERS THEN
9639: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
9640: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
9641: END deinitialization_code;
9642:
9643:

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

9636:
9637: EXCEPTION
9638: WHEN OTHERS THEN
9639: l_message := pay_in_utils.get_pay_message('PER_IN_ORACLE_GENERIC_ERROR', 'FUNCTION:'||l_procedure, 'SQLERRMC:'||sqlerrm);
9640: pay_in_utils.set_location(g_debug,'Leaving : '||l_procedure, 150);
9641: END deinitialization_code;
9642:
9643:
9644: END pay_in_24qc_archive;