DBA Data[Home] [Help]

APPS.PQH_RFT_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 = 'PQH_REF_TEMPLATES_FK1') 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 = 'PQH_REF_TEMPLATES_FK1') 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 = 'PQH_REF_TEMPLATES_PK') 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 = 'PQH_REF_TEMPLATES_FK1') 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 = 'PQH_REF_TEMPLATES_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

20: --
21: If (p_constraint_name = 'PQH_REF_TEMPLATES_FK1') 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 = 'PQH_REF_TEMPLATES_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 25: hr_utility.raise_error;

21: If (p_constraint_name = 'PQH_REF_TEMPLATES_FK1') 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 = 'PQH_REF_TEMPLATES_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');

Line 27: 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 = 'PQH_REF_TEMPLATES_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_REF_TEMPLATES_FK2') 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 = 'PQH_REF_TEMPLATES_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_REF_TEMPLATES_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PQH_REF_TEMPLATES_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_REF_TEMPLATES_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 30: hr_utility.raise_error;

26: ElsIf (p_constraint_name = 'PQH_REF_TEMPLATES_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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 = 'PQH_REF_TEMPLATES_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');

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

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 = 'PQH_REF_TEMPLATES_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_REF_TEMPLATES_UK') Then

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 = 'PQH_REF_TEMPLATES_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_REF_TEMPLATES_UK') Then
37: hr_utility.set_message(8302, 'PQH_DUPLICATE_REF_TEMPLATE');

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

30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PQH_REF_TEMPLATES_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_REF_TEMPLATES_UK') Then
37: hr_utility.set_message(8302, 'PQH_DUPLICATE_REF_TEMPLATE');
38: hr_utility.raise_error;

Line 35: hr_utility.raise_error;

31: ElsIf (p_constraint_name = 'PQH_REF_TEMPLATES_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_REF_TEMPLATES_UK') Then
37: hr_utility.set_message(8302, 'PQH_DUPLICATE_REF_TEMPLATE');
38: hr_utility.raise_error;
39: /**

Line 37: hr_utility.set_message(8302, 'PQH_DUPLICATE_REF_TEMPLATE');

33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_REF_TEMPLATES_UK') Then
37: hr_utility.set_message(8302, 'PQH_DUPLICATE_REF_TEMPLATE');
38: hr_utility.raise_error;
39: /**
40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 38: hr_utility.raise_error;

34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_REF_TEMPLATES_UK') Then
37: hr_utility.set_message(8302, 'PQH_DUPLICATE_REF_TEMPLATE');
38: hr_utility.raise_error;
39: /**
40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.set_message_token('PROCEDURE', l_proc);
42: hr_utility.set_message_token('STEP','20');

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

36: ElsIf (p_constraint_name = 'PQH_REF_TEMPLATES_UK') Then
37: hr_utility.set_message(8302, 'PQH_DUPLICATE_REF_TEMPLATE');
38: hr_utility.raise_error;
39: /**
40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.set_message_token('PROCEDURE', l_proc);
42: hr_utility.set_message_token('STEP','20');
43: hr_utility.raise_error;
44: **/

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

37: hr_utility.set_message(8302, 'PQH_DUPLICATE_REF_TEMPLATE');
38: hr_utility.raise_error;
39: /**
40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.set_message_token('PROCEDURE', l_proc);
42: hr_utility.set_message_token('STEP','20');
43: hr_utility.raise_error;
44: **/
45: Else

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

38: hr_utility.raise_error;
39: /**
40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.set_message_token('PROCEDURE', l_proc);
42: hr_utility.set_message_token('STEP','20');
43: hr_utility.raise_error;
44: **/
45: Else
46: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 43: hr_utility.raise_error;

39: /**
40: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
41: hr_utility.set_message_token('PROCEDURE', l_proc);
42: hr_utility.set_message_token('STEP','20');
43: hr_utility.raise_error;
44: **/
45: Else
46: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
47: hr_utility.set_message_token('PROCEDURE', l_proc);

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

42: hr_utility.set_message_token('STEP','20');
43: hr_utility.raise_error;
44: **/
45: Else
46: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
47: hr_utility.set_message_token('PROCEDURE', l_proc);
48: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
49: hr_utility.raise_error;
50: End If;

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

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

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

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

Line 49: hr_utility.raise_error;

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

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

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

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

