195: --
196: Begin
197: hr_utility.set_location('Entering:'||l_proc, 5);
198: --
199: hr_api.mandatory_arg_error
200: (p_api_name => l_proc
201: ,p_argument => 'PYMT_CHECK_DET_ID'
202: ,p_argument_value => p_pymt_check_det_id
203: );
201: ,p_argument => 'PYMT_CHECK_DET_ID'
202: ,p_argument_value => p_pymt_check_det_id
203: );
204: hr_utility.set_location(l_proc,6);
205: hr_api.mandatory_arg_error
206: (p_api_name => l_proc
207: ,p_argument => 'OBJECT_VERSION_NUMBER'
208: ,p_argument_value => p_object_version_number
209: );
229: --
230: -- We need to trap the ORA LOCK exception
231: --
232: Exception
233: When HR_Api.Object_Locked then
234: --
235: -- The object is locked therefore we need to supply a meaningful
236: -- error message.
237: --