DBA Data[Home] [Help]

APPS.GHR_ELT_TO_BEN_PKG SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 24

    SELECT distinct a.person_id person_id
    FROM   per_all_people_f a,hr_organization_information hoi
    WHERE  a.business_group_id = hoi.organization_id
    AND    hoi.org_information_context = 'GHR_US_ORG_INFORMATION';
Line: 31

    SELECT COUNT(distinct a.person_id) person_count
    FROM   per_all_people_f a,hr_organization_information hoi
    WHERE  a.business_group_id = hoi.organization_id
    AND    hoi.org_information_context = 'GHR_US_ORG_INFORMATION';
Line: 37

    SELECT max(completion_status) max_status
    FROM   GHR_MTS_TEMP
    WHERE  session_id = c_session_id;
Line: 60

    l_update_name       pay_upgrade_definitions.short_name%type;
Line: 69

	g_person_ids.DELETE;
Line: 71

    l_update_name       := 'GHR_ELT_BEN_CONV';
Line: 76

    DELETE FROM pay_upgrade_status
    WHERE       upgrade_definition_id =  (SELECT upgrade_definition_id
                                          FROM   pay_upgrade_definitions
                                          WHERE  short_name = l_update_name);
Line: 108

	-- Loop through the person records and insert them into the appropriate batch.
    -- If the batch size exceeds the limit, then insert the following records into the next batch.
    FOR l_c_per_records IN c_per_records
    LOOP
        l_result := NULL;
Line: 119

            INSERT INTO GHR_MTS_TEMP(session_id, batch_no, pa_request_id, action_type)
                              VALUES(l_session_id,l_batch_no,l_c_per_records.person_id, NULL);
Line: 189

        hr_update_utility.setUpdateProcessing(p_update_name => l_update_name);
Line: 190

        hr_update_utility.setUpdateComplete(p_update_name => l_update_name);
Line: 194

	-- Delete the temporary table data.
	DELETE FROM GHR_MTS_TEMP
		WHERE session_id = l_session_id;
Line: 204

    	DELETE FROM GHR_MTS_TEMP
		WHERE session_id = l_session_id;
Line: 243

    SELECT 'x'
    FROM   per_people_info_types
    WHERE  information_type = 'GHR_US_PER_BENEFIT_INFO';
Line: 250

    SELECT pa_request_id person_id, batch_no
    FROM   GHR_MTS_TEMP
    WHERE  session_id = c_session_id
    AND    batch_no = c_batch_no;
Line: 256

    SELECT userenv('sessionid') sesid
    FROM   dual;
Line: 261

    SELECT *
    FROM ghr_pa_history
    WHERE person_id = p_person_id
    AND (
           (table_name = 'PER_PEOPLE_EXTRA_INFO' and information5 = 'GHR_US_PER_GROUP1') OR
           (table_name = 'PAY_ELEMENT_ENTRY_VALUES_F'
             AND information4 IN (SELECT b.input_value_id
                                    FROM pay_element_types_f a,pay_input_values_f b
                                   WHERE a.element_type_id = b.element_type_id
                                     AND (
                                           (a.element_name = 'FEGLI' AND b.NAME = 'Eligibility Expiration') OR
                                           (a.element_name = 'Retirement Plan' AND b.NAME = 'FERS Eligibility Expires') OR
                                           (a.element_name = 'Health Benefits' and b.NAME in('LWOP Contingncy Strt Date','LWOP Contingncy End Date',
                                                                 'Child Eq Court Ord Date')) OR
                                           (a.element_name = 'Health Benefits Pre tax' and b.NAME in('LWOP Contingncy Strt Date','LWOP Contingncy End Date',
                                                                 'Child Eq Court Ord Date')) OR
                                           (a.element_name = 'TSP' and b.NAME in('Agncy Contrib Elig Date','Emp Contrib Elig Date'))
                                          )
                                 )
           )
       )
    ORDER BY effective_date,table_name,process_date,information1,pa_history_id;
Line: 311

          SELECT per.full_name
                ,per.national_identifier
          FROM   per_all_people_f per
          WHERE  per.person_id = p_person_id
          AND    NVL(p_effective_date,TRUNC(sysdate))  between per.effective_start_date
                                                          and per.effective_end_date;
