DBA Data[Home] [Help]

APPS.PQH_SAT_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_SPECIAL_ATTRIBUTES_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_SPECIAL_ATTRIBUTES_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_SPECIAL_ATTRIBUTES_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_SPECIAL_ATTRIBUTES_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_SPECIAL_ATTRIBUTES_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_SPECIAL_ATTRIBUTES_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_SPECIAL_ATTRIBUTES_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_SPECIAL_ATTRIBUTES_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_SPECIAL_ATTRIBUTES_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_SPECIAL_ATTRIBUTES_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: Else

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_SPECIAL_ATTRIBUTES_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: Else
33: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_SPECIAL_ATTRIBUTES_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: Else
33: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
34: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 31: hr_utility.raise_error;

27: ElsIf (p_constraint_name = 'PQH_SPECIAL_ATTRIBUTES_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: Else
33: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

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

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

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

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

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

Line 36: hr_utility.raise_error;

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

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

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

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

69: l_proc varchar2(72) := g_package||'api_updating';
70: l_fct_ret boolean;
71: --
72: Begin
73: hr_utility.set_location('Entering:'||l_proc, 5);
74: --
75: If (
76: p_special_attribute_id is null and
77: p_object_version_number is null

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

85: If (
86: p_special_attribute_id = g_old_rec.special_attribute_id and
87: p_object_version_number = g_old_rec.object_version_number
88: ) Then
89: hr_utility.set_location(l_proc, 10);
90: --
91: -- The g_old_rec is current therefore we must
92: -- set the returning function to true
93: --

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

102: Close C_Sel1;
103: --
104: -- The primary key is invalid therefore we must error
105: --
106: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
107: hr_utility.raise_error;
108: End If;
109: Close C_Sel1;
110: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 107: hr_utility.raise_error;

103: --
104: -- The primary key is invalid therefore we must error
105: --
106: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
107: hr_utility.raise_error;
108: End If;
109: Close C_Sel1;
110: If (p_object_version_number <> g_old_rec.object_version_number) Then
111: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

107: hr_utility.raise_error;
108: End If;
109: Close C_Sel1;
110: If (p_object_version_number <> g_old_rec.object_version_number) Then
111: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
112: hr_utility.raise_error;
113: End If;
114: hr_utility.set_location(l_proc, 15);
115: l_fct_ret := true;

Line 112: hr_utility.raise_error;

108: End If;
109: Close C_Sel1;
110: If (p_object_version_number <> g_old_rec.object_version_number) Then
111: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
112: hr_utility.raise_error;
113: End If;
114: hr_utility.set_location(l_proc, 15);
115: l_fct_ret := true;
116: End If;

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

110: If (p_object_version_number <> g_old_rec.object_version_number) Then
111: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
112: hr_utility.raise_error;
113: End If;
114: hr_utility.set_location(l_proc, 15);
115: l_fct_ret := true;
116: End If;
117: End If;
118: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

114: hr_utility.set_location(l_proc, 15);
115: l_fct_ret := true;
116: End If;
117: End If;
118: hr_utility.set_location(' Leaving:'||l_proc, 20);
119: Return (l_fct_ret);
120: --
121: End api_updating;
122: --

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

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

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

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

Line 169: hr_utility.raise_error;

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

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

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

Line 174: hr_utility.raise_error;

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

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

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

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

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

Line 188: hr_utility.set_message_token('TABLE_NAME', 'pqh_special_attributes');

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

Line 189: hr_utility.raise_error;

185: -- error message.
186: --
187: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
188: hr_utility.set_message_token('TABLE_NAME', 'pqh_special_attributes');
189: hr_utility.raise_error;
190: End lck;
191: --
192: -- ----------------------------------------------------------------------------
193: -- |-----------------------------< convert_args >-----------------------------|

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

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

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

228: l_rec.context := p_context;
229: --
230: -- Return the plsql record structure.
231: --
232: hr_utility.set_location(' Leaving:'||l_proc, 10);
233: Return(l_rec);
234: --
235: End convert_args;
236: --