DBA Data[Home] [Help]

APPS.PER_ASN_SHD dependencies on PER_ASSESSMENTS

Line 22: If (p_constraint_name = 'PER_ASSESSMENTS_DATE_CHK') Then

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

Line 27: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_DATE_END_CHK') Then

23: hr_utility.set_message(801, 'HR_51591_ASN_END_STA_DATE_ERR');
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 = 'PER_ASSESSMENTS_DATE_END_CHK') Then
28: hr_utility.set_message(801, 'HR_51590_ASN_START_DATE_NULL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;

Line 32: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_FK1') Then

28: hr_utility.set_message(801, 'HR_51590_ASN_START_DATE_NULL');
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 = 'PER_ASSESSMENTS_FK1') Then
33: hr_utility.set_message(801, 'HR_51583_ASN_NO_AST_EXISTS');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;

Line 37: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_FK2') Then

33: hr_utility.set_message(801, 'HR_51583_ASN_NO_AST_EXISTS');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_FK2') Then
38: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('STEP','20');
41: hr_utility.raise_error;

Line 42: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_FK3') Then

38: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('STEP','20');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_FK3') Then
43: hr_utility.set_message(801, 'HR_51592_ASN_GROUP_NO_EXIST');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');
46: hr_utility.raise_error;

Line 47: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_FK4') Then

43: hr_utility.set_message(801, 'HR_51592_ASN_GROUP_NO_EXIST');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');
46: hr_utility.raise_error;
47: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_FK4') Then
48: hr_utility.set_message(801, 'HR_51830_ASN_APPRAI_NO_EXIST');
49: hr_utility.set_message_token('PROCEDURE', l_proc);
50: hr_utility.set_message_token('STEP','25');
51: hr_utility.raise_error;

Line 52: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_PK') Then

48: hr_utility.set_message(801, 'HR_51830_ASN_APPRAI_NO_EXIST');
49: hr_utility.set_message_token('PROCEDURE', l_proc);
50: hr_utility.set_message_token('STEP','25');
51: hr_utility.raise_error;
52: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_PK') Then
53: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
54: hr_utility.set_message_token('PROCEDURE', l_proc);
55: hr_utility.set_message_token('STEP','30');
56: hr_utility.raise_error;

Line 57: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_UK1') Then

53: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
54: hr_utility.set_message_token('PROCEDURE', l_proc);
55: hr_utility.set_message_token('STEP','30');
56: hr_utility.raise_error;
57: ElsIf (p_constraint_name = 'PER_ASSESSMENTS_UK1') Then
58: hr_utility.set_message(801, 'HR_51593_ASN_DUP_ROW_EXIST');
59: hr_utility.set_message_token('PROCEDURE', l_proc);
60: hr_utility.set_message_token('STEP','35');
61: hr_utility.raise_error;

Line 123: from per_assessments

119: attribute18,
120: attribute19,
121: attribute20,
122: object_version_number
123: from per_assessments
124: where assessment_id = p_assessment_id;
125: --
126: l_proc varchar2(72) := g_package||'api_updating';
127: l_fct_ret boolean;

Line 229: from per_assessments

225: attribute18,
226: attribute19,
227: attribute20,
228: object_version_number
229: from per_assessments
230: where assessment_id = p_assessment_id
231: for update nowait;
232: --
233: l_proc varchar2(72) := g_package||'lck';

Line 272: hr_utility.set_message_token('TABLE_NAME', 'per_assessments');

268: -- The object is locked therefore we need to supply a meaningful
269: -- error message.
270: --
271: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
272: hr_utility.set_message_token('TABLE_NAME', 'per_assessments');
273: hr_utility.raise_error;
274: End lck;
275: --
276: -- ----------------------------------------------------------------------------