Line: 340

        SELECT a.element_name element, b.name input_value
          FROM pay_element_types_f a,pay_input_values_f b
         WHERE a.element_type_id = b.element_type_id
           AND b.input_value_id = p_input_value_id;
Line: 396

    PROCEDURE insert_benefits_eit_rec(p_person_id      IN NUMBER,
                                      p_benefits_eit_rec   IN ghr_api.per_benefit_info_type,
                                      p_effective_date IN DATE) IS

        l_information_type      per_people_extra_info.information_type%type;
Line: 405

        SELECT person_extra_info_id,
               object_version_number
          FROM per_people_extra_info
         WHERE person_id = p_person_id
           AND information_type = 'GHR_US_PER_BENEFIT_INFO';
Line: 413

        hr_utility.set_location('Entering Insert benefits EIT REC',0);
Line: 449

            ghr_person_extra_info_api.update_person_extra_info
            (p_person_extra_info_id    => l_person_extra_info_id
            ,p_object_version_number   => l_object_version_number
            ,p_effective_date          => p_effective_date
            ,p_pei_information3        => p_benefits_eit_rec.FEGLI_Date_Eligibility_Expires
            ,p_pei_information4        => p_benefits_eit_rec.FEHB_Date_Eligibility_expires
            ,p_pei_information5        => p_benefits_eit_rec.FEHB_Date_temp_eligibility
            ,p_pei_information6        => p_benefits_eit_rec.FEHB_Date_dependent_cert_expir
            ,p_pei_information7        => p_benefits_eit_rec.FEHB_LWOP_contingency_st_date
            ,p_pei_information8        => p_benefits_eit_rec.FEHB_LWOP_contingency_end_date
            ,p_pei_information10       => p_benefits_eit_rec.FEHB_Child_equiry_court_date
            ,p_pei_information11       => p_benefits_eit_rec.FERS_Date_eligibility_expires
            ,p_pei_information12       => p_benefits_eit_rec.FERS_Election_Date
            ,p_pei_information13       => p_benefits_eit_rec.FERS_Election_Indicator
            ,p_pei_information14       => p_benefits_eit_rec.TSP_Agncy_Contrib_Elig_date
            ,p_pei_information15       => p_benefits_eit_rec.TSP_Emp_Contrib_Elig_date
            );
Line: 467

        hr_utility.set_location('Leaving Insert Benefits EIT REC',40);
Line: 468

    END insert_benefits_eit_rec;
Line: 479

        UPDATE fnd_sessions SET SESSION_ID = l_sid
        WHERE  SESSION_ID = l_sid;
Line: 482

            INSERT INTO fnd_sessions(SESSION_ID,EFFECTIVE_DATE)
            VALUES (l_sid,sysdate);
Line: 530

                               insert_benefits_eit_rec(l_current_person_id,l_benefits_eit_rec,l_old_effective_date);
Line: 539

                                insert_benefits_eit_rec(l_current_person_id,l_benefits_eit_rec,l_old_effective_date);
Line: 587

        UPDATE GHR_MTS_TEMP
        SET completion_status = p_retcode
        WHERE session_id = p_session_id
        AND batch_no = p_batch_no;
Line: 608

     select status
     from fnd_product_installations
     where application_id = GHR_APPLICATION_ID;
Line: 654

    SELECT ppf.last_name,ppf.first_name, ppf.middle_names, ppf.employee_number  --bug# 10419074
       FROM per_assignments_f paf, per_people_f ppf
       WHERE ppf.person_id = paf.person_id
        AND paf.primary_flag = 'Y'
        AND paf.assignment_type <> 'B'
        AND to_date('2013/01/13','YYYY/MM/DD') BETWEEN paf.effective_start_date
                                 AND paf.effective_end_date
          AND to_date('2013/01/13','YYYY/MM/DD') BETWEEN ppf.effective_start_date
                                 AND ppf.effective_end_date
        AND paf.assignment_id =l_assignment_id;
Line: 678

    l_update_flag                number := 0;
Line: 680

    l_datetrack_update_mode      varchar2(25);
Line: 684

    l_out_update_warning         boolean;
