DBA Data[Home] [Help]

APPS.PER_CTR_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 = 'P.ER_CONTACT_RELATIONSHIPS_FK1') Then
37: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
38: hr_utility.raise_error;

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

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'P.ER_CONTACT_RELATIONSHIPS_FK1') Then
37: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_CONTACT_RELATIONSHIPS_PK') Then
40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.raise_error;

Line 38: hr_utility.raise_error;

34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'P.ER_CONTACT_RELATIONSHIPS_FK1') Then
37: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_CONTACT_RELATIONSHIPS_PK') Then
40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_CONT_BONDHOLDER_FLAG_CHK') Then

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

36: If (p_constraint_name = 'P.ER_CONTACT_RELATIONSHIPS_FK1') Then
37: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_CONTACT_RELATIONSHIPS_PK') Then
40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_CONT_BONDHOLDER_FLAG_CHK') Then
43: hr_utility.set_message(801, 'HR_51386_CTR_INV_BONDHLD_FLAG');
44: hr_utility.raise_error;

Line 41: hr_utility.raise_error;

37: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_CONTACT_RELATIONSHIPS_PK') Then
40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_CONT_BONDHOLDER_FLAG_CHK') Then
43: hr_utility.set_message(801, 'HR_51386_CTR_INV_BONDHLD_FLAG');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'PER_CONT_PRIMARY_CONTACT_F_CHK') Then

Line 43: hr_utility.set_message(801, 'HR_51386_CTR_INV_BONDHLD_FLAG');

39: ElsIf (p_constraint_name = 'PER_CONTACT_RELATIONSHIPS_PK') Then
40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_CONT_BONDHOLDER_FLAG_CHK') Then
43: hr_utility.set_message(801, 'HR_51386_CTR_INV_BONDHLD_FLAG');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'PER_CONT_PRIMARY_CONTACT_F_CHK') Then
46: hr_utility.set_message(801, 'HR_51388_CTR_INV_P_CONT_FLAG');
47: hr_utility.raise_error;

Line 44: hr_utility.raise_error;

40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_CONT_BONDHOLDER_FLAG_CHK') Then
43: hr_utility.set_message(801, 'HR_51386_CTR_INV_BONDHLD_FLAG');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'PER_CONT_PRIMARY_CONTACT_F_CHK') Then
46: hr_utility.set_message(801, 'HR_51388_CTR_INV_P_CONT_FLAG');
47: hr_utility.raise_error;
48: ElsIf (p_constraint_name = 'PER_CONT_RLTD_PER_DSGNTR_F_CHK') Then

Line 46: hr_utility.set_message(801, 'HR_51388_CTR_INV_P_CONT_FLAG');

42: ElsIf (p_constraint_name = 'PER_CONT_BONDHOLDER_FLAG_CHK') Then
43: hr_utility.set_message(801, 'HR_51386_CTR_INV_BONDHLD_FLAG');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'PER_CONT_PRIMARY_CONTACT_F_CHK') Then
46: hr_utility.set_message(801, 'HR_51388_CTR_INV_P_CONT_FLAG');
47: hr_utility.raise_error;
48: ElsIf (p_constraint_name = 'PER_CONT_RLTD_PER_DSGNTR_F_CHK') Then
49: hr_utility.set_message(801, 'PER_52379_RLTD_PER_DSGNTR_FLAG');
50: hr_utility.raise_error;

Line 47: hr_utility.raise_error;

43: hr_utility.set_message(801, 'HR_51386_CTR_INV_BONDHLD_FLAG');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'PER_CONT_PRIMARY_CONTACT_F_CHK') Then
46: hr_utility.set_message(801, 'HR_51388_CTR_INV_P_CONT_FLAG');
47: hr_utility.raise_error;
48: ElsIf (p_constraint_name = 'PER_CONT_RLTD_PER_DSGNTR_F_CHK') Then
49: hr_utility.set_message(801, 'PER_52379_RLTD_PER_DSGNTR_FLAG');
50: hr_utility.raise_error;
51: Elsif (p_constraint_name = 'PER_CONT_PERSONAL_F_CHK') Then

