DBA Data[Home] [Help]

APPS.PQH_RLT_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_ROUTING_LISTS_PK') 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_ROUTING_LISTS_PK') 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: Else

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

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

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

Line 25: hr_utility.raise_error;

21: If (p_constraint_name = 'PQH_ROUTING_LISTS_PK') 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: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

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

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

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

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

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

Line 30: hr_utility.raise_error;

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

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

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

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

57: l_proc varchar2(72) := g_package||'api_updating';
58: l_fct_ret boolean;
59: --
60: Begin
61: hr_utility.set_location('Entering:'||l_proc, 5);
62: --
63: If (
64: p_routing_list_id is null and
65: p_object_version_number is null

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

73: If (
74: p_routing_list_id = g_old_rec.routing_list_id and
75: p_object_version_number = g_old_rec.object_version_number
76: ) Then
77: hr_utility.set_location(l_proc, 10);
78: --
79: -- The g_old_rec is current therefore we must
80: -- set the returning function to true
81: --

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

90: Close C_Sel1;
91: --
92: -- The primary key is invalid therefore we must error
93: --
94: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
95: hr_utility.raise_error;
96: End If;
97: Close C_Sel1;
98: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 95: hr_utility.raise_error;

91: --
92: -- The primary key is invalid therefore we must error
93: --
94: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
95: hr_utility.raise_error;
96: End If;
97: Close C_Sel1;
98: If (p_object_version_number <> g_old_rec.object_version_number) Then
99: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

95: hr_utility.raise_error;
96: End If;
97: Close C_Sel1;
98: If (p_object_version_number <> g_old_rec.object_version_number) Then
99: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
100: hr_utility.raise_error;
101: End If;
102: hr_utility.set_location(l_proc, 15);
103: l_fct_ret := true;

Line 100: hr_utility.raise_error;

96: End If;
97: Close C_Sel1;
98: If (p_object_version_number <> g_old_rec.object_version_number) Then
99: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
100: hr_utility.raise_error;
101: End If;
102: hr_utility.set_location(l_proc, 15);
103: l_fct_ret := true;
104: End If;

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

98: If (p_object_version_number <> g_old_rec.object_version_number) Then
99: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
100: hr_utility.raise_error;
101: End If;
102: hr_utility.set_location(l_proc, 15);
103: l_fct_ret := true;
104: End If;
105: End If;
106: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

102: hr_utility.set_location(l_proc, 15);
103: l_fct_ret := true;
104: End If;
105: End If;
106: hr_utility.set_location(' Leaving:'||l_proc, 20);
107: Return (l_fct_ret);
108: --
109: End api_updating;
110: --

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

130: --
131: l_proc varchar2(72) := g_package||'lck';
132: --
133: Begin
134: hr_utility.set_location('Entering:'||l_proc, 5);
135: --
136: -- Add any mandatory argument checking here:
137: -- Example:
138: -- hr_api.mandatory_arg_error

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

146: Close C_Sel1;
147: --
148: -- The primary key is invalid therefore we must error
149: --
150: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
151: hr_utility.raise_error;
152: End If;
153: Close C_Sel1;
154: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 151: hr_utility.raise_error;

147: --
148: -- The primary key is invalid therefore we must error
149: --
150: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
151: hr_utility.raise_error;
152: End If;
153: Close C_Sel1;
154: If (p_object_version_number <> g_old_rec.object_version_number) Then
155: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

151: hr_utility.raise_error;
152: End If;
153: Close C_Sel1;
154: If (p_object_version_number <> g_old_rec.object_version_number) Then
155: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
156: hr_utility.raise_error;
157: End If;
158: --
159: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 156: hr_utility.raise_error;

152: End If;
153: Close C_Sel1;
154: If (p_object_version_number <> g_old_rec.object_version_number) Then
155: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
156: hr_utility.raise_error;
157: End If;
158: --
159: hr_utility.set_location(' Leaving:'||l_proc, 10);
160: --

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

155: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
156: hr_utility.raise_error;
157: End If;
158: --
159: hr_utility.set_location(' Leaving:'||l_proc, 10);
160: --
161: -- We need to trap the ORA LOCK exception
162: --
163: Exception

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

165: --
166: -- The object is locked therefore we need to supply a meaningful
167: -- error message.
168: --
169: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
170: hr_utility.set_message_token('TABLE_NAME', 'pqh_routing_lists');
171: hr_utility.raise_error;
172: End lck;
173: --

Line 170: hr_utility.set_message_token('TABLE_NAME', 'pqh_routing_lists');

166: -- The object is locked therefore we need to supply a meaningful
167: -- error message.
168: --
169: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
170: hr_utility.set_message_token('TABLE_NAME', 'pqh_routing_lists');
171: hr_utility.raise_error;
172: End lck;
173: --
174: -- ----------------------------------------------------------------------------

Line 171: hr_utility.raise_error;

167: -- error message.
168: --
169: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
170: hr_utility.set_message_token('TABLE_NAME', 'pqh_routing_lists');
171: hr_utility.raise_error;
172: End lck;
173: --
174: -- ----------------------------------------------------------------------------
175: -- |-----------------------------< convert_args >-----------------------------|

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

187: l_proc varchar2(72) := g_package||'convert_args';
188: --
189: Begin
190: --
191: hr_utility.set_location('Entering:'||l_proc, 5);
192: --
193: -- Convert arguments into local l_rec structure.
194: --
195: l_rec.routing_list_id := p_routing_list_id;

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

198: l_rec.object_version_number := p_object_version_number;
199: --
200: -- Return the plsql record structure.
201: --
202: hr_utility.set_location(' Leaving:'||l_proc, 10);
203: Return(l_rec);
204: --
205: End convert_args;
206: --