DBA Data[Home] [Help]

APPS.PER_PHN_SHD dependencies on HR_UTILITY

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

15: --
16: l_proc varchar2(72) := g_package||'constraint_error';
17: --
18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PER_PHONES_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);

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

18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PER_PHONES_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else

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

19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PER_PHONES_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

20: --
21: If (p_constraint_name = 'PER_PHONES_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
28: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 25: hr_utility.raise_error;

21: If (p_constraint_name = 'PER_PHONES_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
30: hr_utility.raise_error;
31: End If;

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

24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
30: hr_utility.raise_error;
31: End If;
32: --

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

25: hr_utility.raise_error;
26: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
30: hr_utility.raise_error;
31: End If;
32: --
33: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 30: hr_utility.raise_error;

26: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
30: hr_utility.raise_error;
31: End If;
32: --
33: hr_utility.set_location(' Leaving:'||l_proc, 10);
34: End constraint_error;

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

29: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
30: hr_utility.raise_error;
31: End If;
32: --
33: hr_utility.set_location(' Leaving:'||l_proc, 10);
34: End constraint_error;
35: --
36: -- ----------------------------------------------------------------------------
37: -- |-----------------------------< api_updating >-----------------------------|

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

94: l_proc varchar2(72) := g_package||'api_updating';
95: l_fct_ret boolean;
96: --
97: Begin
98: hr_utility.set_location('Entering:'||l_proc, 5);
99: --
100: If (
101: p_phone_id is null and
102: p_object_version_number is null

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

110: If (
111: p_phone_id = g_old_rec.phone_id and
112: p_object_version_number = g_old_rec.object_version_number
113: ) Then
114: hr_utility.set_location(l_proc, 10);
115: --
116: -- The g_old_rec is current therefore we must
117: -- set the returning function to true
118: --

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

127: Close C_Sel1;
128: --
129: -- The primary key is invalid therefore we must error
130: --
131: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
132: hr_utility.raise_error;
133: End If;
134: Close C_Sel1;
135: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 132: hr_utility.raise_error;

128: --
129: -- The primary key is invalid therefore we must error
130: --
131: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
132: hr_utility.raise_error;
133: End If;
134: Close C_Sel1;
135: If (p_object_version_number <> g_old_rec.object_version_number) Then
136: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

132: hr_utility.raise_error;
133: End If;
134: Close C_Sel1;
135: If (p_object_version_number <> g_old_rec.object_version_number) Then
136: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
137: hr_utility.raise_error;
138: End If;
139: hr_utility.set_location(l_proc, 15);
140: l_fct_ret := true;

Line 137: hr_utility.raise_error;

133: End If;
134: Close C_Sel1;
135: If (p_object_version_number <> g_old_rec.object_version_number) Then
136: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
137: hr_utility.raise_error;
138: End If;
139: hr_utility.set_location(l_proc, 15);
140: l_fct_ret := true;
141: End If;

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

135: If (p_object_version_number <> g_old_rec.object_version_number) Then
136: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
137: hr_utility.raise_error;
138: End If;
139: hr_utility.set_location(l_proc, 15);
140: l_fct_ret := true;
141: End If;
142: End If;
143: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

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

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

204: --
205: l_proc varchar2(72) := g_package||'lck';
206: --
207: Begin
208: hr_utility.set_location('Entering:'||l_proc, 5);
209: --
210: -- Add any mandatory argument checking here:
211: -- Example:
212: -- hr_api.mandatory_arg_error

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

220: Close C_Sel1;
221: --
222: -- The primary key is invalid therefore we must error
223: --
224: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
225: hr_utility.raise_error;
226: End If;
227: Close C_Sel1;
228: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 225: hr_utility.raise_error;

221: --
222: -- The primary key is invalid therefore we must error
223: --
224: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
225: hr_utility.raise_error;
226: End If;
227: Close C_Sel1;
228: If (p_object_version_number <> g_old_rec.object_version_number) Then
229: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

225: hr_utility.raise_error;
226: End If;
227: Close C_Sel1;
228: If (p_object_version_number <> g_old_rec.object_version_number) Then
229: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
230: hr_utility.raise_error;
231: End If;
232: --
233: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 230: hr_utility.raise_error;

226: End If;
227: Close C_Sel1;
228: If (p_object_version_number <> g_old_rec.object_version_number) Then
229: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
230: hr_utility.raise_error;
231: End If;
232: --
233: hr_utility.set_location(' Leaving:'||l_proc, 10);
234: --

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

229: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
230: hr_utility.raise_error;
231: End If;
232: --
233: hr_utility.set_location(' Leaving:'||l_proc, 10);
234: --
235: -- We need to trap the ORA LOCK exception
236: --
237: Exception

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

239: --
240: -- The object is locked therefore we need to supply a meaningful
241: -- error message.
242: --
243: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
244: hr_utility.set_message_token('TABLE_NAME', 'per_phones');
245: hr_utility.raise_error;
246: End lck;
247: --

Line 244: hr_utility.set_message_token('TABLE_NAME', 'per_phones');

240: -- The object is locked therefore we need to supply a meaningful
241: -- error message.
242: --
243: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
244: hr_utility.set_message_token('TABLE_NAME', 'per_phones');
245: hr_utility.raise_error;
246: End lck;
247: --
248: -- ----------------------------------------------------------------------------

Line 245: hr_utility.raise_error;

241: -- error message.
242: --
243: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
244: hr_utility.set_message_token('TABLE_NAME', 'per_phones');
245: hr_utility.raise_error;
246: End lck;
247: --
248: -- ----------------------------------------------------------------------------
249: -- |-----------------------------< convert_args >-----------------------------|

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

298: l_proc varchar2(72) := g_package||'convert_args';
299: --
300: Begin
301: --
302: hr_utility.set_location('Entering:'||l_proc, 5);
303: --
304: -- Convert arguments into local l_rec structure.
305: --
306: l_rec.phone_id := p_phone_id;

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

346: l_rec.object_version_number := p_object_version_number;
347: --
348: -- Return the plsql record structure.
349: --
350: hr_utility.set_location(' Leaving:'||l_proc, 10);
351: Return(l_rec);
352: --
353: End convert_args;
354: --