Line 49: hr_utility.set_message(801, 'PER_52379_RLTD_PER_DSGNTR_FLAG');

45: ElsIf (p_constraint_name = 'PER_CONT_PRIMARY_CONTACT_F_CHK') Then
46: hr_utility.set_message(801, 'HR_51388_CTR_INV_P_CONT_FLAG');
47: hr_utility.raise_error;
48: ElsIf (p_constraint_name = 'PER_CONT_RLTD_PER_DSGNTR_F_CHK') Then
49: hr_utility.set_message(801, 'PER_52379_RLTD_PER_DSGNTR_FLAG');
50: hr_utility.raise_error;
51: Elsif (p_constraint_name = 'PER_CONT_PERSONAL_F_CHK') Then
52: hr_utility.set_message(801,'PER_52406_PERSONAL_FLAG');
53: hr_utility.raise_error;

Line 50: hr_utility.raise_error;

46: hr_utility.set_message(801, 'HR_51388_CTR_INV_P_CONT_FLAG');
47: hr_utility.raise_error;
48: ElsIf (p_constraint_name = 'PER_CONT_RLTD_PER_DSGNTR_F_CHK') Then
49: hr_utility.set_message(801, 'PER_52379_RLTD_PER_DSGNTR_FLAG');
50: hr_utility.raise_error;
51: Elsif (p_constraint_name = 'PER_CONT_PERSONAL_F_CHK') Then
52: hr_utility.set_message(801,'PER_52406_PERSONAL_FLAG');
53: hr_utility.raise_error;
54: Elsif (p_constraint_name = 'PER_CONT_DEPENDENT_FLAG_CHK') then

Line 52: hr_utility.set_message(801,'PER_52406_PERSONAL_FLAG');

48: ElsIf (p_constraint_name = 'PER_CONT_RLTD_PER_DSGNTR_F_CHK') Then
49: hr_utility.set_message(801, 'PER_52379_RLTD_PER_DSGNTR_FLAG');
50: hr_utility.raise_error;
51: Elsif (p_constraint_name = 'PER_CONT_PERSONAL_F_CHK') Then
52: hr_utility.set_message(801,'PER_52406_PERSONAL_FLAG');
53: hr_utility.raise_error;
54: Elsif (p_constraint_name = 'PER_CONT_DEPENDENT_FLAG_CHK') then
55: hr_utility.set_message(801,'PER_51387_CTR_INV_DEPEND_FLAG');
56: hr_utility.raise_error;

Line 53: hr_utility.raise_error;

49: hr_utility.set_message(801, 'PER_52379_RLTD_PER_DSGNTR_FLAG');
50: hr_utility.raise_error;
51: Elsif (p_constraint_name = 'PER_CONT_PERSONAL_F_CHK') Then
52: hr_utility.set_message(801,'PER_52406_PERSONAL_FLAG');
53: hr_utility.raise_error;
54: Elsif (p_constraint_name = 'PER_CONT_DEPENDENT_FLAG_CHK') then
55: hr_utility.set_message(801,'PER_51387_CTR_INV_DEPEND_FLAG');
56: hr_utility.raise_error;
57: Elsif (p_constraint_name = 'PER_CONT_BENEFICIARY_FLAG_CHK') then

Line 55: hr_utility.set_message(801,'PER_51387_CTR_INV_DEPEND_FLAG');

51: Elsif (p_constraint_name = 'PER_CONT_PERSONAL_F_CHK') Then
52: hr_utility.set_message(801,'PER_52406_PERSONAL_FLAG');
53: hr_utility.raise_error;
54: Elsif (p_constraint_name = 'PER_CONT_DEPENDENT_FLAG_CHK') then
55: hr_utility.set_message(801,'PER_51387_CTR_INV_DEPEND_FLAG');
56: hr_utility.raise_error;
57: Elsif (p_constraint_name = 'PER_CONT_BENEFICIARY_FLAG_CHK') then
58: hr_utility.set_message(801,'PER_51385_CTR_INVALID_BEN_FLAG');
59: hr_utility.raise_error;

Line 56: hr_utility.raise_error;

