DBA Data[Home] [Help]

APPS.PQH_FYN_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_FYI_NOTIFY_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_FYI_NOTIFY_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_FYI_NOTIFY_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_FYI_NOTIFY_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_FYI_NOTIFY_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 66: hr_utility.set_location('Entering:'||l_proc, 5);

62: l_proc varchar2(72) := g_package||'api_updating';
63: l_fct_ret boolean;
64: --
65: Begin
66: hr_utility.set_location('Entering:'||l_proc, 5);
67: --
68: If (
69: p_fyi_notified_id is null and
70: p_object_version_number is null

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

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

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

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

Line 100: hr_utility.raise_error;

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

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

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

Line 105: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 161: hr_utility.raise_error;

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

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

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

Line 166: hr_utility.raise_error;

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

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

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

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

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

Line 180: hr_utility.set_message_token('TABLE_NAME', 'pqh_fyi_notify');

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

Line 181: hr_utility.raise_error;

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

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

202: l_proc varchar2(72) := g_package||'convert_args';
203: --
204: Begin
205: --
206: hr_utility.set_location('Entering:'||l_proc, 5);
207: --
208: -- Convert arguments into local l_rec structure.
209: --
210: l_rec.fyi_notified_id := p_fyi_notified_id;

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

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