143: --
144: Begin
145: hr_utility.set_location('Entering:'||l_proc, 5);
146: --
147: hr_api.mandatory_arg_error
148: (p_api_name => l_proc
149: ,p_argument => 'APPROVAL_HISTORY_ID'
150: ,p_argument_value => p_approval_history_id
151: );
149: ,p_argument => 'APPROVAL_HISTORY_ID'
150: ,p_argument_value => p_approval_history_id
151: );
152: hr_utility.set_location(l_proc,6);
153: hr_api.mandatory_arg_error
154: (p_api_name => l_proc
155: ,p_argument => 'TRANSACTION_HISTORY_ID'
156: ,p_argument_value => p_transaction_history_id
157: );
173: --
174: -- We need to trap the ORA LOCK exception
175: --
176: Exception
177: When HR_Api.Object_Locked then
178: --
179: -- The object is locked therefore we need to supply a meaningful
180: -- error message.
181: --