Line: 690

  select dut.duty_station_code
  from   hr_location_extra_info lei,
         per_all_assignments_f asg,
         ghr_duty_stations_v dut
  where  asg.assignment_id = l_assignment_id
  and    l_effective_date between
         asg.effective_Start_date and asg.effective_end_date
  and    asg.location_id = lei.location_id
  and    lei.information_type = 'GHR_US_LOC_INFORMATION'
  and    lei.lei_information3 =  dut.duty_station_id
  and    dut.duty_station_code like '06%107'
  and    l_effective_date between
         dut.effective_start_date and dut.effective_end_date;
Line: 713

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           c.business_group_id        business_group_id,--Bug# 6735031
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(p_business_group_id,c.business_group_id)--Bug# 6735031
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in
           ('L4','IK','SW','YW');
Line: 745

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           c.business_group_id        business_group_id, --Bug# 6735031
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(p_business_group_id,c.business_group_id) --Bug#6735031
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits Pre tax'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in
           ('L4','IK','SW','YW');
Line: 777

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > l_check_date
    and    e.element_entry_id     = l_element_entry_id
    and    a.element_name         = 'Health Benefits'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in
             ('L4','IK','SW','YW');
Line: 809

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > l_check_date
    and    e.element_entry_id     = l_element_entry_id
    and    a.element_name         = 'Health Benefits Pre tax'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in
            ('L4','IK','SW','YW');
Line: 841

    select f.input_value_id        input_value_id,
           f.screen_entry_value    screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    f.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits'
    and    b.name                 = 'Enrollment'
    and    e.element_entry_id     = l_element_entry_id;
Line: 866

    select f.input_value_id        input_value_id,
           f.screen_entry_value    screen_entry_value,
           f.effective_start_date  effective_start_date,
           f.effective_end_date    effective_end_date
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    f.effective_start_date = l_effective_start_date
    and    f.effective_end_date   = l_effective_end_date
    and    f.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits Pre tax'
    and    b.name                 = 'Enrollment'
    and    e.element_entry_id     = l_element_entry_id;
Line: 896

        l_update_flag      := 0;
Line: 924

                l_update_flag        := 1;
Line: 932

                l_datetrack_update_mode := 'CORRECTION';
Line: 936

                l_datetrack_update_mode := 'UPDATE';
Line: 939

                for update_mode_a in cur_hb_fr loop
                    l_exists := true;
Line: 944

                    l_datetrack_update_mode := 'UPDATE_CHANGE_INSERT';
Line: 946

                    l_datetrack_update_mode := 'UPDATE';
Line: 950

            if l_update_flag = 1 then
                l_update_flag := 0;
Line: 960

                    ghr_element_entry_api.update_element_entry
                        (  p_datetrack_update_mode         => l_datetrack_update_mode
                        ,p_effective_date                => l_effective_date
                        ,p_business_group_id             => l_business_group_id
                        ,p_element_entry_id              => l_element_entry_id
                        ,p_object_version_number         => l_object_version_number
                        ,p_input_value_id1               => l_input_value_id_enrol
                        ,p_entry_value1                  => l_screen_entry_value_enrol
                        ,p_input_value_id2               => l_input_value_id
                        ,p_entry_value2                  => l_screen_entry_value
                        ,p_effective_start_date          => l_out_effective_start_date
                        ,p_effective_end_date            => l_out_effective_end_date
                        ,p_update_warning                => l_out_update_warning
                        );
Line: 1027

        l_update_flag      := 0;
Line: 1056

			l_update_flag        := 1;
Line: 1064

                    l_datetrack_update_mode := 'CORRECTION';
Line: 1068

                        l_datetrack_update_mode := 'UPDATE';
Line: 1071

                    for update_mode in cur_hb_pt_fr loop
                      l_exists := true;
Line: 1076

                        l_datetrack_update_mode := 'UPDATE_CHANGE_INSERT';
Line: 1078

                        l_datetrack_update_mode := 'UPDATE';
Line: 1082

                if l_update_flag = 1 then
                    BEGIN --B2
                        l_update_flag := 0;
