The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT NULL
FROM per_assignments_f paf,
per_business_groups pbg
WHERE paf.person_id = p_person_id
AND l_effective_date BETWEEN paf.effective_start_date AND paf.effective_end_date
AND pbg.business_group_id = paf.business_group_id
AND pbg.legislation_code = 'SG';
PROCEDURE update_sg_emp_asg
(p_validate in boolean default false
,p_effective_date in date
,p_datetrack_update_mode in varchar2
,p_assignment_id in number
,p_object_version_number in out nocopy number
,p_supervisor_id in number default null
,p_assignment_number in varchar2 default null
,p_change_reason in varchar2 default null
,p_comments in varchar2 default null
,p_date_probation_end in date default null
,p_default_code_comb_id in number default null
,p_frequency in varchar2 default null
,p_internal_address_line in varchar2 default null
,p_manager_flag in varchar2 default null
,p_normal_hours in number default null
,p_perf_review_period in number default null
,p_perf_review_period_frequency in varchar2 default null
,p_probation_period in number default null
,p_probation_unit in varchar2 default null
,p_sal_review_period in number default null
,p_sal_review_period_frequency in varchar2 default null
,p_set_of_books_id in number default null
,p_source_type in varchar2 default null
,p_time_normal_finish in varchar2 default null
,p_time_normal_start in varchar2 default null
,p_bargaining_unit_code in varchar2 default null
,p_labour_union_member_flag in varchar2 default null
,p_hourly_salaried_code in varchar2 default null
,p_ass_attribute_category in varchar2 default null
,p_ass_attribute1 in varchar2 default null
,p_ass_attribute2 in varchar2 default null
,p_ass_attribute3 in varchar2 default null
,p_ass_attribute4 in varchar2 default null
,p_ass_attribute5 in varchar2 default null
,p_ass_attribute6 in varchar2 default null
,p_ass_attribute7 in varchar2 default null
,p_ass_attribute8 in varchar2 default null
,p_ass_attribute9 in varchar2 default null
,p_ass_attribute10 in varchar2 default null
,p_ass_attribute11 in varchar2 default null
,p_ass_attribute12 in varchar2 default null
,p_ass_attribute13 in varchar2 default null
,p_ass_attribute14 in varchar2 default null
,p_ass_attribute15 in varchar2 default null
,p_ass_attribute16 in varchar2 default null
,p_ass_attribute17 in varchar2 default null
,p_ass_attribute18 in varchar2 default null
,p_ass_attribute19 in varchar2 default null
,p_ass_attribute20 in varchar2 default null
,p_ass_attribute21 in varchar2 default null
,p_ass_attribute22 in varchar2 default null
,p_ass_attribute23 in varchar2 default null
,p_ass_attribute24 in varchar2 default null
,p_ass_attribute25 in varchar2 default null
,p_ass_attribute26 in varchar2 default null
,p_ass_attribute27 in varchar2 default null
,p_ass_attribute28 in varchar2 default null
,p_ass_attribute29 in varchar2 default null
,p_ass_attribute30 in varchar2 default null
,p_title in varchar2 default null
,p_legal_employer_id in varchar2 default null
,p_cagr_grade_def_id out nocopy varchar2
,p_cagr_concatenated_segments out nocopy varchar2
,p_concatenated_segments out nocopy varchar2
,p_soft_coding_keyflex_id out nocopy number
,p_comment_id out nocopy number
,p_effective_start_date out nocopy date
,p_effective_end_date out nocopy date
,p_no_managers_warning out nocopy boolean
,p_other_manager_warning out nocopy boolean)
IS
--
-- Declare cursors AND local variables
--
l_proc VARCHAR2(72) := g_package||'update_sg_emp_asg';
SELECT bgp.legislation_code
FROM per_assignments_f asg,
per_business_groups bgp
WHERE asg.business_group_id = bgp.business_group_id
AND asg.assignment_id = c_assignment_id
AND c_effective_date BETWEEN effective_start_date AND effective_end_date;
hr_assignment_api.update_emp_asg
(p_validate => p_validate
,p_effective_date => p_effective_date
,p_datetrack_update_mode => p_datetrack_update_mode
,p_assignment_id => p_assignment_id
,p_object_version_number => p_object_version_number
,p_supervisor_id => p_supervisor_id
,p_assignment_number => p_assignment_number
,p_change_reason => p_change_reason
,p_comments => p_comments
,p_date_probation_end => p_date_probation_end
,p_default_code_comb_id => p_default_code_comb_id
,p_frequency => p_frequency
,p_internal_address_line => p_internal_address_line
,p_manager_flag => p_manager_flag
,p_normal_hours => p_normal_hours
,p_perf_review_period => p_perf_review_period
,p_perf_review_period_frequency => p_perf_review_period_frequency
,p_probation_period => p_probation_period
,p_probation_unit => p_probation_unit
,p_sal_review_period => p_sal_review_period
,p_sal_review_period_frequency => p_sal_review_period_frequency
,p_set_of_books_id => p_set_of_books_id
,p_source_type => p_source_type
,p_time_normal_finish => p_time_normal_finish
,p_time_normal_start => p_time_normal_start
,p_bargaining_unit_code => p_bargaining_unit_code
,p_labour_union_member_flag => p_labour_union_member_flag
,p_hourly_salaried_code => p_hourly_salaried_code
,p_ass_attribute_category => p_ass_attribute_category
,p_ass_attribute1 => p_ass_attribute1
,p_ass_attribute2 => p_ass_attribute2
,p_ass_attribute3 => p_ass_attribute3
,p_ass_attribute4 => p_ass_attribute4
,p_ass_attribute5 => p_ass_attribute5
,p_ass_attribute6 => p_ass_attribute6
,p_ass_attribute7 => p_ass_attribute7
,p_ass_attribute8 => p_ass_attribute8
,p_ass_attribute9 => p_ass_attribute9
,p_ass_attribute10 => p_ass_attribute10
,p_ass_attribute11 => p_ass_attribute11
,p_ass_attribute12 => p_ass_attribute12
,p_ass_attribute13 => p_ass_attribute13
,p_ass_attribute14 => p_ass_attribute14
,p_ass_attribute15 => p_ass_attribute15
,p_ass_attribute16 => p_ass_attribute16
,p_ass_attribute17 => p_ass_attribute17
,p_ass_attribute18 => p_ass_attribute18
,p_ass_attribute19 => p_ass_attribute19
,p_ass_attribute20 => p_ass_attribute20
,p_ass_attribute21 => p_ass_attribute21
,p_ass_attribute22 => p_ass_attribute22
,p_ass_attribute23 => p_ass_attribute23
,p_ass_attribute24 => p_ass_attribute24
,p_ass_attribute25 => p_ass_attribute25
,p_ass_attribute26 => p_ass_attribute26
,p_ass_attribute27 => p_ass_attribute27
,p_ass_attribute28 => p_ass_attribute28
,p_ass_attribute29 => p_ass_attribute29
,p_ass_attribute30 => p_ass_attribute30
,p_title => p_title
,p_segment1 => p_legal_employer_id
,p_cagr_grade_def_id => p_cagr_grade_def_id
,p_cagr_concatenated_segments => p_cagr_concatenated_segments
,p_concatenated_segments => p_concatenated_segments
,p_soft_coding_keyflex_id => p_soft_coding_keyflex_id
,p_comment_id => p_comment_id
,p_effective_start_date => p_effective_start_date
,p_effective_end_date => p_effective_end_date
,p_no_managers_warning => p_no_managers_warning
,p_other_manager_warning => p_other_manager_warning);
End update_sg_emp_asg;