DBA Data[Home] [Help]

APPS.PQH_CEC_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_CONTEXTS_UK') Then
23: hr_utility.set_message(8302, 'PQH_COPY_ENTITY_CONTEXTS_UK');
24: -- hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 23: hr_utility.set_message(8302, 'PQH_COPY_ENTITY_CONTEXTS_UK');

19: Begin
20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PQH_COPY_ENTITY_CONTEXTS_UK') Then
23: hr_utility.set_message(8302, 'PQH_COPY_ENTITY_CONTEXTS_UK');
24: -- hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
25: -- hr_utility.set_message_token('PROCEDURE', l_proc);
26: -- hr_utility.set_message_token('STEP','5');
27: hr_utility.raise_error;

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

20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PQH_COPY_ENTITY_CONTEXTS_UK') Then
23: hr_utility.set_message(8302, 'PQH_COPY_ENTITY_CONTEXTS_UK');
24: -- hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
25: -- hr_utility.set_message_token('PROCEDURE', l_proc);
26: -- hr_utility.set_message_token('STEP','5');
27: hr_utility.raise_error;
28: Else

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

21: --
22: If (p_constraint_name = 'PQH_COPY_ENTITY_CONTEXTS_UK') Then
23: hr_utility.set_message(8302, 'PQH_COPY_ENTITY_CONTEXTS_UK');
24: -- hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
25: -- hr_utility.set_message_token('PROCEDURE', l_proc);
26: -- hr_utility.set_message_token('STEP','5');
27: hr_utility.raise_error;
28: Else
29: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

22: If (p_constraint_name = 'PQH_COPY_ENTITY_CONTEXTS_UK') Then
23: hr_utility.set_message(8302, 'PQH_COPY_ENTITY_CONTEXTS_UK');
24: -- hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
25: -- hr_utility.set_message_token('PROCEDURE', l_proc);
26: -- hr_utility.set_message_token('STEP','5');
27: hr_utility.raise_error;
28: Else
29: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
30: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 27: hr_utility.raise_error;

23: hr_utility.set_message(8302, 'PQH_COPY_ENTITY_CONTEXTS_UK');
24: -- hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
25: -- hr_utility.set_message_token('PROCEDURE', l_proc);
26: -- hr_utility.set_message_token('STEP','5');
27: hr_utility.raise_error;
28: Else
29: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
30: hr_utility.set_message_token('PROCEDURE', l_proc);
31: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

25: -- hr_utility.set_message_token('PROCEDURE', l_proc);
26: -- hr_utility.set_message_token('STEP','5');
27: hr_utility.raise_error;
28: Else
29: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
30: hr_utility.set_message_token('PROCEDURE', l_proc);
31: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
32: hr_utility.raise_error;
33: End If;

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

26: -- hr_utility.set_message_token('STEP','5');
27: hr_utility.raise_error;
28: Else
29: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
30: hr_utility.set_message_token('PROCEDURE', l_proc);
31: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
32: hr_utility.raise_error;
33: End If;
34: --

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

27: hr_utility.raise_error;
28: Else
29: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
30: hr_utility.set_message_token('PROCEDURE', l_proc);
31: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
32: hr_utility.raise_error;
33: End If;
34: --
35: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 32: hr_utility.raise_error;

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

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

31: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
32: hr_utility.raise_error;
33: End If;
34: --
35: hr_utility.set_location(' Leaving:'||l_proc, 10);
36: End constraint_error;
37: --
38: -- ----------------------------------------------------------------------------
39: -- |-----------------------------< api_updating >-----------------------------|

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

61: l_proc varchar2(72) := g_package||'api_updating';
62: l_fct_ret boolean;
63: --
64: Begin
65: hr_utility.set_location('Entering:'||l_proc, 5);
66: hr_utility.set_location('Context '||p_context, 6);
67: hr_utility.set_location('OVN '||p_object_version_number, 6);
68: --
69: If (

Line 66: hr_utility.set_location('Context '||p_context, 6);

62: l_fct_ret boolean;
63: --
64: Begin
65: hr_utility.set_location('Entering:'||l_proc, 5);
66: hr_utility.set_location('Context '||p_context, 6);
67: hr_utility.set_location('OVN '||p_object_version_number, 6);
68: --
69: If (
70: -- p_context is null and

Line 67: hr_utility.set_location('OVN '||p_object_version_number, 6);

63: --
64: Begin
65: hr_utility.set_location('Entering:'||l_proc, 5);
66: hr_utility.set_location('Context '||p_context, 6);
67: hr_utility.set_location('OVN '||p_object_version_number, 6);
68: --
69: If (
70: -- p_context is null and
71: p_object_version_number is null

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

79: If (
80: p_context = g_old_rec.context and
81: p_object_version_number = g_old_rec.object_version_number
82: ) Then
83: hr_utility.set_location(l_proc, 10);
84: --
85: -- The g_old_rec is current therefore we must
86: -- set the returning function to true
87: --

Line 100: hr_utility.set_location(l_proc, 11);

96: Close C_Sel1;
97: --
98: -- The primary key is invalid therefore we must error
99: --
100: hr_utility.set_location(l_proc, 11);
101: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
102: hr_utility.raise_error;
103: End If;
104: Close C_Sel1;

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

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

Line 102: hr_utility.raise_error;

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

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

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

Line 107: hr_utility.raise_error;

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

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

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

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

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

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

139: --
140: l_proc varchar2(72) := g_package||'lck';
141: --
142: Begin
143: hr_utility.set_location('Entering:'||l_proc, 5);
144: --
145: -- Add any mandatory argument checking here:
146: -- Example:
147: -- hr_api.mandatory_arg_error

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

155: Close C_Sel1;
156: --
157: -- The primary key is invalid therefore we must error
158: --
159: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
160: hr_utility.raise_error;
161: End If;
162: Close C_Sel1;
163: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 160: hr_utility.raise_error;

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

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

160: hr_utility.raise_error;
161: End If;
162: Close C_Sel1;
163: If (p_object_version_number <> g_old_rec.object_version_number) Then
164: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
165: hr_utility.raise_error;
166: End If;
167: --
168: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 165: hr_utility.raise_error;

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

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

164: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
165: hr_utility.raise_error;
166: End If;
167: --
168: hr_utility.set_location(' Leaving:'||l_proc, 10);
169: --
170: -- We need to trap the ORA LOCK exception
171: --
172: Exception

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

174: --
175: -- The object is locked therefore we need to supply a meaningful
176: -- error message.
177: --
178: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
179: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_contexts');
180: hr_utility.raise_error;
181: End lck;
182: --

Line 179: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_contexts');

175: -- The object is locked therefore we need to supply a meaningful
176: -- error message.
177: --
178: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
179: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_contexts');
180: hr_utility.raise_error;
181: End lck;
182: --
183: -- ----------------------------------------------------------------------------

Line 180: hr_utility.raise_error;

176: -- error message.
177: --
178: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
179: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_contexts');
180: hr_utility.raise_error;
181: End lck;
182: --
183: -- ----------------------------------------------------------------------------
184: -- |-----------------------------< convert_args >-----------------------------|

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

198: l_proc varchar2(72) := g_package||'convert_args';
199: --
200: Begin
201: --
202: hr_utility.set_location('Entering:'||l_proc, 5);
203: --
204: -- Convert arguments into local l_rec structure.
205: --
206: l_rec.context := p_context;

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

211: l_rec.object_version_number := p_object_version_number;
212: --
213: -- Return the plsql record structure.
214: --
215: hr_utility.set_location(' Leaving:'||l_proc, 10);
216: Return(l_rec);
217: --
218: End convert_args;
219: --