77: l_proc varchar2(72) := g_package||'api_updating';
78: l_fct_ret boolean;
79: --
80: Begin
81: hr_utility.set_location('Entering:'||l_proc, 5);
82: --
83: If (
84: p_ref_template_id is null and
85: p_object_version_number is null

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

93: If (
94: p_ref_template_id = g_old_rec.ref_template_id and
95: p_object_version_number = g_old_rec.object_version_number
96: ) Then
97: hr_utility.set_location(l_proc, 10);
98: --
99: -- The g_old_rec is current therefore we must
100: -- set the returning function to true
101: --

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

110: Close C_Sel1;
111: --
112: -- The primary key is invalid therefore we must error
113: --
114: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
115: hr_utility.raise_error;
116: End If;
117: Close C_Sel1;
118: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 115: hr_utility.raise_error;

111: --
112: -- The primary key is invalid therefore we must error
113: --
114: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
115: hr_utility.raise_error;
116: End If;
117: Close C_Sel1;
118: If (p_object_version_number <> g_old_rec.object_version_number) Then
119: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

115: hr_utility.raise_error;
116: End If;
117: Close C_Sel1;
118: If (p_object_version_number <> g_old_rec.object_version_number) Then
119: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
120: hr_utility.raise_error;
121: End If;
122: hr_utility.set_location(l_proc, 15);
123: l_fct_ret := true;

Line 120: hr_utility.raise_error;

116: End If;
117: Close C_Sel1;
118: If (p_object_version_number <> g_old_rec.object_version_number) Then
119: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
120: hr_utility.raise_error;
121: End If;
122: hr_utility.set_location(l_proc, 15);
123: l_fct_ret := true;
124: End If;

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

118: If (p_object_version_number <> g_old_rec.object_version_number) Then
119: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
120: hr_utility.raise_error;
121: End If;
122: hr_utility.set_location(l_proc, 15);
123: l_fct_ret := true;
124: End If;
125: End If;
126: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

122: hr_utility.set_location(l_proc, 15);
123: l_fct_ret := true;
124: End If;
125: End If;
126: hr_utility.set_location(' Leaving:'||l_proc, 20);
127: Return (l_fct_ret);
128: --
129: End api_updating;
130: --

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

151: --
152: l_proc varchar2(72) := g_package||'lck';
153: --
154: Begin
155: hr_utility.set_location('Entering:'||l_proc, 5);
156: --
157: -- Add any mandatory argument checking here:
158: -- Example:
159: -- hr_api.mandatory_arg_error

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

167: Close C_Sel1;
168: --
169: -- The primary key is invalid therefore we must error
170: --
171: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
172: hr_utility.raise_error;
173: End If;
174: Close C_Sel1;
175: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 172: hr_utility.raise_error;

168: --
169: -- The primary key is invalid therefore we must error
170: --
171: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
172: hr_utility.raise_error;
173: End If;
174: Close C_Sel1;
175: If (p_object_version_number <> g_old_rec.object_version_number) Then
176: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

172: hr_utility.raise_error;
173: End If;
174: Close C_Sel1;
175: If (p_object_version_number <> g_old_rec.object_version_number) Then
176: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
177: hr_utility.raise_error;
178: End If;
179: --
180: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 177: hr_utility.raise_error;

173: End If;
174: Close C_Sel1;
175: If (p_object_version_number <> g_old_rec.object_version_number) Then
176: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
177: hr_utility.raise_error;
178: End If;
179: --
180: hr_utility.set_location(' Leaving:'||l_proc, 10);
181: --

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

176: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
177: hr_utility.raise_error;
178: End If;
179: --
180: hr_utility.set_location(' Leaving:'||l_proc, 10);
181: --
182: -- We need to trap the ORA LOCK exception
183: --
184: Exception

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

186: --
187: -- The object is locked therefore we need to supply a meaningful
188: -- error message.
189: --
190: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
191: hr_utility.set_message_token('TABLE_NAME', 'pqh_ref_templates');
192: hr_utility.raise_error;
193: End lck;
194: --

Line 191: hr_utility.set_message_token('TABLE_NAME', 'pqh_ref_templates');

187: -- The object is locked therefore we need to supply a meaningful
188: -- error message.
189: --
190: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
191: hr_utility.set_message_token('TABLE_NAME', 'pqh_ref_templates');
192: hr_utility.raise_error;
193: End lck;
194: --
195: -- ----------------------------------------------------------------------------

Line 192: hr_utility.raise_error;

188: -- error message.
189: --
190: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
191: hr_utility.set_message_token('TABLE_NAME', 'pqh_ref_templates');
192: hr_utility.raise_error;
193: End lck;
194: --
195: -- ----------------------------------------------------------------------------
196: -- |-----------------------------< convert_args >-----------------------------|

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

209: l_proc varchar2(72) := g_package||'convert_args';
210: --
211: Begin
212: --
213: hr_utility.set_location('Entering:'||l_proc, 5);
214: --
215: -- Convert arguments into local l_rec structure.
216: --
217: l_rec.ref_template_id := p_ref_template_id;

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

221: l_rec.object_version_number := p_object_version_number;
222: --
223: -- Return the plsql record structure.
224: --
225: hr_utility.set_location(' Leaving:'||l_proc, 10);
226: Return(l_rec);
227: --
228: End convert_args;
229: --

Line 276: hr_utility.set_location('Entering:'|| l_proc, 10);

272: l_last_update_login pqh_template_attributes.last_update_login%TYPE;
273: --
274: begin
275: --
276: hr_utility.set_location('Entering:'|| l_proc, 10);
277: --
278: /**
279: if p_owner = 'SEED' then
280: l_created_by := 1;

Line 380: hr_utility.set_location(' Leaving:'||l_proc, 70);

376: --
377:
378: End loop;
379: --
380: hr_utility.set_location(' Leaving:'||l_proc, 70);
381: --
382: end create_update_copied_attribute;
383: --
384: --