DBA Data[Home] [Help]

APPS.OTA_PMM_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 = 'OTA_PMM_REQUIRED_FLAG_CHK') Then
37: hr_utility.set_message(801, 'OTA_13423_PMM_REQUIRED_FLAG');
38: hr_utility.raise_error;

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

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'OTA_PMM_REQUIRED_FLAG_CHK') Then
37: hr_utility.set_message(801, 'OTA_13423_PMM_REQUIRED_FLAG');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_FK1') Then
40: hr_utility.set_message(801, 'OTA_13424_PMM_NO_EVENT');
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 = 'OTA_PMM_REQUIRED_FLAG_CHK') Then
37: hr_utility.set_message(801, 'OTA_13423_PMM_REQUIRED_FLAG');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_FK1') Then
40: hr_utility.set_message(801, 'OTA_13424_PMM_NO_EVENT');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_FK2') Then

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

36: If (p_constraint_name = 'OTA_PMM_REQUIRED_FLAG_CHK') Then
37: hr_utility.set_message(801, 'OTA_13423_PMM_REQUIRED_FLAG');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_FK1') Then
40: hr_utility.set_message(801, 'OTA_13424_PMM_NO_EVENT');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_FK2') Then
43: hr_utility.set_message(801, 'OTA_13425_PMM_NO_PROGRAM');
44: hr_utility.raise_error;

Line 41: hr_utility.raise_error;

37: hr_utility.set_message(801, 'OTA_13423_PMM_REQUIRED_FLAG');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_FK1') Then
40: hr_utility.set_message(801, 'OTA_13424_PMM_NO_EVENT');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_FK2') Then
43: hr_utility.set_message(801, 'OTA_13425_PMM_NO_PROGRAM');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_PK') Then

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

39: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_FK1') Then
40: hr_utility.set_message(801, 'OTA_13424_PMM_NO_EVENT');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_FK2') Then
43: hr_utility.set_message(801, 'OTA_13425_PMM_NO_PROGRAM');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_PK') Then
46: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
47: hr_utility.raise_error;

Line 44: hr_utility.raise_error;

40: hr_utility.set_message(801, 'OTA_13424_PMM_NO_EVENT');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_FK2') Then
43: hr_utility.set_message(801, 'OTA_13425_PMM_NO_PROGRAM');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_PK') Then
46: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
47: hr_utility.raise_error;
48: Else

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

42: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_FK2') Then
43: hr_utility.set_message(801, 'OTA_13425_PMM_NO_PROGRAM');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_PK') Then
46: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
47: hr_utility.raise_error;
48: Else
49: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
50: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 47: hr_utility.raise_error;

43: hr_utility.set_message(801, 'OTA_13425_PMM_NO_PROGRAM');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_PK') Then
46: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
47: hr_utility.raise_error;
48: Else
49: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
50: hr_utility.set_message_token('PROCEDURE', l_proc);
51: hr_utility.set_message_token('STEP','25');

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

45: ElsIf (p_constraint_name = 'OTA_PROGRAM_MEMBERSHIPS_PK') Then
46: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
47: hr_utility.raise_error;
48: Else
49: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
50: hr_utility.set_message_token('PROCEDURE', l_proc);
51: hr_utility.set_message_token('STEP','25');
52: hr_utility.raise_error;
53: End If;

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

46: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
47: hr_utility.raise_error;
48: Else
49: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
50: hr_utility.set_message_token('PROCEDURE', l_proc);
51: hr_utility.set_message_token('STEP','25');
52: hr_utility.raise_error;
53: End If;
54: --

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

47: hr_utility.raise_error;
48: Else
49: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
50: hr_utility.set_message_token('PROCEDURE', l_proc);
51: hr_utility.set_message_token('STEP','25');
52: hr_utility.raise_error;
53: End If;
54: --
55: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 52: hr_utility.raise_error;

48: Else
49: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
50: hr_utility.set_message_token('PROCEDURE', l_proc);
51: hr_utility.set_message_token('STEP','25');
52: hr_utility.raise_error;
53: End If;
54: --
55: hr_utility.set_location(' Leaving:'||l_proc, 10);
56: End constraint_error;

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

51: hr_utility.set_message_token('STEP','25');
52: hr_utility.raise_error;
53: End If;
54: --
55: hr_utility.set_location(' Leaving:'||l_proc, 10);
56: End constraint_error;
57: --
58: -- ----------------------------------------------------------------------------
59: -- |-----------------------------< api_updating >-----------------------------|

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

