DBA Data[Home] [Help]

APPS.PER_PDM_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_PERSON_DLVRY_METHODS_PK') Then
22: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
23: hr_utility.set_message_token('PROCEDURE', l_proc);

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

18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PER_PERSON_DLVRY_METHODS_PK') Then
22: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
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_PERSON_DLVRY_METHODS_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_PERSON_DLVRY_METHODS_PK') Then
22: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
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_PERSON_DLVRY_METHODS_UK1') Then
27: hr_utility.set_message(800, 'HR_52392_PDM_DUP_DLVRY_METHOD');

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

20: --
21: If (p_constraint_name = 'PER_PERSON_DLVRY_METHODS_PK') Then
22: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
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_PERSON_DLVRY_METHODS_UK1') Then
27: hr_utility.set_message(800, 'HR_52392_PDM_DUP_DLVRY_METHOD');
28: --hr_utility.set_message_token('PROCEDURE', l_proc);

Line 25: hr_utility.raise_error;

21: If (p_constraint_name = 'PER_PERSON_DLVRY_METHODS_PK') Then
22: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
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_PERSON_DLVRY_METHODS_UK1') Then
27: hr_utility.set_message(800, 'HR_52392_PDM_DUP_DLVRY_METHOD');
28: --hr_utility.set_message_token('PROCEDURE', l_proc);
29: --hr_utility.set_message_token('STEP','10');

Line 27: hr_utility.set_message(800, 'HR_52392_PDM_DUP_DLVRY_METHOD');

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_PERSON_DLVRY_METHODS_UK1') Then
27: hr_utility.set_message(800, 'HR_52392_PDM_DUP_DLVRY_METHOD');
28: --hr_utility.set_message_token('PROCEDURE', l_proc);
29: --hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PER_PERSON_DLVRY_METHODS_FK1') Then

Line 28: --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_PERSON_DLVRY_METHODS_UK1') Then
27: hr_utility.set_message(800, 'HR_52392_PDM_DUP_DLVRY_METHOD');
28: --hr_utility.set_message_token('PROCEDURE', l_proc);
29: --hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PER_PERSON_DLVRY_METHODS_FK1') Then
32: hr_utility.set_message(800, 'HR_52361_PTU_INVALID_PERSON_ID');

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

25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PER_PERSON_DLVRY_METHODS_UK1') Then
27: hr_utility.set_message(800, 'HR_52392_PDM_DUP_DLVRY_METHOD');
28: --hr_utility.set_message_token('PROCEDURE', l_proc);
29: --hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PER_PERSON_DLVRY_METHODS_FK1') Then
32: hr_utility.set_message(800, 'HR_52361_PTU_INVALID_PERSON_ID');
33: --hr_utility.set_message_token('PROCEDURE', l_proc);

Line 30: hr_utility.raise_error;

26: ElsIf (p_constraint_name = 'PER_PERSON_DLVRY_METHODS_UK1') Then
27: hr_utility.set_message(800, 'HR_52392_PDM_DUP_DLVRY_METHOD');
28: --hr_utility.set_message_token('PROCEDURE', l_proc);
29: --hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PER_PERSON_DLVRY_METHODS_FK1') Then
32: hr_utility.set_message(800, 'HR_52361_PTU_INVALID_PERSON_ID');
33: --hr_utility.set_message_token('PROCEDURE', l_proc);
34: --hr_utility.set_message_token('STEP','15');

Line 32: hr_utility.set_message(800, 'HR_52361_PTU_INVALID_PERSON_ID');

28: --hr_utility.set_message_token('PROCEDURE', l_proc);
29: --hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PER_PERSON_DLVRY_METHODS_FK1') Then
32: hr_utility.set_message(800, 'HR_52361_PTU_INVALID_PERSON_ID');
33: --hr_utility.set_message_token('PROCEDURE', l_proc);
34: --hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: Else

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

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

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

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

Line 35: hr_utility.raise_error;

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

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

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

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

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

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

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

Line 40: hr_utility.raise_error;

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

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

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

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