52: hr_utility.set_message(801,'PER_52406_PERSONAL_FLAG');
53: hr_utility.raise_error;
54: Elsif (p_constraint_name = 'PER_CONT_DEPENDENT_FLAG_CHK') then
55: hr_utility.set_message(801,'PER_51387_CTR_INV_DEPEND_FLAG');
56: hr_utility.raise_error;
57: Elsif (p_constraint_name = 'PER_CONT_BENEFICIARY_FLAG_CHK') then
58: hr_utility.set_message(801,'PER_51385_CTR_INVALID_BEN_FLAG');
59: hr_utility.raise_error;
60: Else

Line 58: hr_utility.set_message(801,'PER_51385_CTR_INVALID_BEN_FLAG');

54: Elsif (p_constraint_name = 'PER_CONT_DEPENDENT_FLAG_CHK') then
55: hr_utility.set_message(801,'PER_51387_CTR_INV_DEPEND_FLAG');
56: hr_utility.raise_error;
57: Elsif (p_constraint_name = 'PER_CONT_BENEFICIARY_FLAG_CHK') then
58: hr_utility.set_message(801,'PER_51385_CTR_INVALID_BEN_FLAG');
59: hr_utility.raise_error;
60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 59: hr_utility.raise_error;

55: hr_utility.set_message(801,'PER_51387_CTR_INV_DEPEND_FLAG');
56: hr_utility.raise_error;
57: Elsif (p_constraint_name = 'PER_CONT_BENEFICIARY_FLAG_CHK') then
58: hr_utility.set_message(801,'PER_51385_CTR_INVALID_BEN_FLAG');
59: hr_utility.raise_error;
60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);
63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

57: Elsif (p_constraint_name = 'PER_CONT_BENEFICIARY_FLAG_CHK') then
58: hr_utility.set_message(801,'PER_51385_CTR_INVALID_BEN_FLAG');
59: hr_utility.raise_error;
60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);
63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
64: hr_utility.raise_error;
65: End If;

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

58: hr_utility.set_message(801,'PER_51385_CTR_INVALID_BEN_FLAG');
59: hr_utility.raise_error;
60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);
63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
64: hr_utility.raise_error;
65: End If;
66: --

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

59: hr_utility.raise_error;
60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);
63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
64: hr_utility.raise_error;
65: End If;
66: --
67: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 64: hr_utility.raise_error;

60: Else
61: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
62: hr_utility.set_message_token('PROCEDURE', l_proc);
63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
64: hr_utility.raise_error;
65: End If;
66: --
67: hr_utility.set_location(' Leaving:'||l_proc, 10);
68: End constraint_error;

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

63: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
64: hr_utility.raise_error;
65: End If;
66: --
67: hr_utility.set_location(' Leaving:'||l_proc, 10);
68: End constraint_error;
69: --
70: -- ----------------------------------------------------------------------------
71: -- |-----------------------------< api_updating >-----------------------------|

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

