DBA Data[Home] [Help]

APPS.PAY_MGB_SHD dependencies on HR_UTILITY

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

14: --
15: l_proc varchar2(72) := g_package||'return_api_dml_status';
16: --
17: Begin
18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);

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

18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);
23: End return_api_dml_status;
24: --
25: -- ----------------------------------------------------------------------------
26: -- |---------------------------< constraint_error >---------------------------|

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

30: --
31: l_proc varchar2(72) := g_package||'constraint_error';
32: --
33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PAY_MAGNETIC_BLOCKS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);

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

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PAY_MAGNETIC_BLOCKS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PAY_MGB_MAIN_BLOCK_FLAG_CHK') Then

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

34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PAY_MAGNETIC_BLOCKS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PAY_MGB_MAIN_BLOCK_FLAG_CHK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

35: --
36: If (p_constraint_name = 'PAY_MAGNETIC_BLOCKS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PAY_MGB_MAIN_BLOCK_FLAG_CHK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'PAY_MAGNETIC_BLOCKS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PAY_MGB_MAIN_BLOCK_FLAG_CHK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');

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

38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PAY_MGB_MAIN_BLOCK_FLAG_CHK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else

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

39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PAY_MGB_MAIN_BLOCK_FLAG_CHK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: fnd_message.set_name('PAY', 'HR_7877_API_INVALID_CONSTRAINT');

Line 44: hr_utility.set_message_token('STEP','10');

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PAY_MGB_MAIN_BLOCK_FLAG_CHK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: fnd_message.set_name('PAY', 'HR_7877_API_INVALID_CONSTRAINT');
48: fnd_message.set_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'PAY_MGB_MAIN_BLOCK_FLAG_CHK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: fnd_message.set_name('PAY', 'HR_7877_API_INVALID_CONSTRAINT');
48: fnd_message.set_token('PROCEDURE', l_proc);
49: fnd_message.set_token('CONSTRAINT_NAME', p_constraint_name);

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

49: fnd_message.set_token('CONSTRAINT_NAME', p_constraint_name);
50: fnd_message.raise_error;
51: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);
54: End constraint_error;
55: --
56: -- ----------------------------------------------------------------------------
57: -- |-----------------------------< api_updating >-----------------------------|

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

78: l_proc varchar2(72) := g_package||'api_updating';
79: l_fct_ret boolean;
80: --
81: Begin
82: hr_utility.set_location('Entering:'||l_proc, 5);
83: --
84: If (
85: p_magnetic_block_id is null
86: ) Then

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

92: Else
93: If (
94: p_magnetic_block_id = g_old_rec.magnetic_block_id
95: ) Then
96: hr_utility.set_location(l_proc, 10);
97: --
98: -- The g_old_rec is current therefore we must
99: -- set the returning function to true
100: --

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

109: Close C_Sel1;
110: --
111: -- The primary key is invalid therefore we must error
112: --
113: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
114: hr_utility.raise_error;
115: End If;
116: Close C_Sel1;
117: --

Line 114: hr_utility.raise_error;

110: --
111: -- The primary key is invalid therefore we must error
112: --
113: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
114: hr_utility.raise_error;
115: End If;
116: Close C_Sel1;
117: --
118: hr_utility.set_location(l_proc, 15);

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

114: hr_utility.raise_error;
115: End If;
116: Close C_Sel1;
117: --
118: hr_utility.set_location(l_proc, 15);
119: l_fct_ret := true;
120: End If;
121: End If;
122: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

118: hr_utility.set_location(l_proc, 15);
119: l_fct_ret := true;
120: End If;
121: End If;
122: hr_utility.set_location(' Leaving:'||l_proc, 20);
123: Return (l_fct_ret);
124: --
125: End api_updating;
126: --

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

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

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

163: Close C_Sel1;
164: --
165: -- The primary key is invalid therefore we must error
166: --
167: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
168: hr_utility.raise_error;
169: End If;
170: Close C_Sel1;
171: --

Line 168: hr_utility.raise_error;

164: --
165: -- The primary key is invalid therefore we must error
166: --
167: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
168: hr_utility.raise_error;
169: End If;
170: Close C_Sel1;
171: --
172: --

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

169: End If;
170: Close C_Sel1;
171: --
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', 'pay_magnetic_blocks');
185: hr_utility.raise_error;
186: End lck;
187: --

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

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', 'pay_magnetic_blocks');
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', 'pay_magnetic_blocks');
185: hr_utility.raise_error;
186: End lck;
187: --
188: -- ----------------------------------------------------------------------------
189: -- |-----------------------------< convert_args >-----------------------------|

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

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

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

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

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

241: l_magnetic_block_id PAY_MAGNETIC_BLOCKS.MAGNETIC_BLOCK_ID%TYPE;
242: --
243: Begin
244: --
245: hr_utility.set_location('Entering:'||l_proc, 5);
246:
247: if p_block_name is null or p_report_format is null then
248:
249: return null;

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

265: end if;
266:
267: close csr_magnetic_block_id;
268:
269: hr_utility.set_location(' Leaving:'||l_proc, 10);
270:
271: return l_magnetic_block_id;
272:
273: --