Line: 1092

                        ghr_element_entry_api.update_element_entry
                            (  p_datetrack_update_mode         => l_datetrack_update_mode
                            ,p_effective_date                => l_effective_date
                            ,p_business_group_id             => l_business_group_id
                            ,p_element_entry_id              => l_element_entry_id
                            ,p_object_version_number         => l_object_version_number
                            ,p_input_value_id1               => l_input_value_id_enrol
                            ,p_entry_value1                  => l_screen_entry_value_enrol
                            ,p_input_value_id2               => l_input_value_id
                            ,p_entry_value2                  => l_screen_entry_value
                            ,p_effective_start_date          => l_out_effective_start_date
                            ,p_effective_end_date            => l_out_effective_end_date
                            ,p_update_warning                => l_out_update_warning
                            );
Line: 1166

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           c.business_group_id        business_group_id,--Bug# 6735031
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(p_business_group_id,c.business_group_id)--Bug# 6735031
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in  ('52');
Line: 1197

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           c.business_group_id        business_group_id,--Bug# 6735031
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(p_business_group_id,c.business_group_id)--Bug# 6735031
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits Pre tax'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in ('52');
Line: 1228

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > l_check_date
    and    e.element_entry_id     = l_element_entry_id
    and    a.element_name         = 'Health Benefits'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in   ('52');
Line: 1259

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > l_check_date
    and    e.element_entry_id     = l_element_entry_id
    and    a.element_name         = 'Health Benefits Pre tax'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in   ('52');
Line: 1290

    select f.input_value_id        input_value_id,
           f.screen_entry_value    screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    f.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits'
    and    b.name                 = 'Enrollment'
    and    e.element_entry_id     = l_element_entry_id;
Line: 1315

    select f.input_value_id        input_value_id,
           f.screen_entry_value    screen_entry_value,
           f.effective_start_date  effective_start_date,
           f.effective_end_date    effective_end_date
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    f.effective_start_date = l_effective_start_date
    and    f.effective_end_date   = l_effective_end_date
    and    f.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits Pre tax'
    and    b.name                 = 'Enrollment'
    and    e.element_entry_id     = l_element_entry_id;
Line: 1345

        l_update_flag      := 0;
Line: 1375

                    l_update_flag        := 1;
Line: 1379

                    l_update_flag        := 1;
Line: 1387

                l_datetrack_update_mode := 'CORRECTION';
Line: 1391

                l_datetrack_update_mode := 'UPDATE';
Line: 1394

                for update_mode_a in cur_hb_fr loop
                    l_exists := true;
Line: 1399

                    l_datetrack_update_mode := 'UPDATE_CHANGE_INSERT';
Line: 1401

                    l_datetrack_update_mode := 'UPDATE';
Line: 1405

            if l_update_flag = 1 then
                BEGIN --C2
                    l_update_flag := 0;
Line: 1415

                    ghr_element_entry_api.update_element_entry
                        (  p_datetrack_update_mode         => l_datetrack_update_mode
                        ,p_effective_date                => l_effective_date
                        ,p_business_group_id             => l_business_group_id
                        ,p_element_entry_id              => l_element_entry_id
                        ,p_object_version_number         => l_object_version_number
                        ,p_input_value_id1               => l_input_value_id_enrol
                        ,p_entry_value1                  => l_screen_entry_value_enrol
                        ,p_effective_start_date          => l_out_effective_start_date
                        ,p_effective_end_date            => l_out_effective_end_date
                        ,p_update_warning                => l_out_update_warning
                        );
Line: 1478

        l_update_flag      := 0;
Line: 1507

                        l_update_flag        := 1;
Line: 1511

                        l_update_flag        := 1;
Line: 1519

                    l_datetrack_update_mode := 'CORRECTION';
Line: 1523

                        l_datetrack_update_mode := 'UPDATE';
Line: 1526

                    for update_mode in cur_hb_pt_fr loop
                      l_exists := true;
Line: 1531

                        l_datetrack_update_mode := 'UPDATE_CHANGE_INSERT';
Line: 1533

                        l_datetrack_update_mode := 'UPDATE';
Line: 1537

                if l_update_flag = 1 then
                    BEGIN --C5
                        l_update_flag := 0;
