DBA Data[Home] [Help]

APPS.PAY_SF_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 = 'PAY_SHADOW_FORMULAS_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 = 'PAY_SHADOW_FORMULAS_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 = 'PAY_SHADOW_FORMULAS_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 = 'PAY_SHADOW_FORMULAS_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 = 'PAY_SHADOW_FORMULAS_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_formula_id is null and
70: p_object_version_number is null

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

78: If (
79: p_formula_id = g_old_rec.formula_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', 'pay_shadow_formulas');
181: hr_utility.raise_error;
182: End lck;
183: --

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

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', 'pay_shadow_formulas');
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', 'pay_shadow_formulas');
181: hr_utility.raise_error;
182: End lck;
183: --
184: -- ----------------------------------------------------------------------------
185: -- |-----------------------------< convert_args >-----------------------------|

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

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

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

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