DBA Data[Home] [Help]

APPS.PQH_PTE_SHD dependencies on HR_UTILITY

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

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

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

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

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

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

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

21: --
22: If (p_constraint_name = 'PQH_PTX_EXTRA_INFO_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 26: hr_utility.raise_error;

22: If (p_constraint_name = 'PQH_PTX_EXTRA_INFO_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');

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

24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_PK') Then

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

25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_PK') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_PK') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
34: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 31: hr_utility.raise_error;

27: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_PK') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');

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

29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_PK') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: Else

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

30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_PK') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 35: hr_utility.set_message_token('STEP','15');

31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_PK') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
39: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 36: hr_utility.raise_error;

32: ElsIf (p_constraint_name = 'PQH_PTX_EXTRA_INFO_PK') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
41: hr_utility.raise_error;
42: End If;

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

35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
41: hr_utility.raise_error;
42: End If;
43: --

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

36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
41: hr_utility.raise_error;
42: End If;
43: --
44: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 41: hr_utility.raise_error;

37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
41: hr_utility.raise_error;
42: End If;
43: --
44: hr_utility.set_location(' Leaving:'||l_proc, 10);
45: End constraint_error;

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

40: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
41: hr_utility.raise_error;
42: End If;
43: --
44: hr_utility.set_location(' Leaving:'||l_proc, 10);
45: End constraint_error;
46: --
47: -- ----------------------------------------------------------------------------
48: -- |-----------------------------< api_updating >-----------------------------|

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

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

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

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

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

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

Line 159: hr_utility.raise_error;

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

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

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

Line 164: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 268: hr_utility.raise_error;

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

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

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

Line 273: hr_utility.raise_error;

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

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

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

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

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

Line 287: hr_utility.set_message_token('TABLE_NAME', 'pqh_ptx_extra_info');

283: -- The object is locked therefore we need to supply a meaningful
284: -- error message.
285: --
286: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
287: hr_utility.set_message_token('TABLE_NAME', 'pqh_ptx_extra_info');
288: hr_utility.raise_error;
289: End lck;
290: --
291: -- ----------------------------------------------------------------------------

Line 288: hr_utility.raise_error;

284: -- error message.
285: --
286: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
287: hr_utility.set_message_token('TABLE_NAME', 'pqh_ptx_extra_info');
288: hr_utility.raise_error;
289: End lck;
290: --
291: -- ----------------------------------------------------------------------------
292: -- |-----------------------------< convert_args >-----------------------------|

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

357: l_proc varchar2(72) := g_package||'convert_args';
358: --
359: Begin
360: --
361: hr_utility.set_location('Entering:'||l_proc, 5);
362: --
363: -- Convert arguments into local l_rec structure.
364: --
365: l_rec.ptx_extra_info_id := p_ptx_extra_info_id;

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

421: l_rec.object_version_number := p_object_version_number;
422: --
423: -- Return the plsql record structure.
424: --
425: hr_utility.set_location(' Leaving:'||l_proc, 10);
426: Return(l_rec);
427: --
428: End convert_args;
429: --