DBA Data[Home] [Help]

APPS.GHR_PAY_ELEMENT_ENTRS_AFIUD dependencies on HR_UTILITY

Line 55: hr_utility.set_location('Entering:'|| l_proc , 1);

51: p_element_entry_data => p_old_elmten_record);
52: END get_old_elmten_data;
53:
54: BEGIN
55: hr_utility.set_location('Entering:'|| l_proc , 1);
56: ghr_history_api.get_g_session_var( l_session_var);
57:
58: hr_utility.set_location('Program Name : ' || l_session_var.program_name, 1);
59: hr_utility.set_location('Fire Trigger : ' || l_session_var.fire_trigger, 1);

Line 58: hr_utility.set_location('Program Name : ' || l_session_var.program_name, 1);

54: BEGIN
55: hr_utility.set_location('Entering:'|| l_proc , 1);
56: ghr_history_api.get_g_session_var( l_session_var);
57:
58: hr_utility.set_location('Program Name : ' || l_session_var.program_name, 1);
59: hr_utility.set_location('Fire Trigger : ' || l_session_var.fire_trigger, 1);
60:
61:
62:

Line 59: hr_utility.set_location('Fire Trigger : ' || l_session_var.fire_trigger, 1);

55: hr_utility.set_location('Entering:'|| l_proc , 1);
56: ghr_history_api.get_g_session_var( l_session_var);
57:
58: hr_utility.set_location('Program Name : ' || l_session_var.program_name, 1);
59: hr_utility.set_location('Fire Trigger : ' || l_session_var.fire_trigger, 1);
60:
61:
62:
63: IF l_session_var.fire_trigger = 'Y' THEN

Line 70: hr_utility.set_location( l_proc , 180);

66: end if;
67: ghr_history_api.set_g_session_var( l_session_var);
68:
69: IF lower(l_session_var.program_name) = 'core' THEN
70: hr_utility.set_location( l_proc , 180);
71: ghr_history_api.get_session_date( l_session_date);
72:
73: IF inserting THEN
74: hr_utility.set_location( l_proc , 170);

Line 74: hr_utility.set_location( l_proc , 170);

70: hr_utility.set_location( l_proc , 180);
71: ghr_history_api.get_session_date( l_session_date);
72:
73: IF inserting THEN
74: hr_utility.set_location( l_proc , 170);
75: IF :new.effective_start_date >= l_session_date THEN
76: hr_utility.set_location( l_proc , 160);
77: -- For core forms effective date must be set to effective start date.
78: -- Currently this is not set correctly thru core form. As it sets the

Line 76: hr_utility.set_location( l_proc , 160);

72:
73: IF inserting THEN
74: hr_utility.set_location( l_proc , 170);
75: IF :new.effective_start_date >= l_session_date THEN
76: hr_utility.set_location( l_proc , 160);
77: -- For core forms effective date must be set to effective start date.
78: -- Currently this is not set correctly thru core form. As it sets the
79: -- effective date to session date.
80: l_session_var.date_effective := :new.effective_start_date;

Line 93: hr_utility.set_location( l_proc , 150);

89: p_old_record_data => l_old_elmten_hist_data,
90: p_row_id => :new.rowid
91: );
92: ELSE
93: hr_utility.set_location( l_proc , 150);
94: /* As core form creates a new record for the old record and
95: end dates it. This is not the record which needs to be
96: considered for history.
97: */

Line 104: hr_utility.set_location( l_proc , 140);

100: ELSIF updating THEN
101: IF l_session_date between :new.effective_start_date and
102: :new.effective_end_date THEN
103:
104: hr_utility.set_location( l_proc , 140);
105: get_old_elmten_data( l_old_elmten_data);
106: ghr_history_conv_rg.conv_element_entry_rg_to_hist( p_element_entries_data => l_old_elmten_data,
107: p_history_data => l_old_elmten_hist_data);
108:

Line 124: hr_utility.set_location( l_proc , 130);

120: p_old_record_data => l_old_elmten_hist_data,
121: p_row_id => :new.rowid
122: );
123: ELSE
124: hr_utility.set_location( l_proc , 130);
125: /* This is the case when a record is end dated. No need to
126: maintain History for this record
127: */
128: NULL;

