DBA Data[Home] [Help]

APPS.PQH_DFS_SHD dependencies on HR_UTILITY

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

16: --
17: l_proc varchar2(72) := g_package||'constraint_error';
18: --
19: Begin
20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PQH_DFLT_FUND_SRCS_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);

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

19: Begin
20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PQH_DFLT_FUND_SRCS_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_DFLT_FUND_SRCS_FK2') Then

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

20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PQH_DFLT_FUND_SRCS_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_DFLT_FUND_SRCS_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

21: --
22: If (p_constraint_name = 'PQH_DFLT_FUND_SRCS_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_DFLT_FUND_SRCS_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 26: hr_utility.raise_error;

22: If (p_constraint_name = 'PQH_DFLT_FUND_SRCS_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_DFLT_FUND_SRCS_FK2') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');

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

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

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

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

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

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

Line 31: hr_utility.raise_error;

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

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

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

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

30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_DFLT_FUND_SRCS_PK') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_DFLT_FUND_SRCS_PK') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
39: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 36: hr_utility.raise_error;

32: ElsIf (p_constraint_name = 'PQH_DFLT_FUND_SRCS_PK') Then
33: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
41: hr_utility.raise_error;
42: End If;

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

35: hr_utility.set_message_token('STEP','15');
36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
41: hr_utility.raise_error;
42: End If;
43: --

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

36: hr_utility.raise_error;
37: Else
38: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
39: hr_utility.set_message_token('PROCEDURE', l_proc);
40: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
41: hr_utility.raise_error;
42: End If;
43: --
44: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 41: hr_utility.raise_error;

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

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

40: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
41: hr_utility.raise_error;
42: End If;
43: --
44: hr_utility.set_location(' Leaving:'||l_proc, 10);
45: End constraint_error;
46: --
47: -- ----------------------------------------------------------------------------
48: -- |-----------------------------< api_updating >-----------------------------|

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

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

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

90: If (
91: p_dflt_fund_src_id = g_old_rec.dflt_fund_src_id and
92: p_object_version_number = g_old_rec.object_version_number
93: ) Then
94: hr_utility.set_location(l_proc, 10);
95: --
96: -- The g_old_rec is current therefore we must
97: -- set the returning function to true
98: --

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

107: Close C_Sel1;
108: --
109: -- The primary key is invalid therefore we must error
110: --
111: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
112: hr_utility.raise_error;
113: End If;
114: Close C_Sel1;
115: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 112: hr_utility.raise_error;

108: --
109: -- The primary key is invalid therefore we must error
110: --
111: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
112: hr_utility.raise_error;
113: End If;
114: Close C_Sel1;
115: If (p_object_version_number <> g_old_rec.object_version_number) Then
116: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

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

Line 117: hr_utility.raise_error;

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

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

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

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

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

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', 'pqh_dflt_fund_srcs');
194: hr_utility.raise_error;
195: End lck;
196: --

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

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', 'pqh_dflt_fund_srcs');
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', 'pqh_dflt_fund_srcs');
194: hr_utility.raise_error;
195: End lck;
196: --
197: -- ----------------------------------------------------------------------------
198: -- |-----------------------------< convert_args >-----------------------------|

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

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

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

233: l_rec.organization_id := p_organization_id;
234: --
235: -- Return the plsql record structure.
236: --
237: hr_utility.set_location(' Leaving:'||l_proc, 10);
238: Return(l_rec);
239: --
240: End convert_args;
241: --