DBA Data[Home] [Help]

APPS.PQH_CEF_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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_COPY_ENTITY_FUNCTIONS_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 71: hr_utility.set_location('Entering:'||l_proc, 5);

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

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

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

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

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

Line 105: hr_utility.raise_error;

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

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

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

Line 110: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 165: hr_utility.raise_error;

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

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

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

Line 170: hr_utility.raise_error;

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

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

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

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

179: --
180: -- The object is locked therefore we need to supply a meaningful
181: -- error message.
182: --
183: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
184: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_functions');
185: hr_utility.raise_error;
186: End lck;
187: --

Line 184: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_functions');

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

Line 185: hr_utility.raise_error;

181: -- error message.
182: --
183: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
184: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_functions');
185: hr_utility.raise_error;
186: End lck;
187: --
188: -- ----------------------------------------------------------------------------
189: -- |-----------------------------< convert_args >-----------------------------|

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

205: l_proc varchar2(72) := g_package||'convert_args';
206: --
207: Begin
208: --
209: hr_utility.set_location('Entering:'||l_proc, 5);
210: --
211: -- Convert arguments into local l_rec structure.
212: --
213: l_rec.copy_entity_function_id := p_copy_entity_function_id;

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

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