DBA Data[Home] [Help]

APPS.PQH_WFS_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_WORKSHEET_FUND_SRCS_FK1') 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_WORKSHEET_FUND_SRCS_FK1') 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: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_FK2') Then

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_WORKSHEET_FUND_SRCS_FK1') 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: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_FK2') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

20: --
21: If (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_FK1') 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: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_FK2') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 25: hr_utility.raise_error;

21: If (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_FK1') 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: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_FK2') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');

Line 27: 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: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_FK2') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_PK') Then

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

24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_FK2') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_FK2') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 30: hr_utility.raise_error;

26: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_FK2') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');

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

28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_UK') Then

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

29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_UK') Then
37: --

Line 34: hr_utility.set_message_token('STEP','15');

30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_UK') Then
37: --
38: -- Code Changed to provide a more meaningful message on

Line 35: hr_utility.raise_error;

31: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_WORKSHEET_FUND_SRCS_UK') Then
37: --
38: -- Code Changed to provide a more meaningful message on
39: -- unique constraint failure.

Line 41: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_SRCS');

37: --
38: -- Code Changed to provide a more meaningful message on
39: -- unique constraint failure.
40: --
41: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_SRCS');
42: hr_utility.raise_error;
43: /**
44: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
45: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 42: hr_utility.raise_error;

38: -- Code Changed to provide a more meaningful message on
39: -- unique constraint failure.
40: --
41: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_SRCS');
42: hr_utility.raise_error;
43: /**
44: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
45: hr_utility.set_message_token('PROCEDURE', l_proc);
46: hr_utility.set_message_token('STEP','20');

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

40: --
41: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_SRCS');
42: hr_utility.raise_error;
43: /**
44: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
45: hr_utility.set_message_token('PROCEDURE', l_proc);
46: hr_utility.set_message_token('STEP','20');
47: hr_utility.raise_error;
48: **/

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

41: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_SRCS');
42: hr_utility.raise_error;
43: /**
44: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
45: hr_utility.set_message_token('PROCEDURE', l_proc);
46: hr_utility.set_message_token('STEP','20');
47: hr_utility.raise_error;
48: **/
49: Else

Line 46: hr_utility.set_message_token('STEP','20');

42: hr_utility.raise_error;
43: /**
44: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
45: hr_utility.set_message_token('PROCEDURE', l_proc);
46: hr_utility.set_message_token('STEP','20');
47: hr_utility.raise_error;
48: **/
49: Else
50: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 47: hr_utility.raise_error;

43: /**
44: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
45: hr_utility.set_message_token('PROCEDURE', l_proc);
46: hr_utility.set_message_token('STEP','20');
47: hr_utility.raise_error;
48: **/
49: Else
50: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
51: hr_utility.set_message_token('PROCEDURE', l_proc);

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

46: hr_utility.set_message_token('STEP','20');
47: hr_utility.raise_error;
48: **/
49: Else
50: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
51: hr_utility.set_message_token('PROCEDURE', l_proc);
52: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
53: hr_utility.raise_error;
54: End If;

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

47: hr_utility.raise_error;
48: **/
49: Else
50: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
51: hr_utility.set_message_token('PROCEDURE', l_proc);
52: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
53: hr_utility.raise_error;
54: End If;
55: --

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

48: **/
49: Else
50: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
51: hr_utility.set_message_token('PROCEDURE', l_proc);
52: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
53: hr_utility.raise_error;
54: End If;
55: --
56: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 53: hr_utility.raise_error;

49: Else
50: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
51: hr_utility.set_message_token('PROCEDURE', l_proc);
52: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
53: hr_utility.raise_error;
54: End If;
55: --
56: hr_utility.set_location(' Leaving:'||l_proc, 10);
57: End constraint_error;

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

52: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
53: hr_utility.raise_error;
54: End If;
55: --
56: hr_utility.set_location(' Leaving:'||l_proc, 10);
57: End constraint_error;
58: --
59: -- ----------------------------------------------------------------------------
60: -- |-----------------------------< api_updating >-----------------------------|

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

