DBA Data[Home] [Help]

APPS.HR_PAP_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 = 'HR_PAP_PAT_FK') Then
37: hr_utility.set_message(801, 'HR_51076_PAP_PAT_FK');
38: --

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

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'HR_PAP_PAT_FK') Then
37: hr_utility.set_message(801, 'HR_51076_PAP_PAT_FK');
38: --
39: elsif (p_constraint_name = 'HR_PAP_UK01') Then
40: hr_utility.set_message(801, 'HR_51077_PAP_UK01');
41: --

Line 40: hr_utility.set_message(801, 'HR_51077_PAP_UK01');

36: If (p_constraint_name = 'HR_PAP_PAT_FK') Then
37: hr_utility.set_message(801, 'HR_51076_PAP_PAT_FK');
38: --
39: elsif (p_constraint_name = 'HR_PAP_UK01') Then
40: hr_utility.set_message(801, 'HR_51077_PAP_UK01');
41: --
42: Else
43: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
44: hr_utility.set_message_token('PROCEDURE', l_proc);

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

39: elsif (p_constraint_name = 'HR_PAP_UK01') Then
40: hr_utility.set_message(801, 'HR_51077_PAP_UK01');
41: --
42: Else
43: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
46: End If;
47: --

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

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

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

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

Line 48: hr_utility.raise_error;

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

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

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

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_pattern_purpose_id is null and
82: p_object_version_number is null

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

90: If (
91: p_pattern_purpose_id = g_old_rec.pattern_purpose_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 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: If (p_object_version_number <> g_old_rec.object_version_number) Then

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

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

168: hr_utility.raise_error;
169: End If;
170: Close C_Sel1;
171: If (p_object_version_number <> g_old_rec.object_version_number) Then
172: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
173: hr_utility.raise_error;
174: End If;
175: --
176: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 173: hr_utility.raise_error;

169: End If;
170: Close C_Sel1;
171: If (p_object_version_number <> g_old_rec.object_version_number) Then
172: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
173: hr_utility.raise_error;
174: End If;
175: --
176: hr_utility.set_location(' Leaving:'||l_proc, 10);
177: --

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

172: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
173: hr_utility.raise_error;
174: End If;
175: --
176: hr_utility.set_location(' Leaving:'||l_proc, 10);
177: --
178: -- We need to trap the ORA LOCK exception
179: --
180: Exception

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

182: --
183: -- The object is locked therefore we need to supply a meaningful
184: -- error message.
185: --
186: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
187: hr_utility.set_message_token('TABLE_NAME', 'hr_pattern_purposes');
188: hr_utility.raise_error;
189: End lck;
190: --

Line 187: hr_utility.set_message_token('TABLE_NAME', 'hr_pattern_purposes');

183: -- The object is locked therefore we need to supply a meaningful
184: -- error message.
185: --
186: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
187: hr_utility.set_message_token('TABLE_NAME', 'hr_pattern_purposes');
188: hr_utility.raise_error;
189: End lck;
190: --
191: -- ----------------------------------------------------------------------------

Line 188: hr_utility.raise_error;

184: -- error message.
185: --
186: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
187: hr_utility.set_message_token('TABLE_NAME', 'hr_pattern_purposes');
188: hr_utility.raise_error;
189: End lck;
190: --
191: -- ----------------------------------------------------------------------------
192: -- |-----------------------------< convert_args >-----------------------------|

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

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

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

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