95: l_proc varchar2(72) := g_package||'api_updating';
96: l_fct_ret boolean;
97: --
98: Begin
99: hr_utility.set_location('Entering:'||l_proc, 5);
100: --
101: If (
102: p_delivery_method_id is null and
103: p_object_version_number is null

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

111: If (
112: p_delivery_method_id = g_old_rec.delivery_method_id and
113: p_object_version_number = g_old_rec.object_version_number
114: ) Then
115: hr_utility.set_location(l_proc, 10);
116: --
117: -- The g_old_rec is current therefore we must
118: -- set the returning function to true
119: --

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

128: Close C_Sel1;
129: --
130: -- The primary key is invalid therefore we must error
131: --
132: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
133: hr_utility.raise_error;
134: End If;
135: Close C_Sel1;
136: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 133: hr_utility.raise_error;

129: --
130: -- The primary key is invalid therefore we must error
131: --
132: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
133: hr_utility.raise_error;
134: End If;
135: Close C_Sel1;
136: If (p_object_version_number <> g_old_rec.object_version_number) Then
137: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

133: hr_utility.raise_error;
134: End If;
135: Close C_Sel1;
136: If (p_object_version_number <> g_old_rec.object_version_number) Then
137: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
138: hr_utility.raise_error;
139: End If;
140: hr_utility.set_location(l_proc, 15);
141: l_fct_ret := true;

Line 138: hr_utility.raise_error;

134: End If;
135: Close C_Sel1;
136: If (p_object_version_number <> g_old_rec.object_version_number) Then
137: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
138: hr_utility.raise_error;
139: End If;
140: hr_utility.set_location(l_proc, 15);
141: l_fct_ret := true;
142: End If;

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

136: If (p_object_version_number <> g_old_rec.object_version_number) Then
137: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
138: hr_utility.raise_error;
139: End If;
140: hr_utility.set_location(l_proc, 15);
141: l_fct_ret := true;
142: End If;
143: End If;
144: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

140: hr_utility.set_location(l_proc, 15);
141: l_fct_ret := true;
142: End If;
143: End If;
144: hr_utility.set_location(' Leaving:'||l_proc, 20);
145: Return (l_fct_ret);
146: --
147: End api_updating;
148: --

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

196: --
197: l_proc varchar2(72) := g_package||'lck';
198: --
199: Begin
200: hr_utility.set_location('Entering:'||l_proc, 5);
201: --
202: -- Add any mandatory argument checking here:
203: -- Example:
204: -- hr_api.mandatory_arg_error

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

212: Close C_Sel1;
213: --
214: -- The primary key is invalid therefore we must error
215: --
216: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
217: hr_utility.raise_error;
218: End If;
219: Close C_Sel1;
220: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 217: hr_utility.raise_error;

213: --
214: -- The primary key is invalid therefore we must error
215: --
216: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
217: hr_utility.raise_error;
218: End If;
219: Close C_Sel1;
220: If (p_object_version_number <> g_old_rec.object_version_number) Then
221: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

217: hr_utility.raise_error;
218: End If;
219: Close C_Sel1;
220: If (p_object_version_number <> g_old_rec.object_version_number) Then
221: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
222: hr_utility.raise_error;
223: End If;
224: --
225: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 222: hr_utility.raise_error;

218: End If;
219: Close C_Sel1;
220: If (p_object_version_number <> g_old_rec.object_version_number) Then
221: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
222: hr_utility.raise_error;
223: End If;
224: --
225: hr_utility.set_location(' Leaving:'||l_proc, 10);
226: --

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

221: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
222: hr_utility.raise_error;
223: End If;
224: --
225: hr_utility.set_location(' Leaving:'||l_proc, 10);
226: --
227: -- We need to trap the ORA LOCK exception
228: --
229: Exception

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

231: --
232: -- The object is locked therefore we need to supply a meaningful
233: -- error message.
234: --
235: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
236: hr_utility.set_message_token('TABLE_NAME', 'per_person_dlvry_methods');
237: hr_utility.raise_error;
238: End lck;
239: --

Line 236: hr_utility.set_message_token('TABLE_NAME', 'per_person_dlvry_methods');

232: -- The object is locked therefore we need to supply a meaningful
233: -- error message.
234: --
235: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
236: hr_utility.set_message_token('TABLE_NAME', 'per_person_dlvry_methods');
237: hr_utility.raise_error;
238: End lck;
239: --
240: -- ----------------------------------------------------------------------------

Line 237: hr_utility.raise_error;

233: -- error message.
234: --
235: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
236: hr_utility.set_message_token('TABLE_NAME', 'per_person_dlvry_methods');
237: hr_utility.raise_error;
238: End lck;
239: --
240: -- ----------------------------------------------------------------------------
241: -- |-----------------------------< convert_args >-----------------------------|

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

281: l_proc varchar2(72) := g_package||'convert_args';
282: --
283: Begin
284: --
285: hr_utility.set_location('Entering:'||l_proc, 5);
286: --
287: -- Convert arguments into local l_rec structure.
288: --
289: l_rec.delivery_method_id := p_delivery_method_id;

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

320: l_rec.attribute20 := p_attribute20;
321: --
322: -- Return the plsql record structure.
323: --
324: hr_utility.set_location(' Leaving:'||l_proc, 10);
325: Return(l_rec);
326: --
327: End convert_args;
328: --