DBA Data[Home] [Help]

APPS.HR_TRS_SHD dependencies on HR_UTILITY

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

14: --
15: l_proc varchar2(72) := g_package||'return_api_dml_status';
16: --
17: Begin
18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 22: hr_utility.set_location(' Leaving:'||l_proc, 10);

18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);
23: End return_api_dml_status;
24: --
25: -- ----------------------------------------------------------------------------
26: -- |---------------------------< constraint_error >---------------------------|

Line 34: hr_utility.set_location('Entering:'||l_proc, 5);

30: --
31: l_proc varchar2(72) := g_package||'constraint_error';
32: --
33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'HR_API_TRANSACTION_STEPS_FK1') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'HR_API_TRANSACTION_STEPS_FK1') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_STEPS_PK') Then

Line 38: hr_utility.set_message_token('PROCEDURE', l_proc);

34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'HR_API_TRANSACTION_STEPS_FK1') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_STEPS_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 39: hr_utility.set_message_token('STEP','5');

35: --
36: If (p_constraint_name = 'HR_API_TRANSACTION_STEPS_FK1') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_STEPS_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'HR_API_TRANSACTION_STEPS_FK1') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_STEPS_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');

Line 42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_STEPS_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else

Line 43: hr_utility.set_message_token('PROCEDURE', l_proc);

39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_STEPS_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 44: hr_utility.set_message_token('STEP','10');

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_STEPS_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_STEPS_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

Line 47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;

Line 48: hr_utility.set_message_token('PROCEDURE', l_proc);

44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --

Line 49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 50: hr_utility.raise_error;

46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);
54: End constraint_error;

Line 53: hr_utility.set_location(' Leaving:'||l_proc, 10);

49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);
54: End constraint_error;
55: --
56: -- ----------------------------------------------------------------------------
57: -- |-----------------------------< api_updating >-----------------------------|

Line 127: hr_utility.set_location('Entering:'||l_proc, 5);

123: l_proc varchar2(72) := g_package||'api_updating';
124: l_fct_ret boolean;
125: --
126: Begin
127: hr_utility.set_location('Entering:'||l_proc, 5);
128: --
129: If (
130: p_transaction_step_id is null and
131: p_object_version_number is null

Line 143: hr_utility.set_location(l_proc, 10);

139: If (
140: p_transaction_step_id = g_old_rec.transaction_step_id and
141: p_object_version_number = g_old_rec.object_version_number
142: ) Then
143: hr_utility.set_location(l_proc, 10);
144: --
145: -- The g_old_rec is current therefore we must
146: -- set the returning function to true
147: --

Line 160: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');

156: Close C_Sel1;
157: --
158: -- The primary key is invalid therefore we must error
159: --
160: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
161: hr_utility.raise_error;
162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 161: hr_utility.raise_error;

157: --
158: -- The primary key is invalid therefore we must error
159: --
160: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
161: hr_utility.raise_error;
162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

Line 165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

161: hr_utility.raise_error;
162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
166: hr_utility.raise_error;
167: End If;
168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;

Line 166: hr_utility.raise_error;

162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
166: hr_utility.raise_error;
167: End If;
168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;

Line 168: hr_utility.set_location(l_proc, 15);

164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
166: hr_utility.raise_error;
167: End If;
168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;
171: End If;
172: hr_utility.set_location(' Leaving:'||l_proc, 20);

Line 172: hr_utility.set_location(' Leaving:'||l_proc, 20);

168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;
171: End If;
172: hr_utility.set_location(' Leaving:'||l_proc, 20);
173: Return (l_fct_ret);
174: --
175: End api_updating;
176: --

Line 247: hr_utility.set_location('Entering:'||l_proc, 5);

243: --
244: l_proc varchar2(72) := g_package||'lck';
245: --
246: Begin
247: hr_utility.set_location('Entering:'||l_proc, 5);
248: --
249: -- Add any mandatory argument checking here:
250: -- Example:
251: -- hr_api.mandatory_arg_error

Line 263: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');

259: Close C_Sel1;
260: --
261: -- The primary key is invalid therefore we must error
262: --
263: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
264: hr_utility.raise_error;
265: End If;
266: Close C_Sel1;
267: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 264: hr_utility.raise_error;

260: --
261: -- The primary key is invalid therefore we must error
262: --
263: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
264: hr_utility.raise_error;
265: End If;
266: Close C_Sel1;
267: If (p_object_version_number <> g_old_rec.object_version_number) Then
268: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

Line 268: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

264: hr_utility.raise_error;
265: End If;
266: Close C_Sel1;
267: If (p_object_version_number <> g_old_rec.object_version_number) Then
268: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
269: hr_utility.raise_error;
270: End If;
271: --
272: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 269: hr_utility.raise_error;

265: End If;
266: Close C_Sel1;
267: If (p_object_version_number <> g_old_rec.object_version_number) Then
268: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
269: hr_utility.raise_error;
270: End If;
271: --
272: hr_utility.set_location(' Leaving:'||l_proc, 10);
273: --

Line 272: hr_utility.set_location(' Leaving:'||l_proc, 10);

268: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
269: hr_utility.raise_error;
270: End If;
271: --
272: hr_utility.set_location(' Leaving:'||l_proc, 10);
273: --
274: -- We need to trap the ORA LOCK exception
275: --
276: Exception

Line 282: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');

278: --
279: -- The object is locked therefore we need to supply a meaningful
280: -- error message.
281: --
282: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
283: hr_utility.set_message_token('TABLE_NAME', 'hr_api_transaction_steps');
284: hr_utility.raise_error;
285: End lck;
286: --

Line 283: hr_utility.set_message_token('TABLE_NAME', 'hr_api_transaction_steps');

279: -- The object is locked therefore we need to supply a meaningful
280: -- error message.
281: --
282: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
283: hr_utility.set_message_token('TABLE_NAME', 'hr_api_transaction_steps');
284: hr_utility.raise_error;
285: End lck;
286: --
287: -- ----------------------------------------------------------------------------

Line 284: hr_utility.raise_error;

280: -- error message.
281: --
282: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
283: hr_utility.set_message_token('TABLE_NAME', 'hr_api_transaction_steps');
284: hr_utility.raise_error;
285: End lck;
286: --
287: -- ----------------------------------------------------------------------------
288: -- |-----------------------------< convert_args >-----------------------------|

Line 352: hr_utility.set_location('Entering:'||l_proc, 5);

348: l_proc varchar2(72) := g_package||'convert_args';
349: --
350: Begin
351: --
352: hr_utility.set_location('Entering:'||l_proc, 5);
353: --
354: -- Convert arguments into local l_rec structure.
355: --
356: l_rec.transaction_step_id := p_transaction_step_id;

Line 410: hr_utility.set_location(' Leaving:'||l_proc, 10);

406: l_rec.information30 := p_information30;
407: --
408: -- Return the plsql record structure.
409: --
410: hr_utility.set_location(' Leaving:'||l_proc, 10);
411: Return(l_rec);
412: --
413: End convert_args;
414: --