Line: 1547

                        ghr_element_entry_api.update_element_entry
                            (  p_datetrack_update_mode         => l_datetrack_update_mode
                            ,p_effective_date                => l_effective_date
                            ,p_business_group_id             => l_business_group_id
                            ,p_element_entry_id              => l_element_entry_id
                            ,p_object_version_number         => l_object_version_number
                            ,p_input_value_id1               => l_input_value_id_enrol
                            ,p_entry_value1                  => l_screen_entry_value_enrol
                            ,p_effective_start_date          => l_out_effective_start_date
                            ,p_effective_end_date            => l_out_effective_end_date
                            ,p_update_warning                => l_out_update_warning
                            );
Line: 1620

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           c.business_group_id        business_group_id,--Bug# 6735031
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(p_business_group_id,c.business_group_id)--Bug# 6735031
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in  ('KQ');
Line: 1651

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           c.business_group_id        business_group_id,--Bug# 6735031
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(p_business_group_id,c.business_group_id)--Bug# 6735031
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits Pre tax'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in ('KQ');
Line: 1682

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > l_check_date
    and    e.element_entry_id     = l_element_entry_id
    and    a.element_name         = 'Health Benefits'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in   ('KQ');
Line: 1713

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > l_check_date
    and    e.element_entry_id     = l_element_entry_id
    and    a.element_name         = 'Health Benefits Pre tax'
    and    b.name                 = 'Health Plan'
    and    f.screen_entry_value in   ('KQ');
Line: 1744

    select f.input_value_id        input_value_id,
           f.screen_entry_value    screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    f.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits'
    and    b.name                 = 'Enrollment'
    and    e.element_entry_id     = l_element_entry_id;