105: l_proc varchar2(72) := g_package||'api_updating';
106: l_fct_ret boolean;
107: --
108: Begin
109: hr_utility.set_location('Entering:'||l_proc, 5);
110: --
111: If (
112: p_program_membership_id is null and
113: p_object_version_number is null

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

121: If (
122: p_program_membership_id = g_old_rec.program_membership_id and
123: p_object_version_number = g_old_rec.object_version_number
124: ) Then
125: hr_utility.set_location(l_proc, 10);
126: --
127: -- The g_old_rec is current therefore we must
128: -- set the returning function to true
129: --

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

138: Close C_Sel1;
139: --
140: -- The primary key is invalid therefore we must error
141: --
142: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
143: hr_utility.raise_error;
144: End If;
145: Close C_Sel1;
146: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 143: hr_utility.raise_error;

139: --
140: -- The primary key is invalid therefore we must error
141: --
142: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
143: hr_utility.raise_error;
144: End If;
145: Close C_Sel1;
146: If (p_object_version_number <> g_old_rec.object_version_number) Then
147: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

143: hr_utility.raise_error;
144: End If;
145: Close C_Sel1;
146: If (p_object_version_number <> g_old_rec.object_version_number) Then
147: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
148: hr_utility.raise_error;
149: End If;
150: hr_utility.set_location(l_proc, 15);
151: l_fct_ret := true;

Line 148: hr_utility.raise_error;

144: End If;
145: Close C_Sel1;
146: If (p_object_version_number <> g_old_rec.object_version_number) Then
147: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
148: hr_utility.raise_error;
149: End If;
150: hr_utility.set_location(l_proc, 15);
151: l_fct_ret := true;
152: End If;

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

146: If (p_object_version_number <> g_old_rec.object_version_number) Then
147: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
148: hr_utility.raise_error;
149: End If;
150: hr_utility.set_location(l_proc, 15);
151: l_fct_ret := true;
152: End If;
153: End If;
154: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

150: hr_utility.set_location(l_proc, 15);
151: l_fct_ret := true;
152: End If;
153: End If;
154: hr_utility.set_location(' Leaving:'||l_proc, 20);
155: Return (l_fct_ret);
156: --
157: End api_updating;
158: --

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

204: --
205: l_proc varchar2(72) := g_package||'lck';
206: --
207: Begin
208: hr_utility.set_location('Entering:'||l_proc, 5);
209: --
210: -- Add any mandatory argument checking here:
211: -- Example:
212: -- hr_api.mandatory_arg_error

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

220: Close C_Sel1;
221: --
222: -- The primary key is invalid therefore we must error
223: --
224: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
225: hr_utility.raise_error;
226: End If;
227: Close C_Sel1;
228: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 225: hr_utility.raise_error;

221: --
222: -- The primary key is invalid therefore we must error
223: --
224: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
225: hr_utility.raise_error;
226: End If;
227: Close C_Sel1;
228: If (p_object_version_number <> g_old_rec.object_version_number) Then
229: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

225: hr_utility.raise_error;
226: End If;
227: Close C_Sel1;
228: If (p_object_version_number <> g_old_rec.object_version_number) Then
229: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
230: hr_utility.raise_error;
231: End If;
232: --
233: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 230: hr_utility.raise_error;

226: End If;
227: Close C_Sel1;
228: If (p_object_version_number <> g_old_rec.object_version_number) Then
229: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
230: hr_utility.raise_error;
231: End If;
232: --
233: hr_utility.set_location(' Leaving:'||l_proc, 10);
234: --

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

229: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
230: hr_utility.raise_error;
231: End If;
232: --
233: hr_utility.set_location(' Leaving:'||l_proc, 10);
234: --
235: -- We need to trap the ORA LOCK exception
236: --
237: Exception

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

239: --
240: -- The object is locked therefore we need to supply a meaningful
241: -- error message.
242: --
243: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
244: hr_utility.set_message_token('TABLE_NAME', 'ota_program_memberships');
245: hr_utility.raise_error;
246: End lck;
247: --

Line 244: hr_utility.set_message_token('TABLE_NAME', 'ota_program_memberships');

240: -- The object is locked therefore we need to supply a meaningful
241: -- error message.
242: --
243: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
244: hr_utility.set_message_token('TABLE_NAME', 'ota_program_memberships');
245: hr_utility.raise_error;
246: End lck;
247: --
248: -- ----------------------------------------------------------------------------

Line 245: hr_utility.raise_error;

241: -- error message.
242: --
243: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
244: hr_utility.set_message_token('TABLE_NAME', 'ota_program_memberships');
245: hr_utility.raise_error;
246: End lck;
247: --
248: -- ----------------------------------------------------------------------------
249: -- |-----------------------------< convert_args >-----------------------------|

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

287: l_proc varchar2(72) := g_package||'convert_args';
288: --
289: Begin
290: --
291: hr_utility.set_location('Entering:'||l_proc, 5);
292: --
293: -- Convert arguments into local l_rec structure.
294: --
295: l_rec.program_membership_id := p_program_membership_id;

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

324: l_rec.pmm_information20 := p_pmm_information20;
325: --
326: -- Return the plsql record structure.
327: --
328: hr_utility.set_location(' Leaving:'||l_proc, 10);
329: Return(l_rec);
330: --
331: End convert_args;
332: --