DBA Data[Home] [Help]

APPS.PQH_RNG_SHD dependencies on HR_UTILITY

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

16: --
17: l_proc varchar2(72) := g_package||'constraint_error';
18: --
19: Begin
20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);

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

19: Begin
20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK2') Then

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

20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

21: --
22: If (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 26: hr_utility.raise_error;

22: If (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');

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

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 = 'PQH_ATTRIBUTE_RANGES_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK3') Then

Line 29: 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 = 'PQH_ATTRIBUTE_RANGES_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK3') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK3') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
34: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 31: hr_utility.raise_error;

27: ElsIf (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK3') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');

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

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 = 'PQH_ATTRIBUTE_RANGES_FK3') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK4') Then

Line 34: 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 = 'PQH_ATTRIBUTE_RANGES_FK3') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK4') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_FK3') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK4') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
39: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 36: hr_utility.raise_error;

32: ElsIf (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_FK3') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_FK4') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('STEP','20');

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

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 = 'PQH_ATTRIBUTE_RANGES_FK4') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_PK') Then

Line 39: 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 = 'PQH_ATTRIBUTE_RANGES_FK4') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_PK') Then
43: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 40: hr_utility.set_message_token('STEP','20');

36: hr_utility.raise_error;
37: ElsIf (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_FK4') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_PK') Then
43: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
44: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 41: hr_utility.raise_error;

37: ElsIf (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_FK4') Then
38: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_ATTRIBUTE_RANGES_PK') Then
43: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');

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

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 = 'PQH_ATTRIBUTE_RANGES_PK') Then
43: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');
46: hr_utility.raise_error;
47: Else

Line 44: 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 = 'PQH_ATTRIBUTE_RANGES_PK') Then
43: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');
46: hr_utility.raise_error;
47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_PK') Then
43: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');
46: hr_utility.raise_error;
47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
49: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 46: hr_utility.raise_error;

42: ElsIf (p_constraint_name = 'PQH_ATTRIBUTE_RANGES_PK') Then
43: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');
46: hr_utility.raise_error;
47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
49: hr_utility.set_message_token('PROCEDURE', l_proc);
50: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('STEP','25');
46: hr_utility.raise_error;
47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
49: hr_utility.set_message_token('PROCEDURE', l_proc);
50: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
51: hr_utility.raise_error;
52: End If;

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

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

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

46: hr_utility.raise_error;
47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
49: hr_utility.set_message_token('PROCEDURE', l_proc);
50: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
51: hr_utility.raise_error;
52: End If;
53: --
54: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 51: hr_utility.raise_error;

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

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

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

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

91: l_proc varchar2(72) := g_package||'api_updating';
92: l_fct_ret boolean;
93: --
94: Begin
95: hr_utility.set_location('Entering:'||l_proc, 5);
96: --
97: If (
98: p_attribute_range_id is null and
99: p_object_version_number is null

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

107: If (
108: p_attribute_range_id = g_old_rec.attribute_range_id and
109: p_object_version_number = g_old_rec.object_version_number
110: ) Then
111: hr_utility.set_location(l_proc, 10);
112: --
113: -- The g_old_rec is current therefore we must
114: -- set the returning function to true
115: --

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

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

Line 129: hr_utility.raise_error;

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

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

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

Line 134: hr_utility.raise_error;

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

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

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

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

136: hr_utility.set_location(l_proc, 15);
137: l_fct_ret := true;
138: End If;
139: End If;
140: hr_utility.set_location(' Leaving:'||l_proc, 20);
141: Return (l_fct_ret);
142: --
143: End api_updating;
144: --

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

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

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

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

Line 198: hr_utility.raise_error;

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

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

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

Line 203: hr_utility.raise_error;

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

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

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

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

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

Line 217: hr_utility.set_message_token('TABLE_NAME', 'pqh_attribute_ranges');

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

Line 218: hr_utility.raise_error;

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

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

247: l_proc varchar2(72) := g_package||'convert_args';
248: --
249: Begin
250: --
251: hr_utility.set_location('Entering:'||l_proc, 5);
252: --
253: -- Convert arguments into local l_rec structure.
254: --
255: l_rec.attribute_range_id := p_attribute_range_id;

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

271: l_rec.object_version_number := p_object_version_number;
272: --
273: -- Return the plsql record structure.
274: --
275: hr_utility.set_location(' Leaving:'||l_proc, 10);
276: Return(l_rec);
277: --
278: End convert_args;
279: --