DBA Data[Home] [Help]

APPS.PER_ASR_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_ASSESSMENT_GROUPS_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_ASSESSMENT_GROUPS_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: ElsIf (p_constraint_name = 'PER_ASSESSMENT_GROUPS_NAME_UK1') Then

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_ASSESSMENT_GROUPS_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: ElsIf (p_constraint_name = 'PER_ASSESSMENT_GROUPS_NAME_UK1') Then
27: hr_utility.set_message(801, 'HR_51594_ASR_NAME_NOT_UNIQ');

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

20: --
21: If (p_constraint_name = 'PER_ASSESSMENT_GROUPS_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: ElsIf (p_constraint_name = 'PER_ASSESSMENT_GROUPS_NAME_UK1') Then
27: hr_utility.set_message(801, 'HR_51594_ASR_NAME_NOT_UNIQ');
28: hr_utility.raise_error;

Line 25: hr_utility.raise_error;

21: If (p_constraint_name = 'PER_ASSESSMENT_GROUPS_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: ElsIf (p_constraint_name = 'PER_ASSESSMENT_GROUPS_NAME_UK1') Then
27: hr_utility.set_message(801, 'HR_51594_ASR_NAME_NOT_UNIQ');
28: hr_utility.raise_error;
29: Else

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

23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PER_ASSESSMENT_GROUPS_NAME_UK1') Then
27: hr_utility.set_message(801, 'HR_51594_ASR_NAME_NOT_UNIQ');
28: hr_utility.raise_error;
29: Else
30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
31: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 28: hr_utility.raise_error;

24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PER_ASSESSMENT_GROUPS_NAME_UK1') Then
27: hr_utility.set_message(801, 'HR_51594_ASR_NAME_NOT_UNIQ');
28: hr_utility.raise_error;
29: Else
30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
31: hr_utility.set_message_token('PROCEDURE', l_proc);
32: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

26: ElsIf (p_constraint_name = 'PER_ASSESSMENT_GROUPS_NAME_UK1') Then
27: hr_utility.set_message(801, 'HR_51594_ASR_NAME_NOT_UNIQ');
28: hr_utility.raise_error;
29: Else
30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
31: hr_utility.set_message_token('PROCEDURE', l_proc);
32: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
33: hr_utility.raise_error;
34: End If;

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

27: hr_utility.set_message(801, 'HR_51594_ASR_NAME_NOT_UNIQ');
28: hr_utility.raise_error;
29: Else
30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
31: hr_utility.set_message_token('PROCEDURE', l_proc);
32: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
33: hr_utility.raise_error;
34: End If;
35: --

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

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

Line 33: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 121: hr_utility.raise_error;

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

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

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

Line 126: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 200: hr_utility.raise_error;

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

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

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

Line 205: hr_utility.raise_error;

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

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

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

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

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

Line 219: hr_utility.set_message_token('TABLE_NAME', 'per_assessment_groups');

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

Line 220: hr_utility.raise_error;

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

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

259: l_proc varchar2(72) := g_package||'convert_args';
260: --
261: Begin
262: --
263: hr_utility.set_location('Entering:'||l_proc, 5);
264: --
265: -- Convert arguments into local l_rec structure.
266: --
267: l_rec.assessment_group_id := p_assessment_group_id;

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

293: l_rec.object_version_number := p_object_version_number;
294: --
295: -- Return the plsql record structure.
296: --
297: hr_utility.set_location(' Leaving:'||l_proc, 10);
298: Return(l_rec);
299: --
300: End convert_args;
301: --