153: l_proc varchar2(72) := g_package||'api_updating';
154: l_fct_ret boolean;
155: --
156: Begin
157: hr_utility.set_location('Entering:'||l_proc, 5);
158: --
159: If (
160: p_contact_relationship_id is null and
161: p_object_version_number is null

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

169: If (
170: p_contact_relationship_id = g_old_rec.contact_relationship_id and
171: p_object_version_number = g_old_rec.object_version_number
172: ) Then
173: hr_utility.set_location(l_proc, 10);
174: --
175: -- The g_old_rec is current therefore we must
176: -- set the returning function to true
177: --

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

186: Close C_Sel1;
187: --
188: -- The primary key is invalid therefore we must error
189: --
190: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
191: hr_utility.raise_error;
192: End If;
193: Close C_Sel1;
194: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 191: hr_utility.raise_error;

187: --
188: -- The primary key is invalid therefore we must error
189: --
190: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
191: hr_utility.raise_error;
192: End If;
193: Close C_Sel1;
194: If (p_object_version_number <> g_old_rec.object_version_number) Then
195: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

191: hr_utility.raise_error;
192: End If;
193: Close C_Sel1;
194: If (p_object_version_number <> g_old_rec.object_version_number) Then
195: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
196: hr_utility.raise_error;
197: End If;
198: hr_utility.set_location(l_proc, 15);
199: l_fct_ret := true;

Line 196: hr_utility.raise_error;

192: End If;
193: Close C_Sel1;
194: If (p_object_version_number <> g_old_rec.object_version_number) Then
195: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
196: hr_utility.raise_error;
197: End If;
198: hr_utility.set_location(l_proc, 15);
199: l_fct_ret := true;
200: End If;

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

194: If (p_object_version_number <> g_old_rec.object_version_number) Then
195: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
196: hr_utility.raise_error;
197: End If;
198: hr_utility.set_location(l_proc, 15);
199: l_fct_ret := true;
200: End If;
201: End If;
202: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

198: hr_utility.set_location(l_proc, 15);
199: l_fct_ret := true;
200: End If;
201: End If;
202: hr_utility.set_location(' Leaving:'||l_proc, 20);
203: Return (l_fct_ret);
204: --
205: End api_updating;
206: --

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

288: --
289: l_proc varchar2(72) := g_package||'lck';
290: --
291: Begin
292: hr_utility.set_location('Entering:'||l_proc, 5);
293: --
294: -- Add any mandatory argument checking here:
295: -- Example:
296: -- hr_api.mandatory_arg_error

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

304: Close C_Sel1;
305: --
306: -- The primary key is invalid therefore we must error
307: --
308: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
309: hr_utility.raise_error;
310: End If;
311: Close C_Sel1;
312: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 309: hr_utility.raise_error;

305: --
306: -- The primary key is invalid therefore we must error
307: --
308: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
309: hr_utility.raise_error;
310: End If;
311: Close C_Sel1;
312: If (p_object_version_number <> g_old_rec.object_version_number) Then
313: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

309: hr_utility.raise_error;
310: End If;
311: Close C_Sel1;
312: If (p_object_version_number <> g_old_rec.object_version_number) Then
313: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
314: hr_utility.raise_error;
315: End If;
316: --
317: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 314: hr_utility.raise_error;

310: End If;
311: Close C_Sel1;
312: If (p_object_version_number <> g_old_rec.object_version_number) Then
313: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
314: hr_utility.raise_error;
315: End If;
316: --
317: hr_utility.set_location(' Leaving:'||l_proc, 10);
318: --

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

313: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
314: hr_utility.raise_error;
315: End If;
316: --
317: hr_utility.set_location(' Leaving:'||l_proc, 10);
318: --
319: -- We need to trap the ORA LOCK exception
320: --
321: Exception

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

323: --
324: -- The object is locked therefore we need to supply a meaningful
325: -- error message.
326: --
327: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
328: hr_utility.set_message_token('TABLE_NAME', 'per_contact_relationships');
329: hr_utility.raise_error;
330: End lck;
331: --

Line 328: hr_utility.set_message_token('TABLE_NAME', 'per_contact_relationships');

324: -- The object is locked therefore we need to supply a meaningful
325: -- error message.
326: --
327: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
328: hr_utility.set_message_token('TABLE_NAME', 'per_contact_relationships');
329: hr_utility.raise_error;
330: End lck;
331: --
332: -- ----------------------------------------------------------------------------

Line 329: hr_utility.raise_error;

325: -- error message.
326: --
327: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
328: hr_utility.set_message_token('TABLE_NAME', 'per_contact_relationships');
329: hr_utility.raise_error;
330: End lck;
331: --
332: -- ----------------------------------------------------------------------------
333: -- |-----------------------------< convert_args >-----------------------------|

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

406: l_proc varchar2(72) := g_package||'convert_args';
407: --
408: Begin
409: --
410: hr_utility.set_location('Entering:'||l_proc, 5);
411: --
412: -- Convert arguments into local l_rec structure.
413: --
414: l_rec.contact_relationship_id := p_contact_relationship_id;

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

479: --
480: --
481: -- Return the plsql record structure.
482: --
483: hr_utility.set_location(' Leaving:'||l_proc, 10);
484: Return(l_rec);
485: --
486: End convert_args;
487: --