DBA Data[Home] [Help]

APPS.HR_TRN_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 = 'CHK_TRANSACTION_PRIVILEGE') 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 = 'CHK_TRANSACTION_PRIVILEGE') 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_TRANSACTIONS_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 = 'CHK_TRANSACTION_PRIVILEGE') 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_TRANSACTIONS_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 = 'CHK_TRANSACTION_PRIVILEGE') 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_TRANSACTIONS_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 = 'CHK_TRANSACTION_PRIVILEGE') 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_TRANSACTIONS_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_TRANSACTIONS_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_TRANSACTIONS_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_TRANSACTIONS_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_TRANSACTIONS_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 106: hr_utility.set_location('Entering:'||l_proc, 5);

102: l_proc varchar2(72) := g_package||'api_updating';
103: l_fct_ret boolean;
104: --
105: Begin
106: hr_utility.set_location('Entering:'||l_proc, 5);
107: --
108: If (
109: p_transaction_id is null
110: ) Then

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

116: Else
117: If (
118: p_transaction_id = g_old_rec.transaction_id
119: ) Then
120: hr_utility.set_location(l_proc, 10);
121: --
122: -- The g_old_rec is current therefore we must
123: -- set the returning function to true
124: --

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

133: Close C_Sel1;
134: --
135: -- The primary key is invalid therefore we must error
136: --
137: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
138: hr_utility.raise_error;
139: End If;
140: Close C_Sel1;
141: --

Line 138: hr_utility.raise_error;

134: --
135: -- The primary key is invalid therefore we must error
136: --
137: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
138: hr_utility.raise_error;
139: End If;
140: Close C_Sel1;
141: --
142: hr_utility.set_location(l_proc, 15);

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

138: hr_utility.raise_error;
139: End If;
140: Close C_Sel1;
141: --
142: hr_utility.set_location(l_proc, 15);
143: l_fct_ret := true;
144: End If;
145: End If;
146: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

142: hr_utility.set_location(l_proc, 15);
143: l_fct_ret := true;
144: End If;
145: End If;
146: hr_utility.set_location(' Leaving:'||l_proc, 20);
147: Return (l_fct_ret);
148: --
149: End api_updating;
150: --

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

196: --
197: l_proc varchar2(72) := g_package||'lck';
198: --
199: Begin
200: hr_utility.set_location('Entering:'||l_proc, 5);
201: --
202: -- Add any mandatory argument checking here:
203: -- Example:
204: -- hr_api.mandatory_arg_error

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

212: Close C_Sel1;
213: --
214: -- The primary key is invalid therefore we must error
215: --
216: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
217: hr_utility.raise_error;
218: End If;
219: Close C_Sel1;
220: --

Line 217: hr_utility.raise_error;

213: --
214: -- The primary key is invalid therefore we must error
215: --
216: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
217: hr_utility.raise_error;
218: End If;
219: Close C_Sel1;
220: --
221: --

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

218: End If;
219: Close C_Sel1;
220: --
221: --
222: hr_utility.set_location(' Leaving:'||l_proc, 10);
223: --
224: -- We need to trap the ORA LOCK exception
225: --
226: Exception

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

228: --
229: -- The object is locked therefore we need to supply a meaningful
230: -- error message.
231: --
232: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
233: hr_utility.set_message_token('TABLE_NAME', 'hr_api_transactions');
234: hr_utility.raise_error;
235: End lck;
236: --

Line 233: hr_utility.set_message_token('TABLE_NAME', 'hr_api_transactions');

229: -- The object is locked therefore we need to supply a meaningful
230: -- error message.
231: --
232: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
233: hr_utility.set_message_token('TABLE_NAME', 'hr_api_transactions');
234: hr_utility.raise_error;
235: End lck;
236: --
237: -- ----------------------------------------------------------------------------

Line 234: hr_utility.raise_error;

230: -- error message.
231: --
232: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
233: hr_utility.set_message_token('TABLE_NAME', 'hr_api_transactions');
234: hr_utility.raise_error;
235: End lck;
236: --
237: -- ----------------------------------------------------------------------------
238: -- |-----------------------------< convert_args >-----------------------------|

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

249: l_proc varchar2(72) := g_package||'convert_args';
250: --
251: Begin
252: --
253: hr_utility.set_location('Entering:'||l_proc, 5);
254: --
255: -- Convert arguments into local l_rec structure.
256: --
257:

Line 258: hr_utility.trace(' Start convert_args ');

254: --
255: -- Convert arguments into local l_rec structure.
256: --
257:
258: hr_utility.trace(' Start convert_args ');
259:
260: l_rec.transaction_id := p_transaction_id;
261: l_rec.creator_person_id := p_creator_person_id;
262: l_rec.transaction_privilege := p_transaction_privilege;

Line 267: hr_utility.trace(' End convert_args ');

263: --
264: -- Return the plsql record structure.
265: --
266:
267: hr_utility.trace(' End convert_args ');
268:
269: hr_utility.set_location(' Leaving:'||l_proc, 10);
270: Return(l_rec);
271: --

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

265: --
266:
267: hr_utility.trace(' End convert_args ');
268:
269: hr_utility.set_location(' Leaving:'||l_proc, 10);
270: Return(l_rec);
271: --
272: End convert_args;
273: --

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

312: l_proc varchar2(72) := g_package||'convert_args';
313: --
314: Begin
315: --
316: hr_utility.set_location('Entering:'||l_proc, 5);
317: --
318: -- Convert arguments into local l_rec structure.
319: --
320:

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

352:
353: --
354: -- Return the plsql record structure.
355: --
356: hr_utility.set_location(' Leaving:'||l_proc, 10);
357: Return(l_rec);
358: --
359: End convert_args;
360: