44: hr_utility.set_location('Entering:'|| l_proc, 10);
45: --
46: -- Ensure that all the mandatory parameter are not null
47: --
48: hr_api.mandatory_arg_error
49: (p_api_name => l_proc
50: ,p_argument => 'booking_justification_id'
51: ,p_argument_value => p_booking_justification_id
52: );
72: close csr_sec_grp;
73: --
74: -- Set the security_group_id in CLIENT_INFO
75: --
76: hr_api.set_security_group_id
77: (p_security_group_id => l_security_group_id
78: );
79: --
80: -- Set the sessions legislation context in HR_SESSION_DATA
78: );
79: --
80: -- Set the sessions legislation context in HR_SESSION_DATA
81: --
82: hr_api.set_legislation_context(l_legislation_code);
83: end if;
84: --
85: hr_utility.set_location(' Leaving:'|| l_proc, 20);
86: --
115: hr_utility.set_location('Entering:'|| l_proc, 10);
116: --
117: -- Ensure that all the mandatory parameter are not null
118: --
119: hr_api.mandatory_arg_error
120: (p_api_name => l_proc
121: ,p_argument => 'booking_justification_id'
122: ,p_argument_value => p_booking_justification_id
123: );
122: ,p_argument_value => p_booking_justification_id
123: );
124: --
125: --
126: if (( nvl(ota_bjt_bus.g_booking_justification_id, hr_api.g_number)
127: = p_booking_justification_id)
128: and ( nvl(ota_bjt_bus.g_language, hr_api.g_varchar2)
129: = p_language)) then
130: --
124: --
125: --
126: if (( nvl(ota_bjt_bus.g_booking_justification_id, hr_api.g_number)
127: = p_booking_justification_id)
128: and ( nvl(ota_bjt_bus.g_language, hr_api.g_varchar2)
129: = p_language)) then
130: --
131: -- The legislation code has already been found with a previous
132: -- call to this function. Just return the value in the global
326: chk_non_updateable_args
327: (p_rec => p_rec
328: );
329:
330: IF p_rec.justification_text <> hr_api.g_varchar2 THEN
331: chk_name( p_justification_text => p_rec.justification_text
332: ,p_booking_justification_id =>p_rec.booking_justification_id);
333: END IF;
334: --