Line: 1769

    select f.input_value_id        input_value_id,
           f.screen_entry_value    screen_entry_value,
           f.effective_start_date  effective_start_date,
           f.effective_end_date    effective_end_date
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(l_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    f.effective_start_date = l_effective_start_date
    and    f.effective_end_date   = l_effective_end_date
    and    f.effective_end_date   > to_date('2013/01/12','YYYY/MM/DD')
    and    a.element_name         = 'Health Benefits Pre tax'
    and    b.name                 = 'Enrollment'
    and    e.element_entry_id     = l_element_entry_id;
Line: 1797

        l_update_flag      := 0;
Line: 1825

                  l_update_flag        := 1;
Line: 1832

                    l_datetrack_update_mode := 'CORRECTION';
Line: 1836

                    l_datetrack_update_mode := 'UPDATE';
Line: 1839

                    for update_mode_a in cur_hb_fr loop
                        l_exists := true;
Line: 1844

                        l_datetrack_update_mode := 'UPDATE_CHANGE_INSERT';
Line: 1846

                        l_datetrack_update_mode := 'UPDATE';
Line: 1850

                if l_update_flag = 1 then
                    BEGIN --D2
                        l_update_flag := 0;
Line: 1860

                        ghr_element_entry_api.update_element_entry
                            (  p_datetrack_update_mode         => l_datetrack_update_mode
                            ,p_effective_date                => l_effective_date
                            ,p_business_group_id             => l_business_group_id
                            ,p_element_entry_id              => l_element_entry_id
                            ,p_object_version_number         => l_object_version_number
                            ,p_input_value_id1               => l_input_value_id
                            ,p_entry_value1                  => l_screen_entry_value
                            ,p_effective_start_date          => l_out_effective_start_date
                            ,p_effective_end_date            => l_out_effective_end_date
                            ,p_update_warning                => l_out_update_warning
                            );
Line: 1924

            l_update_flag      := 0;
Line: 1952

                      l_update_flag        := 1;
Line: 1959

                        l_datetrack_update_mode := 'CORRECTION';
Line: 1963

                            l_datetrack_update_mode := 'UPDATE';
Line: 1966

                        for update_mode in cur_hb_pt_fr loop
                          l_exists := true;
Line: 1971

                            l_datetrack_update_mode := 'UPDATE_CHANGE_INSERT';
Line: 1973

                            l_datetrack_update_mode := 'UPDATE';
Line: 1977

                    if l_update_flag = 1 then
                        BEGIN --D5
                            l_update_flag := 0;
Line: 1987

                            ghr_element_entry_api.update_element_entry
                                (  p_datetrack_update_mode         => l_datetrack_update_mode
                                ,p_effective_date                => l_effective_date
                                ,p_business_group_id             => l_business_group_id
                                ,p_element_entry_id              => l_element_entry_id
                                ,p_object_version_number         => l_object_version_number
                                ,p_input_value_id1               => l_input_value_id
                                ,p_entry_value1                  => l_screen_entry_value
                                ,p_effective_start_date          => l_out_effective_start_date
                                ,p_effective_end_date            => l_out_effective_end_date
                                ,p_update_warning                => l_out_update_warning
                                );
Line: 2089

l_update_flag                number := 0;
Line: 2090

l_cotrib_update_flag         number := 0;
Line: 2092

l_datetrack_update_mode      varchar2(25);
Line: 2096

l_out_update_warning         boolean;
Line: 2109

select paf.position_id,ppf.person_id,paf.assignment_id,
ppei.pei_information14 ,ppf.effective_start_date, ppf.effective_end_date,ppf.national_identifier,
ppf.full_name,ppf.employee_number
from per_all_people_f ppf, per_all_assignments_f paf, per_people_extra_info ppei
where ppf.person_id=paf.person_id
and ppf.person_id=ppei.person_id
and ppei.information_type='GHR_US_PER_BENEFIT_INFO'
and paf.primary_flag='Y'
and paf.assignment_type<>'B'
and ppf.current_employee_flag='Y'
and ppf.effective_end_date > l_agency_effective_date
--and fnd_date.canonical_to_date(ppei.pei_information14) >= l_agency_effective_date
and ppei.pei_information14 IS NOT NULL
and ppf.business_group_id=paf.business_group_id
and ppf.business_group_id= NVL(p_business_group_id,ppf.business_group_id)
AND ghr_api.get_position_agency_code_pos(paf.position_id,paf.business_group_id) like SUBSTR(p_agency_code,1,2)||SUBSTR(p_agency_sub_code,1,2)||'%' ;
Line: 2132

SELECT pa.pa_request_id,
pa_ei.rei_information17, pa_ei.rei_information15,
pa.effective_date
FROM ghr_pa_request_extra_info pa_ei, ghr_pa_requests pa
WHERE pa_ei.information_type='GHR_US_PAR_BENEFITS'
AND pa.noa_family_code in ('APP','CONV_APP')
AND pa.RETIREMENT_PLAN  IN('K','L','M','N')
AND pa.effective_date > sysdate
AND pa_ei.pa_request_id=pa.pa_request_id
AND status ='FUTURE_ACTION'
AND NVL(pa.agency_code,pa.from_agency_code) LIKE SUBSTR(p_agency_code,1,2)||SUBSTR(p_agency_sub_code,1,2)||'%' ;
Line: 2145

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           c.business_group_id        business_group_id,
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(p_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > l_agency_effective_date
    and    a.element_name         = 'TSP'
    and    b.name                 = 'Status'
    and    e.assignment_id	  = l_assignment_id ;
Line: 2175

    select b.name                     name,
           f.input_value_id           input_value_id,
           e.effective_start_date     effective_start_date,
           e.effective_end_date       effective_end_date,
           e.element_entry_id         element_entry_id,
           e.assignment_id            assignment_id,
           e.object_version_number    object_version_number,
           f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(p_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > l_check_date
    and    e.element_entry_id     = l_element_entry_id
    and    a.element_name         = 'TSP'
    and    b.name                 = 'Status'
    and    e.assignment_id	  = l_assignment_id
    and    e.element_entry_id     = l_element_entry_id;
Line: 2207

    select f.screen_entry_value       screen_entry_value
    from   pay_element_types_f        a,
           pay_input_values_f         b,
           pay_element_links_f        c,
           pay_link_input_values_f    d,
           pay_element_entries_f      e,
           pay_element_entry_values_f f
    where  a.element_type_id      = b.element_type_id
    and    a.element_type_id      = c.element_type_id
    and    c.element_link_id      = d.element_link_id
    and    b.input_value_id       = d.input_value_id
    and    e.element_link_id      = c.element_link_id
    and    f.element_entry_id     = e.element_entry_id
    and    f.input_value_id       = b.input_value_id
    and    c.business_group_id    = nvl(p_business_group_id,c.business_group_id)
    and    e.effective_start_date = f.effective_start_date
    and    e.effective_end_date   = f.effective_end_date
    and    e.effective_end_date   > l_agency_effective_date
    and    a.element_name         = 'TSP'
    and    b.name                 = 'Status Date'
    and    e.assignment_id	  = l_assignment_id ;
Line: 2236

    select trunc(effective_date)
    from   fnd_sessions
    where  session_id = l_session_id;
Line: 2241

       select object_version_number
       from per_people_extra_info
       where person_extra_info_id = cp_people_ei_id;
Line: 2279

					l_update_flag      := 0;
Line: 2280

					l_cotrib_update_flag :=0;
Line: 2297

							l_update_flag        := 1;
Line: 2300

							l_update_flag        := 1;
Line: 2303

							l_update_flag        := 1;
Line: 2310

							l_datetrack_update_mode := 'CORRECTION';
Line: 2313

							l_datetrack_update_mode := 'UPDATE';
Line: 2321

								l_datetrack_update_mode := 'UPDATE_CHANGE_INSERT';
Line: 2323

								l_datetrack_update_mode := 'UPDATE';
Line: 2327

						if l_update_flag = 1 then
							l_update_flag := 0;
Line: 2330

								ghr_element_entry_api.update_element_entry
									(  p_datetrack_update_mode       => l_datetrack_update_mode
									,p_effective_date                => l_calculated_date
									,p_business_group_id             => l_business_group_id
									,p_element_entry_id              => l_element_entry_id
									,p_object_version_number         => l_object_version_number
									,p_input_value_id3               => l_input_value_id
									,p_entry_value3                  => l_screen_entry_value
									,p_effective_start_date          => l_out_effective_start_date
									,p_effective_end_date            => l_out_effective_end_date
									,p_update_warning                => l_out_update_warning
									);
Line: 2393

					select userenv('sessionid')  INTO l_session_id from dual;
Line: 2397

						INSERT INTO fnd_sessions(SESSION_ID,EFFECTIVE_DATE)
							values(l_session_id,l_calculated_date);
Line: 2400

					   update fnd_sessions set effective_date = l_calculated_date
					   where session_id = l_session_id;
Line: 2417

								l_cotrib_update_flag:=1;
Line: 2419

								l_cotrib_update_flag:=0;
Line: 2423

							l_cotrib_update_flag:=1;
Line: 2425

						IF l_cotrib_update_flag = 1 THEN
							l_cotrib_update_flag:=0;
Line: 2432

						      p_program_update_date      => l_peopleei_data.program_update_date      ,
						      p_pei_attribute_category   => l_peopleei_data.pei_attribute_category   ,
						      p_pei_attribute1           => l_peopleei_data.pei_attribute1           ,
						      p_pei_attribute2           => l_peopleei_data.pei_attribute2           ,
						      p_pei_attribute3           => l_peopleei_data.pei_attribute3           ,
						      p_pei_attribute4           => l_peopleei_data.pei_attribute4           ,
						      p_pei_attribute5           => l_peopleei_data.pei_attribute5           ,
						      p_pei_attribute6           => l_peopleei_data.pei_attribute6           ,
						      p_pei_attribute7           => l_peopleei_data.pei_attribute7           ,
						      p_pei_attribute8           => l_peopleei_data.pei_attribute8           ,
						      p_pei_attribute9           => l_peopleei_data.pei_attribute9           ,
						      p_pei_attribute10          => l_peopleei_data.pei_attribute10          ,
						      p_pei_attribute11          => l_peopleei_data.pei_attribute11          ,
						      p_pei_attribute12          => l_peopleei_data.pei_attribute12          ,
						      p_pei_attribute13          => l_peopleei_data.pei_attribute13          ,
						      p_pei_attribute14          => l_peopleei_data.pei_attribute14          ,
						      p_pei_attribute15          => l_peopleei_data.pei_attribute15          ,
						      p_pei_attribute16          => l_peopleei_data.pei_attribute16          ,
						      p_pei_attribute17          => l_peopleei_data.pei_attribute17          ,
						      p_pei_attribute18          => l_peopleei_data.pei_attribute18          ,
						      p_pei_attribute19          => l_peopleei_data.pei_attribute19          ,
						      p_pei_attribute20          => l_peopleei_data.pei_attribute20          ,
						      p_pei_information_category => l_peopleei_data.pei_information_category ,
						      p_pei_information1         => l_peopleei_data.pei_information1         ,
						      p_pei_information2         => l_peopleei_data.pei_information2         ,
						      p_pei_information3         => l_peopleei_data.pei_information3         ,
						      p_pei_information4         => l_peopleei_data.pei_information4         ,
						      p_pei_information5         => l_peopleei_data.pei_information5         ,
						      p_pei_information6         => l_peopleei_data.pei_information6         ,
						      p_pei_information7         => l_peopleei_data.pei_information7         ,
						      p_pei_information8         => l_peopleei_data.pei_information8         ,
						      p_pei_information9         => l_peopleei_data.pei_information9         ,
						      p_pei_information10        => l_peopleei_data.pei_information10        ,
						      p_pei_information11        => l_peopleei_data.pei_information11        ,
						      p_pei_information12        => l_peopleei_data.pei_information12        ,
						      p_pei_information13        => l_peopleei_data.pei_information13        ,
						      p_pei_information14        => l_peopleei_data.pei_information14        ,
						      p_pei_information15        => l_peopleei_data.pei_information15        ,
						      p_pei_information16        => l_peopleei_data.pei_information16        ,
						      p_pei_information17        => l_peopleei_data.pei_information17        ,
						      p_pei_information18        => l_peopleei_data.pei_information18        ,
						      p_pei_information19        => l_peopleei_data.pei_information19        ,
						      p_pei_information20        => l_peopleei_data.pei_information20        ,
						      p_pei_information21        => l_peopleei_data.pei_information21        ,
						      p_pei_information22        => l_peopleei_data.pei_information22        ,
						      p_pei_information23        => l_peopleei_data.pei_information23        ,
						      p_pei_information24        => l_peopleei_data.pei_information24        ,
						      p_pei_information25        => l_peopleei_data.pei_information25        ,
						      p_pei_information26        => l_peopleei_data.pei_information26        ,
						      p_pei_information27        => l_peopleei_data.pei_information27        ,
						      p_pei_information28        => l_peopleei_data.pei_information28        ,
						      p_pei_information29        => l_peopleei_data.pei_information29        ,
						      p_pei_information30        => l_peopleei_data.pei_information30        ,
						      p_object_version_number    => l_peopleei_data.object_version_number
							);
Line: 2491

							ghr_history_api.post_update_process;
Line: 2520

						END IF;--IF l_cotrib_update_flag = 1
Line: 2561

	--Begin  Future Actions TSP update
	BEGIN --C1
		l_tsp_future_rec_cnt :=0;
Line: 2572

				l_update_flag      := 0;
Line: 2575

					l_update_flag        := 1;
Line: 2578

					l_update_flag        := 1;
Line: 2581

					l_update_flag        := 1;
Line: 2588

				IF l_update_flag = 1  OR l_elig_date_flag =1 THEN
					l_tsp_future_rec_cnt := l_tsp_future_rec_cnt+1;
Line: 2590

					IF  l_update_flag = 1 THEN
						l_update_flag := 0;
Line: 2592

						UPDATE  ghr_pa_request_extra_info
						SET	rei_information15 =l_rpa_tsp_status_code
						where	information_type='GHR_US_PAR_BENEFITS'
						AND	pa_request_id = l_pa_request_id;
Line: 2599

						UPDATE  ghr_pa_request_extra_info
						SET	rei_information17 = fnd_date.date_to_canonical(l_rpa_effective_date)
						where	information_type='GHR_US_PAR_BENEFITS'
						AND	pa_request_id = l_pa_request_id;
Line: 2622

			    p_message_name => 'Update Script for Future TSP',
			    p_log_text     => 'Total Future Action records Modified successfully.... ' || to_char(l_tsp_future_rec_cnt) || ' rows',
			    p_log_date     => sysdate);
Line: 2628

				p_message_name => 'Update Script for Future TSP',
				p_log_text     => 'TSP(Future Actions) Data Not required to modify...',
				p_log_date     => sysdate);
Line: 2633

	-- End Future Actions TSP update

END execute_tsp_conversion;