DBA Data[Home] [Help]

APPS.PAY_PWA_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_WCI_ACCOUNTS_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_WCI_ACCOUNTS_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: Else

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

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

35: --
36: If (p_constraint_name = 'PAY_WCI_ACCOUNTS_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: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'PAY_WCI_ACCOUNTS_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: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;

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

39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --

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

40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 45: hr_utility.raise_error;

41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;

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

44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;
50: --
51: -- ----------------------------------------------------------------------------
52: -- |-----------------------------< api_updating >-----------------------------|

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

76: l_proc varchar2(72) := g_package||'api_updating';
77: l_fct_ret boolean;
78: --
79: Begin
80: hr_utility.set_location('Entering:'||l_proc, 5);
81: --
82: If (
83: p_account_id is null and
84: p_object_version_number is null

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

92: If (
93: p_account_id = g_old_rec.account_id and
94: p_object_version_number = g_old_rec.object_version_number
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: If (p_object_version_number <> g_old_rec.object_version_number) Then

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: If (p_object_version_number <> g_old_rec.object_version_number) Then
118: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

114: hr_utility.raise_error;
115: End If;
116: Close C_Sel1;
117: If (p_object_version_number <> g_old_rec.object_version_number) Then
118: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
119: hr_utility.raise_error;
120: End If;
121: hr_utility.set_location(l_proc, 15);
122: l_fct_ret := true;

Line 119: hr_utility.raise_error;

115: End If;
116: Close C_Sel1;
117: If (p_object_version_number <> g_old_rec.object_version_number) Then
118: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
119: hr_utility.raise_error;
120: End If;
121: hr_utility.set_location(l_proc, 15);
122: l_fct_ret := true;
123: End If;

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

117: If (p_object_version_number <> g_old_rec.object_version_number) Then
118: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
119: hr_utility.raise_error;
120: End If;
121: hr_utility.set_location(l_proc, 15);
122: l_fct_ret := true;
123: End If;
124: End If;
125: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

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

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

153: --
154: l_proc varchar2(72) := g_package||'lck';
155: --
156: Begin
157: hr_utility.set_location('Entering:'||l_proc, 5);
158: --
159: -- Add any mandatory argument checking here:
160: -- Example:
161: -- hr_api.mandatory_arg_error

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

169: Close C_Sel1;
170: --
171: -- The primary key is invalid therefore we must error
172: --
173: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
174: hr_utility.raise_error;
175: End If;
176: Close C_Sel1;
177: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 174: hr_utility.raise_error;

170: --
171: -- The primary key is invalid therefore we must error
172: --
173: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
174: hr_utility.raise_error;
175: End If;
176: Close C_Sel1;
177: If (p_object_version_number <> g_old_rec.object_version_number) Then
178: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

174: hr_utility.raise_error;
175: End If;
176: Close C_Sel1;
177: If (p_object_version_number <> g_old_rec.object_version_number) Then
178: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
179: hr_utility.raise_error;
180: End If;
181: --
182: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 179: hr_utility.raise_error;

175: End If;
176: Close C_Sel1;
177: If (p_object_version_number <> g_old_rec.object_version_number) Then
178: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
179: hr_utility.raise_error;
180: End If;
181: --
182: hr_utility.set_location(' Leaving:'||l_proc, 10);
183: --

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

178: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
179: hr_utility.raise_error;
180: End If;
181: --
182: hr_utility.set_location(' Leaving:'||l_proc, 10);
183: --
184: -- We need to trap the ORA LOCK exception
185: --
186: Exception

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

188: --
189: -- The object is locked therefore we need to supply a meaningful
190: -- error message.
191: --
192: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
193: hr_utility.set_message_token('TABLE_NAME', 'pay_wci_accounts');
194: hr_utility.raise_error;
195: End lck;
196: --

Line 193: hr_utility.set_message_token('TABLE_NAME', 'pay_wci_accounts');

189: -- The object is locked therefore we need to supply a meaningful
190: -- error message.
191: --
192: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
193: hr_utility.set_message_token('TABLE_NAME', 'pay_wci_accounts');
194: hr_utility.raise_error;
195: End lck;
196: --
197: -- ----------------------------------------------------------------------------

Line 194: hr_utility.raise_error;

190: -- error message.
191: --
192: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
193: hr_utility.set_message_token('TABLE_NAME', 'pay_wci_accounts');
194: hr_utility.raise_error;
195: End lck;
196: --
197: -- ----------------------------------------------------------------------------
198: -- |-----------------------------< convert_args >-----------------------------|

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

214: l_proc varchar2(72) := g_package||'convert_args';
215: --
216: Begin
217: --
218: hr_utility.set_location('Entering:'||l_proc, 5);
219: --
220: -- Convert arguments into local l_rec structure.
221: --
222: l_rec.account_id := p_account_id;

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

229: l_rec.object_version_number := p_object_version_number;
230: --
231: -- Return the plsql record structure.
232: --
233: hr_utility.set_location(' Leaving:'||l_proc, 10);
234: Return(l_rec);
235: --
236: End convert_args;
237: --