Line 131: hr_utility.set_location( l_proc , 120);

127: */
128: NULL;
129: END IF;
130: ELSE /* ie deleting */
131: hr_utility.set_location( l_proc , 120);
132: ghr_history_api.get_g_session_var( l_session_var);
133: /* Should we allow deletes from core. How should it be handled?? */
134: NULL;
135: END IF;

Line 138: hr_utility.set_location( l_proc , 110);

134: NULL;
135: END IF;
136: ELSIF lower(l_session_var.program_name) = 'sf50' THEN
137: IF inserting THEN
138: hr_utility.set_location( l_proc , 110);
139: ghr_history_api.set_operation_info(
140: p_program_name => l_session_var.program_name,
141: p_date_effective => l_session_var.date_effective,
142: p_table_name => lower(ghr_history_api.g_eleent_table),

Line 149: hr_utility.set_location( l_proc , 100);

145: p_old_record_data => l_old_elmten_hist_data,
146: p_row_id => :new.rowid);
147: ELSIF updating THEN
148: IF (:new.effective_end_date <> :old.effective_end_date) THEN
149: hr_utility.set_location( l_proc , 100);
150: NULL;
151: ELSE
152: hr_utility.set_location('sf50 Updating '|| l_proc , 20);
153: get_old_elmten_data ( l_old_elmten_data);

Line 152: hr_utility.set_location('sf50 Updating '|| l_proc , 20);

148: IF (:new.effective_end_date <> :old.effective_end_date) THEN
149: hr_utility.set_location( l_proc , 100);
150: NULL;
151: ELSE
152: hr_utility.set_location('sf50 Updating '|| l_proc , 20);
153: get_old_elmten_data ( l_old_elmten_data);
154: ghr_history_conv_rg.conv_element_entry_rg_to_hist(
155: p_element_entries_data => l_old_elmten_data,
156: p_history_data => l_old_elmten_hist_data);

Line 169: hr_utility.set_location('Unknown Program Name - ' || l_session_var.program_name ||' :' || l_proc , 10);

165:
166: END IF;
167: END IF;
168: ELSE /* Not a known type */
169: hr_utility.set_location('Unknown Program Name - ' || l_session_var.program_name ||' :' || l_proc , 10);
170: hr_utility.set_message( 8301, 'GHR_UNKNOWN_PGM_TYPE');
171: fnd_message.set_token('PROGRAM_TYPE', l_session_var.program_name);
172: hr_utility.raise_error;
173: /* History not maintained */

Line 170: hr_utility.set_message( 8301, 'GHR_UNKNOWN_PGM_TYPE');

166: END IF;
167: END IF;
168: ELSE /* Not a known type */
169: hr_utility.set_location('Unknown Program Name - ' || l_session_var.program_name ||' :' || l_proc , 10);
170: hr_utility.set_message( 8301, 'GHR_UNKNOWN_PGM_TYPE');
171: fnd_message.set_token('PROGRAM_TYPE', l_session_var.program_name);
172: hr_utility.raise_error;
173: /* History not maintained */
174: END IF;

Line 172: hr_utility.raise_error;

168: ELSE /* Not a known type */
169: hr_utility.set_location('Unknown Program Name - ' || l_session_var.program_name ||' :' || l_proc , 10);
170: hr_utility.set_message( 8301, 'GHR_UNKNOWN_PGM_TYPE');
171: fnd_message.set_token('PROGRAM_TYPE', l_session_var.program_name);
172: hr_utility.raise_error;
173: /* History not maintained */
174: END IF;
175: END IF;
176: hr_utility.set_location('Leaving:'|| l_proc , 1);

Line 176: hr_utility.set_location('Leaving:'|| l_proc , 1);

172: hr_utility.raise_error;
173: /* History not maintained */
174: END IF;
175: END IF;
176: hr_utility.set_location('Leaving:'|| l_proc , 1);
177: END GHR_PAY_ELEMENT_ENTRS_AFIUD;
178: