DBA Data[Home] [Help]

APPS.HR_TRV_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 = 'CHK_DATATYPE') 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 = 'CHK_DATATYPE') 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 = 'HR_API_TRANSACTION_VALUES_FK1') 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 = 'CHK_DATATYPE') 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 = 'HR_API_TRANSACTION_VALUES_FK1') 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 = 'CHK_DATATYPE') 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 = 'HR_API_TRANSACTION_VALUES_FK1') 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 = 'CHK_DATATYPE') 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 = 'HR_API_TRANSACTION_VALUES_FK1') 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 = 'HR_API_TRANSACTION_VALUES_FK1') 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: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_VALUES_PK') Then

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 = 'HR_API_TRANSACTION_VALUES_FK1') 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: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_VALUES_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_VALUES_FK1') 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: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_VALUES_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_VALUES_FK1') 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: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_VALUES_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');

Line 47: 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: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_VALUES_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else

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

44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_VALUES_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_VALUES_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 50: hr_utility.raise_error;

46: ElsIf (p_constraint_name = 'HR_API_TRANSACTION_VALUES_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

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

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

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

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

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

Line 55: hr_utility.raise_error;

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

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

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

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

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

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

101: Else
102: If (
103: p_transaction_value_id = g_old_rec.transaction_value_id
104: ) Then
105: hr_utility.set_location(l_proc, 10);
106: --
107: -- The g_old_rec is current therefore we must
108: -- set the returning function to true
109: --

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

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

Line 123: hr_utility.raise_error;

119: --
120: -- The primary key is invalid therefore we must error
121: --
122: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
123: hr_utility.raise_error;
124: End If;
125: Close C_Sel1;
126: --
127: hr_utility.set_location(l_proc, 15);

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

123: hr_utility.raise_error;
124: End If;
125: Close C_Sel1;
126: --
127: hr_utility.set_location(l_proc, 15);
128: l_fct_ret := true;
129: End If;
130: End If;
131: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

127: hr_utility.set_location(l_proc, 15);
128: l_fct_ret := true;
129: End If;
130: End If;
131: hr_utility.set_location(' Leaving:'||l_proc, 20);
132: Return (l_fct_ret);
133: --
134: End api_updating;
135: --

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

160: --
161: l_proc varchar2(72) := g_package||'lck';
162: --
163: Begin
164: hr_utility.set_location('Entering:'||l_proc, 5);
165: --
166: -- Add any mandatory argument checking here:
167: -- Example:
168: -- hr_api.mandatory_arg_error

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

176: Close C_Sel1;
177: --
178: -- The primary key is invalid therefore we must error
179: --
180: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
181: hr_utility.raise_error;
182: End If;
183: Close C_Sel1;
184: --

Line 181: hr_utility.raise_error;

177: --
178: -- The primary key is invalid therefore we must error
179: --
180: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
181: hr_utility.raise_error;
182: End If;
183: Close C_Sel1;
184: --
185: --

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

182: End If;
183: Close C_Sel1;
184: --
185: --
186: hr_utility.set_location(' Leaving:'||l_proc, 10);
187: --
188: -- We need to trap the ORA LOCK exception
189: --
190: Exception

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

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

Line 197: hr_utility.set_message_token('TABLE_NAME', 'hr_api_transaction_values');

193: -- The object is locked therefore we need to supply a meaningful
194: -- error message.
195: --
196: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
197: hr_utility.set_message_token('TABLE_NAME', 'hr_api_transaction_values');
198: hr_utility.raise_error;
199: End lck;
200: --
201: -- ----------------------------------------------------------------------------

Line 198: hr_utility.raise_error;

194: -- error message.
195: --
196: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
197: hr_utility.set_message_token('TABLE_NAME', 'hr_api_transaction_values');
198: hr_utility.raise_error;
199: End lck;
200: --
201: -- ----------------------------------------------------------------------------
202: -- |-----------------------------< convert_args >-----------------------------|

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

220: l_proc varchar2(72) := g_package||'convert_args';
221: --
222: Begin
223: --
224: hr_utility.set_location('Entering:'||l_proc, 5);
225: --
226: -- Convert arguments into local l_rec structure.
227: --
228: l_rec.transaction_value_id := p_transaction_value_id;

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

237: l_rec.original_date_value := p_original_date_value;
238: --
239: -- Return the plsql record structure.
240: --
241: hr_utility.set_location(' Leaving:'||l_proc, 10);
242: Return(l_rec);
243: --
244: End convert_args;
245: --