DBA Data[Home] [Help]

APPS.PER_SHA_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_STD_HOLIDAY_ABSENCES_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_STD_HOLIDAY_ABSENCES_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_STD_HOLIDAY_ABSENCES_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_STD_HOLIDAY_ABSENCES_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_STD_HOLIDAY_ABSENCES_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 86: hr_utility.set_location('Entering:'||l_proc, 5);

82: l_proc varchar2(72) := g_package||'api_updating';
83: l_fct_ret boolean;
84: --
85: Begin
86: hr_utility.set_location('Entering:'||l_proc, 5);
87: --
88: If (
89: p_std_holiday_absences_id is null and
90: p_object_version_number is null

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

98: If (
99: p_std_holiday_absences_id = g_old_rec.std_holiday_absences_id and
100: p_object_version_number = g_old_rec.object_version_number
101: ) Then
102: hr_utility.set_location(l_proc, 10);
103: --
104: -- The g_old_rec is current therefore we must
105: -- set the returning function to true
106: --

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

115: Close C_Sel1;
116: --
117: -- The primary key is invalid therefore we must error
118: --
119: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
120: hr_utility.raise_error;
121: End If;
122: Close C_Sel1;
123: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 120: hr_utility.raise_error;

116: --
117: -- The primary key is invalid therefore we must error
118: --
119: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
120: hr_utility.raise_error;
121: End If;
122: Close C_Sel1;
123: If (p_object_version_number <> g_old_rec.object_version_number) Then
124: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

120: hr_utility.raise_error;
121: End If;
122: Close C_Sel1;
123: If (p_object_version_number <> g_old_rec.object_version_number) Then
124: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
125: hr_utility.raise_error;
126: End If;
127: hr_utility.set_location(l_proc, 15);
128: l_fct_ret := true;

Line 125: hr_utility.raise_error;

121: End If;
122: Close C_Sel1;
123: If (p_object_version_number <> g_old_rec.object_version_number) Then
124: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
125: hr_utility.raise_error;
126: End If;
127: hr_utility.set_location(l_proc, 15);
128: l_fct_ret := true;
129: End If;

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

123: If (p_object_version_number <> g_old_rec.object_version_number) Then
124: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
125: hr_utility.raise_error;
126: End If;
127: hr_utility.set_location(l_proc, 15);
128: l_fct_ret := true;
129: End If;
130: End If;
131: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

127: hr_utility.set_location(l_proc, 15);
128: l_fct_ret := true;
129: End If;
130: End If;
131: hr_utility.set_location(' Leaving:'||l_proc, 20);
132: Return (l_fct_ret);
133: --
134: End api_updating;
135: --

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

180: --
181: l_proc varchar2(72) := g_package||'lck';
182: --
183: Begin
184: hr_utility.set_location('Entering:'||l_proc, 5);
185: --
186: -- Add any mandatory argument checking here:
187: -- Example:
188: -- hr_api.mandatory_arg_error

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

196: Close C_Sel1;
197: --
198: -- The primary key is invalid therefore we must error
199: --
200: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
201: hr_utility.raise_error;
202: End If;
203: Close C_Sel1;
204: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 201: hr_utility.raise_error;

197: --
198: -- The primary key is invalid therefore we must error
199: --
200: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
201: hr_utility.raise_error;
202: End If;
203: Close C_Sel1;
204: If (p_object_version_number <> g_old_rec.object_version_number) Then
205: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

201: hr_utility.raise_error;
202: End If;
203: Close C_Sel1;
204: If (p_object_version_number <> g_old_rec.object_version_number) Then
205: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
206: hr_utility.raise_error;
207: End If;
208: --
209: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 206: hr_utility.raise_error;

202: End If;
203: Close C_Sel1;
204: If (p_object_version_number <> g_old_rec.object_version_number) Then
205: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
206: hr_utility.raise_error;
207: End If;
208: --
209: hr_utility.set_location(' Leaving:'||l_proc, 10);
210: --

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

205: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
206: hr_utility.raise_error;
207: End If;
208: --
209: hr_utility.set_location(' Leaving:'||l_proc, 10);
210: --
211: -- We need to trap the ORA LOCK exception
212: --
213: Exception

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

215: --
216: -- The object is locked therefore we need to supply a meaningful
217: -- error message.
218: --
219: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
220: hr_utility.set_message_token('TABLE_NAME', 'per_std_holiday_absences');
221: hr_utility.raise_error;
222: End lck;
223: --

Line 220: hr_utility.set_message_token('TABLE_NAME', 'per_std_holiday_absences');

216: -- The object is locked therefore we need to supply a meaningful
217: -- error message.
218: --
219: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
220: hr_utility.set_message_token('TABLE_NAME', 'per_std_holiday_absences');
221: hr_utility.raise_error;
222: End lck;
223: --
224: -- ----------------------------------------------------------------------------

Line 221: hr_utility.raise_error;

217: -- error message.
218: --
219: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
220: hr_utility.set_message_token('TABLE_NAME', 'per_std_holiday_absences');
221: hr_utility.raise_error;
222: End lck;
223: --
224: -- ----------------------------------------------------------------------------
225: -- |-----------------------------< convert_args >-----------------------------|

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

262: l_proc varchar2(72) := g_package||'convert_args';
263: --
264: Begin
265: --
266: hr_utility.set_location('Entering:'||l_proc, 5);
267: --
268: -- Convert arguments into local l_rec structure.
269: --
270: l_rec.std_holiday_absences_id := p_std_holiday_absences_id;

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

298: l_rec.object_version_number := p_object_version_number;
299: --
300: -- Return the plsql record structure.
301: --
302: hr_utility.set_location(' Leaving:'||l_proc, 10);
303: Return(l_rec);
304: --
305: End convert_args;
306: --