86: l_proc varchar2(72) := g_package||'api_updating';
87: l_fct_ret boolean;
88: --
89: Begin
90: hr_utility.set_location('Entering:'||l_proc, 5);
91: --
92: If (
93: p_worksheet_fund_src_id is null and
94: p_object_version_number is null

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

102: If (
103: p_worksheet_fund_src_id = g_old_rec.worksheet_fund_src_id and
104: p_object_version_number = g_old_rec.object_version_number
105: ) Then
106: hr_utility.set_location(l_proc, 10);
107: --
108: -- The g_old_rec is current therefore we must
109: -- set the returning function to true
110: --

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

119: Close C_Sel1;
120: --
121: -- The primary key is invalid therefore we must error
122: --
123: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
124: hr_utility.raise_error;
125: End If;
126: Close C_Sel1;
127: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 124: hr_utility.raise_error;

120: --
121: -- The primary key is invalid therefore we must error
122: --
123: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
124: hr_utility.raise_error;
125: End If;
126: Close C_Sel1;
127: If (p_object_version_number <> g_old_rec.object_version_number) Then
128: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

124: hr_utility.raise_error;
125: End If;
126: Close C_Sel1;
127: If (p_object_version_number <> g_old_rec.object_version_number) Then
128: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
129: hr_utility.raise_error;
130: End If;
131: hr_utility.set_location(l_proc, 15);
132: l_fct_ret := true;

Line 129: hr_utility.raise_error;

125: End If;
126: Close C_Sel1;
127: If (p_object_version_number <> g_old_rec.object_version_number) Then
128: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
129: hr_utility.raise_error;
130: End If;
131: hr_utility.set_location(l_proc, 15);
132: l_fct_ret := true;
133: End If;

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

127: If (p_object_version_number <> g_old_rec.object_version_number) Then
128: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
129: hr_utility.raise_error;
130: End If;
131: hr_utility.set_location(l_proc, 15);
132: l_fct_ret := true;
133: End If;
134: End If;
135: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

131: hr_utility.set_location(l_proc, 15);
132: l_fct_ret := true;
133: End If;
134: End If;
135: hr_utility.set_location(' Leaving:'||l_proc, 20);
136: Return (l_fct_ret);
137: --
138: End api_updating;
139: --

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

165: --
166: l_proc varchar2(72) := g_package||'lck';
167: --
168: Begin
169: hr_utility.set_location('Entering:'||l_proc, 5);
170: --
171: -- Add any mandatory argument checking here:
172: -- Example:
173: -- hr_api.mandatory_arg_error

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

181: Close C_Sel1;
182: --
183: -- The primary key is invalid therefore we must error
184: --
185: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
186: hr_utility.raise_error;
187: End If;
188: Close C_Sel1;
189: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 186: hr_utility.raise_error;

182: --
183: -- The primary key is invalid therefore we must error
184: --
185: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
186: hr_utility.raise_error;
187: End If;
188: Close C_Sel1;
189: If (p_object_version_number <> g_old_rec.object_version_number) Then
190: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

186: hr_utility.raise_error;
187: End If;
188: Close C_Sel1;
189: If (p_object_version_number <> g_old_rec.object_version_number) Then
190: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
191: hr_utility.raise_error;
192: End If;
193: --
194: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 191: hr_utility.raise_error;

187: End If;
188: Close C_Sel1;
189: If (p_object_version_number <> g_old_rec.object_version_number) Then
190: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
191: hr_utility.raise_error;
192: End If;
193: --
194: hr_utility.set_location(' Leaving:'||l_proc, 10);
195: --

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

190: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
191: hr_utility.raise_error;
192: End If;
193: --
194: hr_utility.set_location(' Leaving:'||l_proc, 10);
195: --
196: -- We need to trap the ORA LOCK exception
197: --
198: Exception

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

200: --
201: -- The object is locked therefore we need to supply a meaningful
202: -- error message.
203: --
204: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
205: hr_utility.set_message_token('TABLE_NAME', 'pqh_worksheet_fund_srcs');
206: hr_utility.raise_error;
207: End lck;
208: --

Line 205: hr_utility.set_message_token('TABLE_NAME', 'pqh_worksheet_fund_srcs');

201: -- The object is locked therefore we need to supply a meaningful
202: -- error message.
203: --
204: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
205: hr_utility.set_message_token('TABLE_NAME', 'pqh_worksheet_fund_srcs');
206: hr_utility.raise_error;
207: End lck;
208: --
209: -- ----------------------------------------------------------------------------

Line 206: hr_utility.raise_error;

202: -- error message.
203: --
204: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
205: hr_utility.set_message_token('TABLE_NAME', 'pqh_worksheet_fund_srcs');
206: hr_utility.raise_error;
207: End lck;
208: --
209: -- ----------------------------------------------------------------------------
210: -- |-----------------------------< convert_args >-----------------------------|

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

228: l_proc varchar2(72) := g_package||'convert_args';
229: --
230: Begin
231: --
232: hr_utility.set_location('Entering:'||l_proc, 5);
233: --
234: -- Convert arguments into local l_rec structure.
235: --
236: l_rec.worksheet_fund_src_id := p_worksheet_fund_src_id;

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

245: l_rec.object_version_number := p_object_version_number;
246: --
247: -- Return the plsql record structure.
248: --
249: hr_utility.set_location(' Leaving:'||l_proc, 10);
250: Return(l_rec);
251: --
252: End convert_args;
253: --