DBA Data[Home] [Help]

APPS.PAY_JP_ITWB_ARCHIVE_PKG SQL Statements

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

Line: 996

  select parameter_value
  from   pay_action_parameters
  where  parameter_name = 'JP_DEBUG_PAYJPITWB';
Line: 1177

  select /*+ ORDERED */
         pec.classification_name
  from   pay_assignment_actions paa,
         pay_payroll_actions ppa,
         pay_run_results prr,
         pay_element_types_f pet,
         pay_element_classifications pec
  where  paa.assignment_action_id = p_assignment_action_id
  and    ppa.payroll_action_id = paa.payroll_action_id
  and    prr.assignment_action_id = paa.assignment_action_id
  and    pet.element_type_id = prr.element_type_id
  and    ppa.effective_date
         between pet.effective_start_date and pet.effective_end_date
  and    pec.classification_id = pet.classification_id
  and    (pec.classification_name like '%'||c_fuzzy_ele_class_sal||'%'
         or pec.classification_name like '%'||c_fuzzy_ele_class_bon||'%'
         or pec.classification_name like '%'||c_fuzzy_ele_class_spb||'%'
         or pec.classification_name like '%'||c_fuzzy_ele_class_yea||'%');
Line: 1263

  select /*+ ORDERED */
         paa_yea.assignment_action_id
  from   pay_assignment_actions paa_sal,
         pay_payroll_actions ppa_sal,
         pay_action_interlocks pai_sal,
         pay_pre_payments ppp_pp,
         pay_assignment_actions paa_pp,
         pay_payroll_actions ppa_pp,
         pay_action_interlocks pai_yea,
         pay_assignment_actions paa_yea,
         pay_payroll_actions ppa_yea
  where paa_sal.assignment_action_id = p_assignment_action_id
  and   ppa_sal.payroll_action_id = paa_sal.payroll_action_id
  and   pai_sal.locked_action_id = paa_sal.assignment_action_id
  and   ppp_pp.assignment_action_id = pai_sal.locking_action_id
  and   paa_pp.assignment_action_id = ppp_pp.assignment_action_id
  and   paa_pp.action_status = 'C'
  and   ppa_pp.payroll_action_id = paa_pp.payroll_action_id
  and   ppa_pp.action_type in ('P','U')
  and   ppa_pp.effective_date
        between trunc(ppa_sal.effective_date,'MM') and last_day(ppa_sal.effective_date)
  and   pai_yea.locking_action_id = paa_pp.assignment_action_id
  and   paa_yea.assignment_action_id = pai_yea.locked_action_id
  and   paa_yea.action_status = 'C'
  and   ppa_yea.payroll_action_id = paa_yea.payroll_action_id
  and   ppa_yea.action_type in ('R','Q','B')
  and   nvl(ppa_yea.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
  and   decode(nvl(ppa_yea.element_type_id,-1),-1,nvl(ppa_yea.element_set_id,-1),c_yea_ele_set_id) in (
          c_yea_ele_set_id,
          c_rey_ele_set_id,
          c_yea_cust_ele_set_id,
          c_rey_cust_ele_set_id,
          -1)
  and   decode(nvl(ppa_yea.element_type_id,-1),-1,decode(nvl(ppa_yea.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa_yea.assignment_action_id,ppa_yea.action_type),'X'),'YEA'),'YEA') = 'YEA'
  and not exists(
    select /*+ ORDERED */
           null
    from   pay_action_interlocks pai_v,
           pay_assignment_actions paa_v,
           pay_payroll_actions ppa_v
    where  pai_v.locked_action_id = paa_yea.assignment_action_id
    and    paa_v.assignment_action_id = pai_v.locking_action_id
    and    ppa_v.payroll_action_id = paa_v.payroll_action_id
    and    ppa_v.action_type = 'V')
  order by
    paa_yea.action_sequence desc;
Line: 1473

  select /*+ ORDERED */
         paa_yea.assignment_action_id
  from   pay_assignment_actions paa_bon,
         pay_payroll_actions ppa_bon,
         pay_action_interlocks pai_bon,
         pay_pre_payments ppp_pp,
         pay_assignment_actions paa_pp,
         pay_payroll_actions ppa_pp,
         pay_action_interlocks pai_yea,
         pay_assignment_actions paa_yea,
         pay_payroll_actions ppa_yea
  where paa_bon.assignment_action_id = p_assignment_action_id
  and   ppa_bon.payroll_action_id = paa_bon.payroll_action_id
  and   pai_bon.locked_action_id = paa_bon.assignment_action_id
  and   ppp_pp.assignment_action_id = pai_bon.locking_action_id
  and   paa_pp.assignment_action_id = ppp_pp.assignment_action_id
  and   paa_pp.action_status = 'C'
  and   ppa_pp.payroll_action_id = paa_pp.payroll_action_id
  and   ppa_pp.action_type in ('P','U')
  and   ppa_pp.effective_date = ppa_bon.effective_date
  and   pai_yea.locking_action_id = paa_pp.assignment_action_id
  and   paa_yea.assignment_action_id = pai_yea.locked_action_id
  and   paa_yea.action_status = 'C'
  and   ppa_yea.payroll_action_id = paa_yea.payroll_action_id
  and   ppa_yea.action_type in ('R','Q','B')
  and   decode(nvl(ppa_yea.element_set_id,-1),
          c_yea_ele_set_id,ppa_yea.date_earned,
          c_rey_ele_set_id,ppa_yea.date_earned,ppa_yea.effective_date)
        between g_effective_soy and g_effective_eom
  and   nvl(ppa_yea.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
  and   decode(nvl(ppa_yea.element_type_id,-1),-1,nvl(ppa_yea.element_set_id,-1),c_yea_ele_set_id) in (
          c_yea_ele_set_id,
          c_rey_ele_set_id,
          c_yea_cust_ele_set_id,
          c_rey_cust_ele_set_id,
          -1)
  and   decode(nvl(ppa_yea.element_type_id,-1),-1,decode(nvl(ppa_yea.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa_yea.assignment_action_id,ppa_yea.action_type),'X'),'YEA'),'YEA') = 'YEA'
  and not exists(
    select /*+ ORDERED */
           null
    from   pay_action_interlocks pai_v,
           pay_assignment_actions paa_v,
           pay_payroll_actions ppa_v
    where  pai_v.locked_action_id = paa_yea.assignment_action_id
    and    paa_v.assignment_action_id = pai_v.locking_action_id
    and    ppa_v.payroll_action_id = paa_v.payroll_action_id
    and    ppa_v.action_type = 'V')
  and not exists(
    select /*+ ORDERED */
           null
    from   pay_action_interlocks pai_sal,
           pay_assignment_actions paa_sal,
           pay_payroll_actions ppa_sal
    where  pai_sal.locking_action_id = ppp_pp.assignment_action_id
    and    paa_sal.assignment_action_id = pai_sal.locked_action_id
    and    paa_sal.action_status = 'C'
    and    ppa_sal.payroll_action_id = paa_sal.payroll_action_id
    and    ppa_sal.action_type in ('R','Q')
    and    nvl(ppa_sal.element_set_id,-1) in
             (c_sal_ele_set_id,
              c_sal_cust_ele_set_id,
              -1)
    and    decode(nvl(ppa_sal.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa_sal.assignment_action_id,ppa_sal.action_type),'X'),'SAL') = 'SAL'
    and    ppa_sal.effective_date
           between trunc(ppa_pp.effective_date,'MM') and last_day(ppa_pp.effective_date))
  order by
    paa_yea.action_sequence desc;
Line: 1749

  select 'Y'
  from   dual
  where  not exists(
    select null
    from   hr_organization_information hoi,
           hr_all_organization_units hou
    where  hoi.org_information_context = 'CLASS'
    and    hoi.org_information1 = 'JP_TAX_SWOT'
    and    hoi.organization_id = nvl(g_itax_organization_id,hoi.organization_id)
    and    hou.organization_id = hoi.organization_id
    and    hou.business_group_id + 0 = g_business_group_id
    and    hou.date_from <= g_effective_eoy
    and    nvl(hou.date_to,hr_api.g_eot) >= g_effective_soy
    and    not exists(
      select null
      from   pay_payroll_actions ppa,
             pay_jp_itax_pact_v2 pjip
      where  ppa.business_group_id + 0 = g_business_group_id
      and    ppa.effective_date
             between g_effective_soy and g_effective_eoy
      and    ppa.action_type = 'X'
      and    ppa.report_type = 'JPTW'
      and    ppa.report_qualifier = 'JP'
      and    ppa.report_category = 'ARCHIVE'
      and    pjip.action_context_id = ppa.payroll_action_id
      and    nvl(pjip.itax_organization_id,hou.organization_id) = hou.organization_id
      and    pjip.effective_date
             between g_effective_soy and g_effective_eoy
      and    exists(
        select null
        from   pay_assignment_actions paa,
               pay_jp_itax_person_v2 pjips
        where  paa.payroll_action_id = ppa.payroll_action_id
        and    pjips.action_context_id = paa.assignment_action_id
        and    pjips.itax_organization_id = hoi.organization_id)));
Line: 1787

  select /*+ ORDERED */
         pjwa.assignment_action_id,
         pjwa.assignment_id,
         pjwa.action_sequence,
         pjwa.effective_date,
         pjwa.date_earned,
         pjwa.itax_organization_id itx_org_id,
         pjwa.itax_category itx_type,
         pjwa.itax_yea_category itx_inc_flag,
         nvl(nvl(pap.prl_information1,g_bg_itax_dpnt_ref_type),'CTR_EE') dpnt_ref_type,
         nvl(fnd_date.canonical_to_date(pay_core_utils.get_parameter('ITAX_DPNT_EFFECTIVE_DATE',pjwa.legislative_parameters)),pjwa.effective_date) dpnt_effective_date,
         pp.person_id,
         pp.sex,
         pp.date_of_birth,
         pjwa.leaving_reason,
         pp.per_information18 last_name,
         pp.last_name last_name_kana,
         pjwa.employment_category
  from   pay_assignment_actions paa_yea,
         pay_jp_wic_assacts_v pjwa,
         pay_all_payrolls_f pap,
         per_all_people_f pp
  where  paa_yea.assignment_action_id = p_assignment_action_id
  and    pjwa.payroll_action_id = paa_yea.payroll_action_id
  and    pap.payroll_id = pjwa.payroll_id
  and    pjwa.effective_date
         between pap.effective_start_date and pap.effective_end_date
  and    pp.person_id = pjwa.person_id
  and    pjwa.effective_date
         between pp.effective_start_date and pp.effective_end_date
  and    pjwa.itax_yea_category = '0';
Line: 1822

  select /*+ ORDERED */
         pjia.assignment_action_id,
         pjia.person_id,
         pjia.assignment_id,
         pjia.action_sequence,
         pjia.effective_date,
         pjia.date_earned,
         pjip.itax_organization_id itx_org_id,
         pjia.itax_category itx_type,
         pjia.itax_yea_category itx_inc_flag,
         pjio.dependent_spouse_exists_kou,
         pjio.dependent_spouse_no_exist_kou,
         pjio.dependent_spouse_exists_otsu,
         pjio.dependent_spouse_no_exist_otsu,
         pjio.aged_spouse_exists,
         fnd_number.canonical_to_number(pjio.num_dependents_kou) num_dependents_kou,
         fnd_number.canonical_to_number(pjio.num_dependents_otsu) num_dependents_otsu,
         fnd_number.canonical_to_number(pjio.num_specifieds_kou) num_specifieds_kou,
         fnd_number.canonical_to_number(pjio.num_specifieds_otsu) num_specifieds_otsu,
         fnd_number.canonical_to_number(pjio.num_ageds_kou) num_ageds_kou,
         fnd_number.canonical_to_number(pjio.num_ageds_otsu) num_ageds_otsu,
         fnd_number.canonical_to_number(pjio.num_aged_parents_partial) num_aged_parents_partial,
         fnd_number.canonical_to_number(pjio.num_disableds) num_disableds,
         fnd_number.canonical_to_number(pjio.num_special_disableds) num_special_disableds,
         fnd_number.canonical_to_number(pjio.num_special_disableds_partial) num_special_disableds_partial,
         fnd_number.canonical_to_number(pjit.taxable_income) taxable_income,
         --fnd_number.canonical_to_number(pjit.withholding_itax) withholding_itax,
         fnd_number.canonical_to_number(pjit.net_taxable_income) net_taxable_income,
         fnd_number.canonical_to_number(pjit.social_insurance_premium) social_insurance_premium,
         fnd_number.canonical_to_number(pjit.life_insurance_premium_exempt) life_insurance_premium_exempt,
         fnd_number.canonical_to_number(pjit.damage_insurance_premium_exem) damage_insurance_premium_exem,
         fnd_number.canonical_to_number(pjit.spouse_special_exempt) spouse_special_exempt,
         fnd_number.canonical_to_number(pjit.total_income_exempt) total_income_exempt,
         fnd_number.canonical_to_number(pjit.housing_tax_reduction) housing_tax_reduction,
         fnd_number.canonical_to_number(pjit.itax_adjustment2) itax_adjustment,
         fnd_number.canonical_to_number(pjit.spouse_net_taxable_income) spouse_net_taxable_income,
         fnd_number.canonical_to_number(pjit.private_pension_premium) private_pension_premium,
         fnd_number.canonical_to_number(pjit.long_damage_insurance_premium) long_damage_insurance_premium,
         fnd_number.canonical_to_number(pjit.mutual_aid_premium) mutual_aid_premium,
         --fnd_number.canonical_to_number(pjit.disaster_tax_reduction) disaster_tax_reduction,
         --pjio.husband_exists,
         --pjio.minor,
         --pjio.otsu,
         pjio.special_disabled,
         pjio.disabled,
         --pjio.aged,
         pjio.widow,
         pjio.special_widow,
         pjio.widower,
         pjio.working_student
         --pjio.deceased_termination,
         --pjio.disastered,
         --pjio.foreigner,
         --pjit.prev_job_employer_name_kanji prev_job_employer_name,
         --pjit.prev_job_employer_name_kana,
         --pjit.prev_job_employer_add_kanji prev_job_employer_add,
         --pjit.prev_job_employer_add_kana,
         --pjit.prev_job_foreign_address,
         --fnd_number.canonical_to_number(pjit.prev_job_taxable_income) prev_job_taxable_income,
         --fnd_number.canonical_to_number(pjit.prev_job_itax) prev_job_itax,
         --fnd_number.canonical_to_number(pjit.prev_job_si_prem) prev_job_si_prem,
         --null prev_job_termination_date,
         --fnd_number.canonical_to_number(pjit.prev_job_termination_year) prev_job_termination_year,
         --fnd_number.canonical_to_number(pjit.prev_job_termination_month) prev_job_termination_month,
         --fnd_number.canonical_to_number(pjit.prev_job_termination_day) prev_job_termination_day,
         --null housing_residence_date,
         --fnd_number.canonical_to_number(pjit.housing_residence_year) housing_residence_year,
         --fnd_number.canonical_to_number(pjit.housing_residence_month) housing_residence_month,
         --fnd_number.canonical_to_number(pjit.housing_residence_day) housing_residence_day
  from   pay_assignment_actions paa_yea,
         pay_assignment_actions paa_yea_all,
         pay_assignment_actions paa_iarch,
         pay_payroll_actions ppa_iarch,
         pay_jp_itax_person_v2 pjip,
         pay_jp_itax_arch_v2 pjia,
         pay_jp_itax_tax_v pjit,
         pay_jp_itax_other_v pjio
  where  paa_yea.assignment_action_id = p_assignment_action_id
  and    paa_yea_all.payroll_action_id = paa_yea.payroll_action_id
  -- use index for performance so that not join to pjia directory
  and    paa_iarch.assignment_id = paa_yea_all.assignment_id
  and    ppa_iarch.payroll_action_id = paa_iarch.payroll_action_id
  and    ppa_iarch.effective_date
         between g_effective_soy and g_effective_eoy
  and    ppa_iarch.action_type = 'X'
  and    ppa_iarch.report_type = 'JPTW'
  and    ppa_iarch.report_qualifier = 'JP'
  and    ppa_iarch.report_category = 'ARCHIVE'
  and    pjip.action_context_id = paa_iarch.assignment_action_id
  and    pjia.action_context_id = pjip.action_context_id
  and    pjia.effective_date = pjip.effective_date
  and    pjia.itax_yea_category = '0'
  and    pjia.assignment_action_id = paa_yea_all.assignment_action_id
  and    pjit.action_context_id = pjip.action_context_id
  and    pjit.effective_date = pjip.effective_date
  and    pjio.action_context_id = pjip.action_context_id
  and    pjio.effective_date = pjip.effective_date;
Line: 1922

  select /*+ ORDERED */
         pjwa.assignment_action_id,
         pjwa.assignment_id,
         pjwa.action_sequence,
         pjwa.effective_date,
         pjwa.date_earned,
         pjwa.itax_organization_id itx_org_id,
         pjwa.itax_category itx_type,
         pjwa.itax_yea_category itx_inc_flag,
         nvl(nvl(pap.prl_information1,g_bg_itax_dpnt_ref_type),'CTR_EE') dpnt_ref_type,
         nvl(fnd_date.canonical_to_date(pay_core_utils.get_parameter('ITAX_DPNT_EFFECTIVE_DATE',pjwa.legislative_parameters)),pjwa.effective_date) dpnt_effective_date,
         pp.person_id,
         pp.sex,
         pp.date_of_birth,
         pjwa.leaving_reason,
         pp.per_information18 last_name,
         pp.last_name last_name_kana,
         pjwa.employment_category
  from   pay_assignment_actions paa_yea,
         pay_jp_wic_assacts_v pjwa,
         pay_all_payrolls_f pap,
         per_all_people_f pp
  where  paa_yea.assignment_action_id = p_assignment_action_id
  and    pjwa.payroll_action_id = paa_yea.payroll_action_id
  and    pap.payroll_id = pjwa.payroll_id
  and    pjwa.effective_date
         between pap.effective_start_date and pap.effective_end_date
  and    pp.person_id = pjwa.person_id
  and    pjwa.effective_date
         between pp.effective_start_date and pp.effective_end_date
  and    pjwa.itax_yea_category = '0'
  and not exists(
    select null
    from   pay_assignment_actions paa_iarch,
           pay_payroll_actions ppa_iarch,
           pay_jp_itax_person_v2 pjip,
           pay_jp_itax_arch_v2 pjia
    where  paa_iarch.assignment_id = paa_yea.assignment_id
    and    ppa_iarch.payroll_action_id = paa_iarch.payroll_action_id
    and    ppa_iarch.effective_date
           between g_effective_soy and g_effective_eoy
    and    ppa_iarch.action_type = 'X'
    and    ppa_iarch.report_type = 'JPTW'
    and    ppa_iarch.report_qualifier = 'JP'
    and    ppa_iarch.report_category = 'ARCHIVE'
    and    pjip.action_context_id = paa_iarch.assignment_action_id
    and    pjia.action_context_id = pjip.action_context_id
    and    pjia.effective_date = pjip.effective_date
    and    pjia.itax_yea_category = '0'
    and    pjia.assignment_action_id = paa_yea.assignment_action_id);
Line: 2052

        l_prev_jobs.delete;
Line: 2161

          l_prev_jobs.delete;
Line: 2271

        l_prev_jobs.delete;
Line: 3450

  select /*+ ORDERED */
         pjia.payroll_id
  from   pay_jp_itwb_assact_v pjia,
         pay_assignment_actions paa_arch_o
  where  pjia.assignment_id = p_assignment_id
  and    pjia.effective_date
         between g_effective_soy and g_effective_eoy
  and    paa_arch_o.assignment_action_id = pjia.assignment_action_id
  order by paa_arch_o.action_sequence desc;
Line: 3584

  select /*+ ORDERED */
         pjia.payroll_id
  from   pay_jp_itwb_assact_v pjia,
         pay_assignment_actions paa_arch_o
  where  pjia.assignment_id = p_assignment_id
  and    pjia.effective_date
         between g_effective_soy and g_effective_eoy
  and    paa_arch_o.assignment_action_id = pjia.assignment_action_id
  order by paa_arch_o.action_sequence desc;
Line: 3730

  select hoi.org_information2 item_cat,
         decode(hoi.org_information3,
           'IV',fnd_number.canonical_to_number(hoi.org_information5),
           'DBAL',fnd_number.canonical_to_number(hoi.org_information7)) item_id,
         hoi.org_information3 item_type,
         hoi.org_information8 item_rep_name,
         fnd_number.canonical_to_number(hoi.org_information9) item_rep_seq,
         hoi.org_information10 item_null_valid
  from   hr_organization_information hoi
  where  hoi.organization_id = g_itax_organization_id
  and    hoi.org_information_context = 'JP_ITWB_ITEM_INFO'
  and    fnd_number.canonical_to_number(hoi.org_information1) = p_payroll_id
  and    not exists(
    select null
    from   hr_organization_information hoi2
    where  hoi2.organization_id = g_itax_organization_id
    and    hoi2.org_information_context = 'JP_ITWB_ITEM_INFO'
    and    fnd_number.canonical_to_number(hoi2.org_information1) = p_payroll_id
    and    hoi2.org_information2 = hoi.org_information2
    and    hoi2.org_information3 = hoi.org_information3
    and    decode(hoi2.org_information3,
           'IV',fnd_number.canonical_to_number(hoi2.org_information5),
           'DBAL',fnd_number.canonical_to_number(hoi2.org_information7))
         = decode(hoi.org_information3,
           'IV',fnd_number.canonical_to_number(hoi.org_information5),
           'DBAL',fnd_number.canonical_to_number(hoi.org_information7))
    and    hoi2.org_information_id > hoi.org_information_id)
  order by
    hoi.org_information2,
    fnd_number.canonical_to_number(hoi.org_information9),
    hoi.org_information8;
Line: 3993

  select /*+ ORDERED */
         target_iv.input_value_id,
         sum(nvl(fnd_number.canonical_to_number(prrv.result_value),0)) rslt_val
  from   (select /*+ ORDERED */
                 piv.element_type_id,
                 piv.input_value_id
          from   hr_organization_information hoi,
                 pay_input_values_f piv
          where  hoi.organization_id = g_itax_organization_id
          and    hoi.org_information_context = 'JP_ITWB_ITEM_INFO'
          and    hoi.org_information3 = 'IV'
          and    fnd_number.canonical_to_number(hoi.org_information1) = p_data_ass_payroll_id
          and    piv.input_value_id = fnd_number.canonical_to_number(hoi.org_information5)
          and    nvl(piv.legislation_code,g_legislation_code) = g_legislation_code
          and    nvl(piv.business_group_id,g_business_group_id) = g_business_group_id
          and    p_data_ass_date_earned
                 between piv.effective_start_date and piv.effective_end_date
          and    not exists(
            select null
            from   hr_organization_information hoi2
            where  hoi2.organization_id = g_itax_organization_id
            and    hoi2.org_information_context = 'JP_ITWB_ITEM_INFO'
            and    hoi2.org_information3 = 'IV'
            and    fnd_number.canonical_to_number(hoi2.org_information1) = p_data_ass_payroll_id
            and    fnd_number.canonical_to_number(hoi2.org_information5) = fnd_number.canonical_to_number(hoi.org_information5)
            and    hoi2.org_information_id > hoi.org_information_id)) target_iv,
         pay_run_results prr,
         pay_run_result_values prrv
  where  prr.assignment_action_id = p_assignment_action_id
  and    prr.element_type_id = target_iv.element_type_id
  and    prrv.run_result_id = prr.run_result_id
  and    prrv.input_value_id = target_iv.input_value_id
  group by target_iv.input_value_id;
Line: 4349

  update pay_action_information
  set action_information14 = fnd_number.number_to_canonical(
    nvl(fnd_number.canonical_to_number(action_information2),0)
  + nvl(fnd_number.canonical_to_number(action_information3),0)
  + nvl(fnd_number.canonical_to_number(action_information4),0)
  + nvl(fnd_number.canonical_to_number(action_information5),0)
  + nvl(fnd_number.canonical_to_number(action_information6),0)
  + nvl(fnd_number.canonical_to_number(action_information7),0)
  + nvl(fnd_number.canonical_to_number(action_information8),0)
  + nvl(fnd_number.canonical_to_number(action_information9),0)
  + nvl(fnd_number.canonical_to_number(action_information10),0)
  + nvl(fnd_number.canonical_to_number(action_information11),0)
  + nvl(fnd_number.canonical_to_number(action_information12),0)
  + nvl(fnd_number.canonical_to_number(action_information13),0))
  where action_context_type = 'AAP'
  and   action_information_category = 'JP_ITWB_SAL_PAY'
  and   action_context_id = p_assignment_action_id
  and   action_information1 <> 'DPT'
  and   (action_information2 is not null
        or action_information3 is not null
        or action_information4 is not null
        or action_information5 is not null
        or action_information6 is not null
        or action_information7 is not null
        or action_information8 is not null
        or action_information9 is not null
        or action_information10 is not null
        or action_information11 is not null
        or action_information12 is not null
        or action_information13 is not null);
Line: 4381

  update pay_action_information
  set action_information17 = fnd_number.number_to_canonical(
    nvl(fnd_number.canonical_to_number(action_information2),0)
  + nvl(fnd_number.canonical_to_number(action_information3),0)
  + nvl(fnd_number.canonical_to_number(action_information4),0)
  + nvl(fnd_number.canonical_to_number(action_information5),0)
  + nvl(fnd_number.canonical_to_number(action_information6),0)
  + nvl(fnd_number.canonical_to_number(action_information7),0)
  + nvl(fnd_number.canonical_to_number(action_information8),0)
  + nvl(fnd_number.canonical_to_number(action_information9),0)
  + nvl(fnd_number.canonical_to_number(action_information10),0)
  + nvl(fnd_number.canonical_to_number(action_information11),0)
  + nvl(fnd_number.canonical_to_number(action_information12),0)
  + nvl(fnd_number.canonical_to_number(action_information13),0)
  + nvl(fnd_number.canonical_to_number(action_information14),0)
  + nvl(fnd_number.canonical_to_number(action_information15),0)
  + nvl(fnd_number.canonical_to_number(action_information16),0))
  where action_context_type = 'AAP'
  and   action_information_category = 'JP_ITWB_BON_PAY'
  and   action_context_id = p_assignment_action_id
  and   action_information1 not in ('DPT','ITX_RATE')
  and   (action_information2 is not null
        or action_information3 is not null
        or action_information4 is not null
        or action_information5 is not null
        or action_information6 is not null
        or action_information7 is not null
        or action_information8 is not null
        or action_information9 is not null
        or action_information10 is not null
        or action_information11 is not null
        or action_information12 is not null
        or action_information13 is not null
        or action_information14 is not null
        or action_information15 is not null
        or action_information16 is not null);
Line: 4445

    update pay_action_information
    set action_information19 = fnd_number.number_to_canonical(
      nvl(fnd_number.canonical_to_number(action_information7),0)
    + nvl(fnd_number.canonical_to_number(action_information8),0)
    + nvl(fnd_number.canonical_to_number(action_information9),0)
    + nvl(fnd_number.canonical_to_number(action_information10),0)
    + nvl(fnd_number.canonical_to_number(action_information11),0)
    + nvl(fnd_number.canonical_to_number(action_information12),0)
    + nvl(fnd_number.canonical_to_number(action_information13),0)
    + nvl(fnd_number.canonical_to_number(action_information14),0)
    + nvl(fnd_number.canonical_to_number(action_information15),0)
    + nvl(fnd_number.canonical_to_number(action_information16),0)
    + nvl(fnd_number.canonical_to_number(action_information17),0)
    + nvl(fnd_number.canonical_to_number(action_information18),0))
    where action_context_type = 'AAP'
    and   action_information_category = 'JP_ITWB_SAL_EARN'
    and   action_context_id = p_assignment_action_id
    and   (action_information7 is not null
          or action_information8 is not null
          or action_information9 is not null
          or action_information10 is not null
          or action_information11 is not null
          or action_information12 is not null
          or action_information13 is not null
          or action_information14 is not null
          or action_information15 is not null
          or action_information16 is not null
          or action_information17 is not null
          or action_information18 is not null);
Line: 4476

    update pay_action_information
    set action_information19 = fnd_number.number_to_canonical(
      nvl(fnd_number.canonical_to_number(action_information7),0)
    + nvl(fnd_number.canonical_to_number(action_information8),0)
    + nvl(fnd_number.canonical_to_number(action_information9),0)
    + nvl(fnd_number.canonical_to_number(action_information10),0)
    + nvl(fnd_number.canonical_to_number(action_information11),0)
    + nvl(fnd_number.canonical_to_number(action_information12),0)
    + nvl(fnd_number.canonical_to_number(action_information13),0)
    + nvl(fnd_number.canonical_to_number(action_information14),0)
    + nvl(fnd_number.canonical_to_number(action_information15),0)
    + nvl(fnd_number.canonical_to_number(action_information16),0)
    + nvl(fnd_number.canonical_to_number(action_information17),0)
    + nvl(fnd_number.canonical_to_number(action_information18),0))
    where action_context_type = 'AAP'
    and   action_information_category = 'JP_ITWB_SAL_DCT'
    and   action_context_id = p_assignment_action_id
    and   (action_information7 is not null
          or action_information8 is not null
          or action_information9 is not null
          or action_information10 is not null
          or action_information11 is not null
          or action_information12 is not null
          or action_information13 is not null
          or action_information14 is not null
          or action_information15 is not null
          or action_information16 is not null
          or action_information17 is not null
          or action_information18 is not null);
Line: 4507

    update pay_action_information
    set action_information19 = fnd_number.number_to_canonical(
      nvl(fnd_number.canonical_to_number(action_information7),0)
    + nvl(fnd_number.canonical_to_number(action_information8),0)
    + nvl(fnd_number.canonical_to_number(action_information9),0)
    + nvl(fnd_number.canonical_to_number(action_information10),0)
    + nvl(fnd_number.canonical_to_number(action_information11),0)
    + nvl(fnd_number.canonical_to_number(action_information12),0)
    + nvl(fnd_number.canonical_to_number(action_information13),0)
    + nvl(fnd_number.canonical_to_number(action_information14),0)
    + nvl(fnd_number.canonical_to_number(action_information15),0)
    + nvl(fnd_number.canonical_to_number(action_information16),0)
    + nvl(fnd_number.canonical_to_number(action_information17),0)
    + nvl(fnd_number.canonical_to_number(action_information18),0))
    where action_context_type = 'AAP'
    and   action_information_category = 'JP_ITWB_WRK'
    and   action_context_id = p_assignment_action_id
    and   (action_information7 is not null
          or action_information8 is not null
          or action_information9 is not null
          or action_information10 is not null
          or action_information11 is not null
          or action_information12 is not null
          or action_information13 is not null
          or action_information14 is not null
          or action_information15 is not null
          or action_information16 is not null
          or action_information17 is not null
          or action_information18 is not null);
Line: 4540

    update pay_action_information
    set action_information22 = fnd_number.number_to_canonical(
      nvl(fnd_number.canonical_to_number(action_information7),0)
    + nvl(fnd_number.canonical_to_number(action_information8),0)
    + nvl(fnd_number.canonical_to_number(action_information9),0)
    + nvl(fnd_number.canonical_to_number(action_information10),0)
    + nvl(fnd_number.canonical_to_number(action_information11),0)
    + nvl(fnd_number.canonical_to_number(action_information12),0)
    + nvl(fnd_number.canonical_to_number(action_information13),0)
    + nvl(fnd_number.canonical_to_number(action_information14),0)
    + nvl(fnd_number.canonical_to_number(action_information15),0)
    + nvl(fnd_number.canonical_to_number(action_information16),0)
    + nvl(fnd_number.canonical_to_number(action_information17),0)
    + nvl(fnd_number.canonical_to_number(action_information18),0)
    + nvl(fnd_number.canonical_to_number(action_information19),0)
    + nvl(fnd_number.canonical_to_number(action_information20),0)
    + nvl(fnd_number.canonical_to_number(action_information21),0))
    where action_context_type = 'AAP'
    and   action_information_category = 'JP_ITWB_BON_EARN'
    and   action_context_id = p_assignment_action_id
    and   (action_information7 is not null
          or action_information8 is not null
          or action_information9 is not null
          or action_information10 is not null
          or action_information11 is not null
          or action_information12 is not null
          or action_information13 is not null
          or action_information14 is not null
          or action_information15 is not null
          or action_information16 is not null
          or action_information17 is not null
          or action_information18 is not null
          or action_information19 is not null
          or action_information20 is not null
          or action_information21 is not null);
Line: 4577

    update pay_action_information
    set action_information22 = fnd_number.number_to_canonical(
      nvl(fnd_number.canonical_to_number(action_information7),0)
    + nvl(fnd_number.canonical_to_number(action_information8),0)
    + nvl(fnd_number.canonical_to_number(action_information9),0)
    + nvl(fnd_number.canonical_to_number(action_information10),0)
    + nvl(fnd_number.canonical_to_number(action_information11),0)
    + nvl(fnd_number.canonical_to_number(action_information12),0)
    + nvl(fnd_number.canonical_to_number(action_information13),0)
    + nvl(fnd_number.canonical_to_number(action_information14),0)
    + nvl(fnd_number.canonical_to_number(action_information15),0)
    + nvl(fnd_number.canonical_to_number(action_information16),0)
    + nvl(fnd_number.canonical_to_number(action_information17),0)
    + nvl(fnd_number.canonical_to_number(action_information18),0)
    + nvl(fnd_number.canonical_to_number(action_information19),0)
    + nvl(fnd_number.canonical_to_number(action_information20),0)
    + nvl(fnd_number.canonical_to_number(action_information21),0))
    where action_context_type = 'AAP'
    and   action_information_category = 'JP_ITWB_BON_DCT'
    and   action_context_id = p_assignment_action_id
    and   (action_information7 is not null
          or action_information8 is not null
          or action_information9 is not null
          or action_information10 is not null
          or action_information11 is not null
          or action_information12 is not null
          or action_information13 is not null
          or action_information14 is not null
          or action_information15 is not null
          or action_information16 is not null
          or action_information17 is not null
          or action_information18 is not null
          or action_information19 is not null
          or action_information20 is not null
          or action_information21 is not null);
Line: 5368

  select /*+ ORDERED */
         ppa.business_group_id,
         ppa.effective_date,
         ppa.legislative_parameters,
         pbg.legislation_code
  from   pay_payroll_actions ppa,
         per_business_groups_perf pbg
  where  ppa.payroll_action_id = p_payroll_action_id
  and    pbg.business_group_id = ppa.business_group_id;
Line: 5380

  select /*+ ORDERED */
         pjip.payroll_action_id,
         pjip.archive_sequence
  from   pay_payroll_actions ppa, -- proc pact
         pay_jp_itwb_pact_v pjip  -- source pact
  where  ppa.business_group_id + 0 = g_business_group_id
  and    ppa.effective_date
         between g_effective_soy and decode(g_arch_option,'ADD',g_effective_som - 1,g_effective_eoy)
  and    ppa.action_type = 'X'
  and    ppa.action_status = 'C'
  and    ppa.report_type = 'JP_ITWB_ARCH'
  and    ppa.report_qualifier = 'JP'
  and    ppa.report_category = 'ARCHIVE'
  and    pjip.payroll_action_id = ppa.payroll_action_id
  and    pjip.itax_org_id = g_itax_organization_id
  and    pjip.status <> 'UPDATE'
  and exists(
    select null
    from   pay_assignment_actions paa,
           pay_jp_itwb_assact_v pjia
    where  paa.payroll_action_id = pjip.payroll_action_id
    and    pjia.assignment_action_id = paa.assignment_action_id)
  and not exists(
    select /*+ ORDERED */
           null
    from   pay_payroll_actions ppa2,
           pay_jp_itwb_pact_v pjip2
    where  ppa2.business_group_id + 0 = g_business_group_id
    and    ppa2.effective_date
           between g_effective_soy and decode(g_arch_option,'ADD',g_effective_som - 1,g_effective_eoy)
    and    ppa2.action_type = 'X'
    and    ppa2.action_status = 'C'
    and    ppa2.report_type = 'JP_ITWB_ARCH'
    and    ppa2.report_qualifier = 'JP'
    and    ppa2.report_category = 'ARCHIVE'
    and    pjip2.payroll_action_id = ppa2.payroll_action_id
    and    pjip2.itax_org_id = g_itax_organization_id
    and    pjip2.status <> 'UPDATE'
    and    pjip2.archive_sequence > pjip.archive_sequence
    and exists(
      select null
      from   pay_assignment_actions paa2,
             pay_jp_itwb_assact_v pjia2
      where  paa2.payroll_action_id = pjip2.payroll_action_id
      and    pjia2.assignment_action_id = paa2.assignment_action_id));
Line: 5431

  select /*+ ORDERED */
         pjip.archive_sequence
  from   pay_payroll_actions ppa, -- proc pact
         pay_jp_itwb_pact_v pjip  -- source pact
  where  ppa.business_group_id + 0 = g_business_group_id
  and    ppa.effective_date
         between g_effective_soy and decode(g_arch_option,'ADD',g_effective_som - 1,g_effective_eoy)
  and    ppa.action_type = 'X'
  and    ppa.action_status = 'C'
  and    ppa.report_type = 'JP_ITWB_ARCH'
  and    ppa.report_qualifier = 'JP'
  and    ppa.report_category = 'ARCHIVE'
  and    pjip.payroll_action_id = ppa.payroll_action_id
  and    pjip.itax_org_id = g_itax_organization_id
  and    pjip.archive_sequence >= l_archive_sequence_o
  and not exists(
    select /*+ ORDERED */
           null
    from   pay_payroll_actions ppa2,
           pay_jp_itwb_pact_v pjip2
    where  ppa2.business_group_id + 0 = g_business_group_id
    and    ppa2.effective_date
           between g_effective_soy and decode(g_arch_option,'ADD',g_effective_som - 1,g_effective_eoy)
    and    ppa2.action_type = 'X'
    and    ppa2.action_status = 'C'
    and    ppa2.report_type = 'JP_ITWB_ARCH'
    and    ppa2.report_qualifier = 'JP'
    and    ppa2.report_category = 'ARCHIVE'
    and    pjip2.payroll_action_id = ppa2.payroll_action_id
    and    pjip2.itax_org_id = g_itax_organization_id
    and    pjip2.archive_sequence >= l_archive_sequence_o
    and    pjip2.archive_sequence > pjip.archive_sequence);
Line: 5466

  select nvl(hoi.org_information2,'CTR_EE')
  from   /* Business Group details */
         hr_organization_information hoi
  where  hoi.organization_id = g_business_group_id
  and    hoi.org_information_context = 'JP_BUSINESS_GROUP_INFO';
Line: 5474

  select ltrim(rtrim(replace(hoi.org_information1,';',''))) org_cust_proc,
Line: 5558

    if g_arch_option <> 'UPDATE' then
    --
      g_payroll_id := null;
Line: 5662

  delete from pay_action_information
  where action_context_id = p_assignment_action_id
  and   action_information_category like 'JP_ITWB_%'
  and   action_context_type = 'AAP';
Line: 5693

  select paa.assignment_action_id
  from   pay_assignment_actions paa
  where  paa.payroll_action_id = p_payroll_action_id;
Line: 5706

  delete from pay_action_information
  where action_context_id = p_payroll_action_id
  and   action_information_category in ('JP_ITWB_PACT','JP_ITWB_ITAX_ORG')
  and   action_context_type = 'PA';
Line: 5763

  select pjip.payroll_action_id
  from   pay_jp_itwb_pact_v pjip
  where  pjip.itax_org_id = g_itax_organization_id
  and    pjip.effective_date
         between g_effective_soy and g_effective_eoy
  order by pjip.archive_sequence desc;
Line: 5815

  select 'Y'
  from   pay_jp_itwb_pact_v
  where  payroll_action_id = p_payroll_action_id;
Line: 5821

  select /*+ ORDERED */
         hoi.org_information1 name,
         hoi.org_information2 name_kana,
         hoi.org_information6||hoi.org_information7||hoi.org_information8 address,
         hoi.org_information9||hoi.org_information10||hoi.org_information11 address_kana,
         hoi.org_information12 phone,
         hoiw.org_information4 serial1,
         hoiw.org_information5 serial2
  from   hr_all_organization_units hou,
         hr_organization_information hoi,
         hr_organization_information hoiw
  where  hou.organization_id = g_itax_organization_id
  and    hoi.organization_id(+) = hou.organization_id
  and    hoi.org_information_context(+) = 'JP_TAX_SWOT_INFO'
  and    hoiw.organization_id(+) = hou.organization_id
  and    hoiw.org_information_context(+) = 'JP_ITAX_WITHHELD_INFO';
Line: 6032

    'select distinct ppos.person_id
     from   pay_payroll_actions ppa,
            per_all_people_f pp,
            per_periods_of_service ppos
     where  ppa.payroll_action_id = :payroll_action_id
     and    pp.business_group_id = ppa.business_group_id + 0
     and    ppos.person_id = pp.person_id
     and    ppos.business_group_id + 0 = pp.business_group_id
     and    ppos.date_start <= fnd_date.canonical_to_date(''i_effective_eoy'')
     and    nvl(ppos.final_process_date,fnd_date.canonical_to_date(''i_effective_soy'')) >= fnd_date.canonical_to_date(''i_effective_soy'')
     order by
       ppos.person_id';
Line: 6089

  select  /*+ ORDERED */
          pa.person_id,
          paa.assignment_id
  from    pay_payroll_actions ppa,
          pay_assignment_actions paa,
          per_all_assignments_f pa,
          pay_link_input_values_f pliv_itax_org,
          pay_link_input_values_f pliv_itax_type,
          pay_element_entries_f pee_itax_org,
          pay_element_entries_f pee_itax_type,
          pay_element_entry_values_f peev_itax_org,
          pay_element_entry_values_f peev_itax_type
  where   ppa.business_group_id + 0 = g_business_group_id
  and     ppa.action_status = 'C'
  and     ppa.action_type in ('R', 'Q', 'B', 'I')
  and     decode(nvl(ppa.element_set_id,-1),
            c_yea_ele_set_id,ppa.date_earned,
            c_rey_ele_set_id,ppa.date_earned,ppa.effective_date)
          between g_effective_soy and g_effective_eom
  and     nvl(ppa.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
  and     decode(nvl(ppa.element_type_id,-1),-1,nvl(ppa.element_set_id,-1),c_sal_ele_set_id) in (
            c_sal_ele_set_id,
            c_bon_ele_set_id,
            c_spb_ele_set_id,
            c_yea_ele_set_id,
            c_rey_ele_set_id,
            c_sal_cust_ele_set_id,
            c_bon_cust_ele_set_id,
            c_spb_cust_ele_set_id,
            c_yea_cust_ele_set_id,
            c_rey_cust_ele_set_id,
            -1)
  and     paa.payroll_action_id = ppa.payroll_action_id
  and     paa.action_status = 'C'
  and     decode(nvl(ppa.element_type_id,-1),-1,decode(nvl(ppa.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa.assignment_action_id,ppa.action_type),'N'),'Y'),'Y') <> 'N'
  and     pa.assignment_id = paa.assignment_id
  and     ppa.effective_date
          between pa.effective_start_date and pa.effective_end_date
  and not exists(
    select /*+ ORDERED */
           null
    from   pay_action_interlocks pai,
           pay_assignment_actions paav,
           pay_payroll_actions ppav
    where  pai.locked_action_id = paa.assignment_action_id
    and    paav.assignment_action_id = pai.locking_action_id
    and    ppav.payroll_action_id = paav.payroll_action_id
    and    ppav.action_type = 'V')
  and     pliv_itax_org.input_value_id = c_itx_org_iv_id
  and     ppa.effective_date
          between pliv_itax_org.effective_start_date and pliv_itax_org.effective_end_date
  and     pliv_itax_type.input_value_id = c_itx_type_iv_id
  and     ppa.effective_date
          between pliv_itax_type.effective_start_date and pliv_itax_type.effective_end_date
  and     pee_itax_org.assignment_id = paa.assignment_id
  and     pee_itax_org.element_link_id = pliv_itax_org.element_link_id
  and     ppa.effective_date
          between pee_itax_org.effective_start_date and pee_itax_org.effective_end_date
  and     pee_itax_type.assignment_id = paa.assignment_id
  and     pee_itax_type.element_link_id = pliv_itax_type.element_link_id
  and     ppa.effective_date
          between pee_itax_type.effective_start_date and pee_itax_type.effective_end_date
  and     peev_itax_org.element_entry_id = pee_itax_org.element_entry_id
  and     peev_itax_org.input_value_id = pliv_itax_org.input_value_id
  and     peev_itax_org.effective_start_date = pee_itax_org.effective_start_date
  and     peev_itax_org.effective_end_date = pee_itax_org.effective_end_date
  and     fnd_number.canonical_to_number(decode(peev_itax_org.input_value_id,c_itx_org_iv_id,peev_itax_org.screen_entry_value,null)) = g_itax_organization_id
  and     peev_itax_type.element_entry_id = pee_itax_type.element_entry_id
  and     peev_itax_type.input_value_id = pliv_itax_type.input_value_id
  and     peev_itax_type.effective_start_date = pee_itax_type.effective_start_date
  and     peev_itax_type.effective_end_date = pee_itax_type.effective_end_date
  and     peev_itax_type.screen_entry_value <> 'E'
  and not exists(
    select /*+ ORDERED */
           null
    from   pay_payroll_actions ppa2,
           pay_assignment_actions paa2,
           pay_link_input_values_f pliv_itax_org2,
           pay_link_input_values_f pliv_itax_type2,
           pay_element_entries_f pee_itax_org2,
           pay_element_entries_f pee_itax_type2,
           pay_element_entry_values_f peev_itax_org2,
           pay_element_entry_values_f peev_itax_type2
    where  ppa2.business_group_id + 0 = g_business_group_id
    and    ppa2.action_status = 'C'
    and    ppa2.action_type in ('R', 'Q', 'B', 'I')
    and    decode(nvl(ppa2.element_set_id,-1),
              c_yea_ele_set_id,ppa2.date_earned,
              c_rey_ele_set_id,ppa2.date_earned,ppa2.effective_date)
           between g_effective_soy and g_effective_eom
    and    nvl(ppa2.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
    and    decode(nvl(ppa2.element_type_id,-1),-1,nvl(ppa2.element_set_id,-1),c_sal_ele_set_id) in (
             c_sal_ele_set_id,
             c_bon_ele_set_id,
             c_spb_ele_set_id,
             c_yea_ele_set_id,
             c_rey_ele_set_id,
             c_sal_cust_ele_set_id,
             c_bon_cust_ele_set_id,
             c_spb_cust_ele_set_id,
             c_yea_cust_ele_set_id,
             c_rey_cust_ele_set_id,
             -1)
    and    paa2.payroll_action_id = ppa2.payroll_action_id
    and    decode(nvl(ppa2.element_type_id,-1),-1,decode(nvl(ppa2.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa2.assignment_action_id,ppa2.action_type),'N'),'Y'),'Y') <> 'N'
    and    paa2.action_status = 'C'
    and not exists(
      select /*+ ORDERED */
             null
      from   pay_action_interlocks pai2,
             pay_assignment_actions paav2,
             pay_payroll_actions ppav2
      where  pai2.locked_action_id = paa2.assignment_action_id
      and    paav2.assignment_action_id = pai2.locking_action_id
      and    ppav2.payroll_action_id = paav2.payroll_action_id
      and    ppav2.action_type = 'V')
    and     pliv_itax_org2.input_value_id = c_itx_org_iv_id
    and     ppa2.effective_date
            between pliv_itax_org2.effective_start_date and pliv_itax_org2.effective_end_date
    and     pliv_itax_type2.input_value_id = c_itx_type_iv_id
    and     ppa2.effective_date
            between pliv_itax_type2.effective_start_date and pliv_itax_type2.effective_end_date
    and     pee_itax_org2.assignment_id = paa2.assignment_id
    and     pee_itax_org2.element_link_id = pliv_itax_org2.element_link_id
    and     ppa2.effective_date
            between pee_itax_org2.effective_start_date and pee_itax_org2.effective_end_date
    and     pee_itax_type2.assignment_id = paa2.assignment_id
    and     pee_itax_type2.element_link_id = pliv_itax_type2.element_link_id
    and     ppa2.effective_date
            between pee_itax_type2.effective_start_date and pee_itax_type2.effective_end_date
    and     peev_itax_org2.element_entry_id = pee_itax_org2.element_entry_id
    and     peev_itax_org2.input_value_id = pliv_itax_org2.input_value_id
    and     peev_itax_org2.effective_start_date = pee_itax_org2.effective_start_date
    and     peev_itax_org2.effective_end_date = pee_itax_org2.effective_end_date
    and     fnd_number.canonical_to_number(decode(peev_itax_org2.input_value_id,c_itx_org_iv_id,peev_itax_org2.screen_entry_value,null)) = g_itax_organization_id
    and     peev_itax_type2.element_entry_id = pee_itax_type2.element_entry_id
    and     peev_itax_type2.input_value_id = pliv_itax_type2.input_value_id
    and     peev_itax_type2.effective_start_date = pee_itax_type2.effective_start_date
    and     peev_itax_type2.effective_end_date = pee_itax_type2.effective_end_date
    and     peev_itax_type2.screen_entry_value <> 'E'
    and     paa2.assignment_id = paa.assignment_id
    and     paa2.action_sequence > paa.action_sequence)
  order by pa.person_id;
Line: 6235

  select /*+ ORDERED */
         larch_v.person_id,
         larch_v.assignment_id
  from   (select /*+ ORDERED */
                 pa.assignment_id,
                 pa.person_id,
                 ppa.effective_date
          from   pay_payroll_actions ppa,
                 pay_assignment_actions paa,
                 per_all_assignments_f pa,
                 pay_link_input_values_f pliv_itax_org,
                 pay_link_input_values_f pliv_itax_type,
                 pay_element_entries_f pee_itax_org,
                 pay_element_entries_f pee_itax_type,
                 pay_element_entry_values_f peev_itax_org,
                 pay_element_entry_values_f peev_itax_type
          where  ppa.business_group_id + 0 = g_business_group_id
          and    ppa.action_status = 'C'
          and    ppa.action_type in ('R', 'Q', 'B', 'I')
         and     decode(nvl(ppa.element_set_id,-1),
                   c_yea_ele_set_id,ppa.date_earned,
                   c_rey_ele_set_id,ppa.date_earned,ppa.effective_date)
                 between g_effective_soy and g_effective_eom
          and    nvl(ppa.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
          and    decode(nvl(ppa.element_type_id,-1),-1,nvl(ppa.element_set_id,-1),c_sal_ele_set_id) in (
                   c_sal_ele_set_id,
                   c_bon_ele_set_id,
                   c_spb_ele_set_id,
                   c_yea_ele_set_id,
                   c_rey_ele_set_id,
                   c_sal_cust_ele_set_id,
                   c_bon_cust_ele_set_id,
                   c_spb_cust_ele_set_id,
                   c_yea_cust_ele_set_id,
                   c_rey_cust_ele_set_id,
                   -1)
          and    paa.payroll_action_id = ppa.payroll_action_id
          and    decode(nvl(ppa.element_type_id,-1),-1,decode(nvl(ppa.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa.assignment_action_id,ppa.action_type),'N'),'Y'),'Y') <> 'N'
          and    paa.action_status = 'C'
          and not exists(
            select /*+ ORDERED */
                   null
            from   pay_action_interlocks pai,
                   pay_assignment_actions paav,
                   pay_payroll_actions ppav
            where  pai.locked_action_id = paa.assignment_action_id
            and    paav.assignment_action_id = pai.locking_action_id
            and    ppav.payroll_action_id = paav.payroll_action_id
            and    ppav.action_type = 'V')
          and    pa.assignment_id = paa.assignment_id
          and    ppa.effective_date
                 between pa.effective_start_date and pa.effective_end_date
          and    pliv_itax_org.input_value_id = c_itx_org_iv_id
          and    ppa.effective_date
                 between pliv_itax_org.effective_start_date and pliv_itax_org.effective_end_date
          and    pliv_itax_type.input_value_id = c_itx_type_iv_id
          and    ppa.effective_date
                 between pliv_itax_type.effective_start_date and pliv_itax_type.effective_end_date
          and    pee_itax_org.assignment_id = paa.assignment_id
          and    pee_itax_org.element_link_id = pliv_itax_org.element_link_id
          and    ppa.effective_date
                 between pee_itax_org.effective_start_date and pee_itax_org.effective_end_date
          and    pee_itax_type.assignment_id = paa.assignment_id
          and    pee_itax_type.element_link_id = pliv_itax_type.element_link_id
          and    ppa.effective_date
                 between pee_itax_type.effective_start_date and pee_itax_type.effective_end_date
          and    peev_itax_org.element_entry_id = pee_itax_org.element_entry_id
          and    peev_itax_org.input_value_id = pliv_itax_org.input_value_id
          and    peev_itax_org.effective_start_date = pee_itax_org.effective_start_date
          and    peev_itax_org.effective_end_date = pee_itax_org.effective_end_date
          and    fnd_number.canonical_to_number(decode(peev_itax_org.input_value_id,c_itx_org_iv_id,peev_itax_org.screen_entry_value,null)) = g_itax_organization_id
          and    peev_itax_type.element_entry_id = pee_itax_type.element_entry_id
          and    peev_itax_type.input_value_id = pliv_itax_type.input_value_id
          and    peev_itax_type.effective_start_date = pee_itax_type.effective_start_date
          and    peev_itax_type.effective_end_date = pee_itax_type.effective_end_date
          and    peev_itax_type.screen_entry_value <> 'E'
          and    not exists(
            select /*+ ORDERED */
                   null
            from   pay_payroll_actions ppa2,
                   pay_assignment_actions paa2,
                   pay_link_input_values_f pliv_itax_org2,
                   pay_link_input_values_f pliv_itax_type2,
                   pay_element_entries_f pee_itax_org2,
                   pay_element_entries_f pee_itax_type2,
                   pay_element_entry_values_f peev_itax_org2,
                   pay_element_entry_values_f peev_itax_type2
            where  ppa2.business_group_id + 0 = g_business_group_id
            and    ppa2.action_status = 'C'
            and    ppa2.action_type in ('R', 'Q', 'B', 'I')
            and    decode(nvl(ppa2.element_set_id,-1),
                     c_yea_ele_set_id,ppa2.date_earned,
                     c_rey_ele_set_id,ppa2.date_earned,ppa2.effective_date)
                   between g_effective_soy and g_effective_eom
            and    nvl(ppa2.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
            and    decode(nvl(ppa2.element_type_id,-1),-1,nvl(ppa2.element_set_id,-1),c_sal_ele_set_id) in (
                     c_sal_ele_set_id,
                     c_bon_ele_set_id,
                     c_spb_ele_set_id,
                     c_yea_ele_set_id,
                     c_rey_ele_set_id,
                     c_sal_cust_ele_set_id,
                     c_bon_cust_ele_set_id,
                     c_spb_cust_ele_set_id,
                     c_yea_cust_ele_set_id,
                     c_rey_cust_ele_set_id,
                     -1)
            and    paa2.payroll_action_id = ppa2.payroll_action_id
            and    decode(nvl(ppa2.element_type_id,-1),-1,decode(nvl(ppa2.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa2.assignment_action_id,ppa2.action_type),'N'),'Y'),'Y') <> 'N'
            and    paa2.action_status = 'C'
            and not exists(
              select /*+ ORDERED */
                     null
              from   pay_action_interlocks pai2,
                     pay_assignment_actions paav2,
                     pay_payroll_actions ppav2
              where  pai2.locked_action_id = paa2.assignment_action_id
              and    paav2.assignment_action_id = pai2.locking_action_id
              and    ppav2.payroll_action_id = paav2.payroll_action_id
              and    ppav2.action_type = 'V')
            and    pliv_itax_org2.input_value_id = c_itx_org_iv_id
            and    ppa2.effective_date
                   between pliv_itax_org2.effective_start_date and pliv_itax_org2.effective_end_date
            and    pliv_itax_type2.input_value_id = c_itx_type_iv_id
            and    ppa2.effective_date
                   between pliv_itax_type2.effective_start_date and pliv_itax_type2.effective_end_date
            and    pee_itax_org2.assignment_id = paa2.assignment_id
            and    pee_itax_org2.element_link_id = pliv_itax_org2.element_link_id
            and    ppa2.effective_date
                   between pee_itax_org2.effective_start_date and pee_itax_org2.effective_end_date
            and    pee_itax_type2.assignment_id = paa2.assignment_id
            and    pee_itax_type2.element_link_id = pliv_itax_type2.element_link_id
            and    ppa2.effective_date
                   between pee_itax_type2.effective_start_date and pee_itax_type2.effective_end_date
            and    peev_itax_org2.element_entry_id = pee_itax_org2.element_entry_id
            and    peev_itax_org2.input_value_id = pliv_itax_org2.input_value_id
            and    peev_itax_org2.effective_start_date = pee_itax_org2.effective_start_date
            and    peev_itax_org2.effective_end_date = pee_itax_org2.effective_end_date
            and    fnd_number.canonical_to_number(decode(peev_itax_org2.input_value_id,c_itx_org_iv_id,peev_itax_org2.screen_entry_value,null)) = g_itax_organization_id
            and    peev_itax_type2.element_entry_id = pee_itax_type2.element_entry_id
            and    peev_itax_type2.input_value_id = pliv_itax_type2.input_value_id
            and    peev_itax_type2.effective_start_date = pee_itax_type2.effective_start_date
            and    peev_itax_type2.effective_end_date = pee_itax_type2.effective_end_date
            and    peev_itax_type2.screen_entry_value <> 'E'
            and    paa2.assignment_id = paa.assignment_id
            and    paa2.action_sequence > paa.action_sequence)) larch_v,
         pay_jp_itwb_assact_v pjia,
         pay_assignment_actions paa_o,
         pay_assignment_actions lpaa,
         pay_payroll_actions lppa
  where  pjia.assignment_id (+) = larch_v.assignment_id
  and    pjia.effective_date (+)
         between g_effective_soy and g_effective_som - 1
  and    paa_o.assignment_action_id (+) = pjia.assignment_action_id
  and    lpaa.assignment_action_id (+) = pjia.proc_assignment_action_id
  and    lppa.payroll_action_id (+) = lpaa.payroll_action_id
  and    decode(nvl(paa_o.assignment_action_id,-1),-1,g_effective_eom,larch_v.effective_date)
         between nvl(add_months(trunc(lppa.effective_date,'MM'),1),g_effective_eom) and g_effective_eom
  and    not exists(
    select /*+ ORDERED */
           null
    from   pay_jp_itwb_assact_v pjia2,
           pay_assignment_actions paa_o2
    where  pjia2.assignment_id = larch_v.assignment_id
    and    pjia2.effective_date
           between g_effective_soy and g_effective_som - 1
    and    paa_o2.assignment_action_id = pjia2.assignment_action_id
    and    paa_o2.action_sequence > paa_o.action_sequence)
  order by larch_v.person_id;
Line: 6407

  select /*+ ORDERED */
         larch_v.person_id,
         larch_v.assignment_id,
         decode(nvl(paa_o.assignment_action_id,-1),-1,g_effective_date,larch_v.effective_date) effective_date
  from   (select /*+ ORDERED */
                 pa.assignment_id,
                 pa.person_id,
                 ppa.effective_date
          from   pay_payroll_actions ppa,
                 pay_assignment_actions paa,
                 per_all_assignments_f pa,
                 pay_link_input_values_f pliv_itax_org,
                 pay_link_input_values_f pliv_itax_type,
                 pay_element_entries_f pee_itax_org,
                 pay_element_entries_f pee_itax_type,
                 pay_element_entry_values_f peev_itax_org,
                 pay_element_entry_values_f peev_itax_type
          where  ppa.business_group_id + 0 = g_business_group_id
          and    ppa.action_status = 'C'
          and    ppa.action_type in ('R', 'Q', 'B', 'I')
          and    decode(nvl(ppa.element_set_id,-1),
                   c_yea_ele_set_id,ppa.date_earned,
                   c_rey_ele_set_id,ppa.date_earned,ppa.effective_date)
                 between g_effective_som and g_effective_eom
          and    nvl(ppa.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
          and    decode(nvl(ppa.element_type_id,-1),-1,nvl(ppa.element_set_id,-1),c_sal_ele_set_id) in (
                   c_sal_ele_set_id,
                   c_bon_ele_set_id,
                   c_spb_ele_set_id,
                   c_yea_ele_set_id,
                   c_rey_ele_set_id,
                   c_sal_cust_ele_set_id,
                   c_bon_cust_ele_set_id,
                   c_spb_cust_ele_set_id,
                   c_yea_cust_ele_set_id,
                   c_rey_cust_ele_set_id,
                   -1)
          and    paa.payroll_action_id = ppa.payroll_action_id
          and    decode(nvl(ppa.element_type_id,-1),-1,decode(nvl(ppa.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa.assignment_action_id,ppa.action_type),'N'),'Y'),'Y') <> 'N'
          and    paa.action_status = 'C'
          and not exists(
            select /*+ ORDERED */
                   null
            from   pay_action_interlocks pai,
                   pay_assignment_actions paav,
                   pay_payroll_actions ppav
            where  pai.locked_action_id = paa.assignment_action_id
            and    paav.assignment_action_id = pai.locking_action_id
            and    ppav.payroll_action_id = paav.payroll_action_id
            and    ppav.action_type = 'V')
          and    pa.assignment_id = paa.assignment_id
          and    pa.payroll_id = nvl(g_payroll_id,pa.payroll_id)
          and    ppa.effective_date
                 between pa.effective_start_date and pa.effective_end_date
          and    pliv_itax_org.input_value_id = c_itx_org_iv_id
          and    ppa.effective_date
                 between pliv_itax_org.effective_start_date and pliv_itax_org.effective_end_date
          and    pliv_itax_type.input_value_id = c_itx_type_iv_id
          and    ppa.effective_date
                 between pliv_itax_type.effective_start_date and pliv_itax_type.effective_end_date
          and    pee_itax_org.assignment_id = paa.assignment_id
          and    pee_itax_org.element_link_id = pliv_itax_org.element_link_id
          and    ppa.effective_date
                 between pee_itax_org.effective_start_date and pee_itax_org.effective_end_date
          and    pee_itax_type.assignment_id = paa.assignment_id
          and    pee_itax_type.element_link_id = pliv_itax_type.element_link_id
          and    ppa.effective_date
                 between pee_itax_type.effective_start_date and pee_itax_type.effective_end_date
          and    peev_itax_org.element_entry_id = pee_itax_org.element_entry_id
          and    peev_itax_org.input_value_id = pliv_itax_org.input_value_id
          and    peev_itax_org.effective_start_date = pee_itax_org.effective_start_date
          and    peev_itax_org.effective_end_date = pee_itax_org.effective_end_date
          and    fnd_number.canonical_to_number(decode(peev_itax_org.input_value_id,c_itx_org_iv_id,peev_itax_org.screen_entry_value,null)) = g_itax_organization_id
          and    peev_itax_type.element_entry_id = pee_itax_type.element_entry_id
          and    peev_itax_type.input_value_id = pliv_itax_type.input_value_id
          and    peev_itax_type.effective_start_date = pee_itax_type.effective_start_date
          and    peev_itax_type.effective_end_date = pee_itax_type.effective_end_date
          and    peev_itax_type.screen_entry_value <> 'E'
          and    not exists(
            select /*+ ORDERED */
                   null
            from   pay_payroll_actions ppa2,
                   pay_assignment_actions paa2,
                   per_all_assignments_f pa2,
                   pay_link_input_values_f pliv_itax_org2,
                   pay_link_input_values_f pliv_itax_type2,
                   pay_element_entries_f pee_itax_org2,
                   pay_element_entries_f pee_itax_type2,
                   pay_element_entry_values_f peev_itax_org2,
                   pay_element_entry_values_f peev_itax_type2
            where  ppa2.business_group_id + 0 = g_business_group_id
            and    ppa2.action_status = 'C'
            and    ppa2.action_type in ('R', 'Q', 'B', 'I')
            and    decode(nvl(ppa2.element_set_id,-1),
                     c_yea_ele_set_id,ppa2.date_earned,
                     c_rey_ele_set_id,ppa2.date_earned,ppa2.effective_date)
                   between g_effective_som and g_effective_eom
            and    nvl(ppa2.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
            and    decode(nvl(ppa2.element_type_id,-1),-1,nvl(ppa2.element_set_id,-1),c_sal_ele_set_id) in (
                     c_sal_ele_set_id,
                     c_bon_ele_set_id,
                     c_spb_ele_set_id,
                     c_yea_ele_set_id,
                     c_rey_ele_set_id,
                     c_sal_cust_ele_set_id,
                     c_bon_cust_ele_set_id,
                     c_spb_cust_ele_set_id,
                     c_yea_cust_ele_set_id,
                     c_rey_cust_ele_set_id,
                     -1)
            and    paa2.payroll_action_id = ppa2.payroll_action_id
            and    decode(nvl(ppa2.element_type_id,-1),-1,decode(nvl(ppa2.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa2.assignment_action_id,ppa2.action_type),'N'),'Y'),'Y') <> 'N'
            and    paa2.action_status = 'C'
            and not exists(
              select /*+ ORDERED */
                     null
              from   pay_action_interlocks pai2,
                     pay_assignment_actions paav2,
                     pay_payroll_actions ppav2
              where  pai2.locked_action_id = paa2.assignment_action_id
              and    paav2.assignment_action_id = pai2.locking_action_id
              and    ppav2.payroll_action_id = paav2.payroll_action_id
              and    ppav2.action_type = 'V')
            and    pa2.assignment_id = paa2.assignment_id
            and    pa2.payroll_id = nvl(g_payroll_id,pa2.payroll_id)
            and    ppa2.effective_date
                   between pa2.effective_start_date and pa2.effective_end_date
            and    pliv_itax_org2.input_value_id = c_itx_org_iv_id
            and    ppa2.effective_date
                   between pliv_itax_org2.effective_start_date and pliv_itax_org2.effective_end_date
            and    pliv_itax_type2.input_value_id = c_itx_type_iv_id
            and    ppa2.effective_date
                   between pliv_itax_type2.effective_start_date and pliv_itax_type2.effective_end_date
            and    pee_itax_org2.assignment_id = paa2.assignment_id
            and    pee_itax_org2.element_link_id = pliv_itax_org2.element_link_id
            and    ppa2.effective_date
                   between pee_itax_org2.effective_start_date and pee_itax_org2.effective_end_date
            and    pee_itax_type2.assignment_id = paa2.assignment_id
            and    pee_itax_type2.element_link_id = pliv_itax_type2.element_link_id
            and    ppa2.effective_date
                   between pee_itax_type2.effective_start_date and pee_itax_type2.effective_end_date
            and    peev_itax_org2.element_entry_id = pee_itax_org2.element_entry_id
            and    peev_itax_org2.input_value_id = pliv_itax_org2.input_value_id
            and    peev_itax_org2.effective_start_date = pee_itax_org2.effective_start_date
            and    peev_itax_org2.effective_end_date = pee_itax_org2.effective_end_date
            and    fnd_number.canonical_to_number(decode(peev_itax_org2.input_value_id,c_itx_org_iv_id,peev_itax_org2.screen_entry_value,null)) = g_itax_organization_id
            and    peev_itax_type2.element_entry_id = pee_itax_type2.element_entry_id
            and    peev_itax_type2.input_value_id = pliv_itax_type2.input_value_id
            and    peev_itax_type2.effective_start_date = pee_itax_type2.effective_start_date
            and    peev_itax_type2.effective_end_date = pee_itax_type2.effective_end_date
            and    peev_itax_type2.screen_entry_value <> 'E'
            and    paa2.assignment_id = paa.assignment_id
            and    paa2.action_sequence > paa.action_sequence)) larch_v,
         pay_jp_itwb_assact_v pjia,
         pay_assignment_actions paa_o
  where  pjia.assignment_id (+) = larch_v.assignment_id
  and    pjia.effective_date (+)
         between g_effective_soy and g_effective_eoy
  and    paa_o.assignment_action_id (+) = pjia.assignment_action_id
  and    not exists(
    select /*+ ORDERED */
           null
    from   pay_jp_itwb_assact_v pjia2,
           pay_assignment_actions paa_o2
    where  pjia2.assignment_id = larch_v.assignment_id
    and    pjia2.effective_date
           between g_effective_soy and g_effective_eoy
    and    paa_o2.assignment_action_id = pjia2.assignment_action_id
    and    paa_o2.action_sequence > paa_o.action_sequence)
  order by larch_v.person_id;
Line: 6580

  select /*+ ORDERED */
         larch_v.person_id,
         larch_v.assignment_id,
         decode(nvl(paa_o.assignment_action_id,-1),-1,g_effective_date,larch_v.effective_date) effective_date,
         hasa.include_or_exclude
  from   (select /*+ ORDERED */
                 pa.assignment_id,
                 pa.person_id,
                 ppa.effective_date
          from   pay_payroll_actions ppa,
                 pay_assignment_actions paa,
                 per_all_assignments_f pa,
                 pay_link_input_values_f pliv_itax_org,
                 pay_link_input_values_f pliv_itax_type,
                 pay_element_entries_f pee_itax_org,
                 pay_element_entries_f pee_itax_type,
                 pay_element_entry_values_f peev_itax_org,
                 pay_element_entry_values_f peev_itax_type
          where  ppa.business_group_id + 0 = g_business_group_id
          and    ppa.action_status = 'C'
          and    ppa.action_type in ('R', 'Q', 'B', 'I')
         and     decode(nvl(ppa.element_set_id,-1),
                   c_yea_ele_set_id,ppa.date_earned,
                   c_rey_ele_set_id,ppa.date_earned,ppa.effective_date)
                 between g_effective_som and g_effective_eom
          and    nvl(ppa.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
          and    decode(nvl(ppa.element_type_id,-1),-1,nvl(ppa.element_set_id,-1),c_sal_ele_set_id) in (
                   c_sal_ele_set_id,
                   c_bon_ele_set_id,
                   c_spb_ele_set_id,
                   c_yea_ele_set_id,
                   c_rey_ele_set_id,
                   c_sal_cust_ele_set_id,
                   c_bon_cust_ele_set_id,
                   c_spb_cust_ele_set_id,
                   c_yea_cust_ele_set_id,
                   c_rey_cust_ele_set_id,
                   -1)
          and    paa.payroll_action_id = ppa.payroll_action_id
          and    decode(nvl(ppa.element_type_id,-1),-1,decode(nvl(ppa.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa.assignment_action_id,ppa.action_type),'N'),'Y'),'Y') <> 'N'
          and    paa.action_status = 'C'
          and not exists(
            select /*+ ORDERED */
                   null
            from   pay_action_interlocks pai,
                   pay_assignment_actions paav,
                   pay_payroll_actions ppav
            where  pai.locked_action_id = paa.assignment_action_id
            and    paav.assignment_action_id = pai.locking_action_id
            and    ppav.payroll_action_id = paav.payroll_action_id
            and    ppav.action_type = 'V')
          and    pa.assignment_id = paa.assignment_id
          and    pa.payroll_id = nvl(g_payroll_id,pa.payroll_id)
          and    ppa.effective_date
                 between pa.effective_start_date and pa.effective_end_date
          and    pliv_itax_org.input_value_id = c_itx_org_iv_id
          and    ppa.effective_date
                 between pliv_itax_org.effective_start_date and pliv_itax_org.effective_end_date
          and    pliv_itax_type.input_value_id = c_itx_type_iv_id
          and    ppa.effective_date
                 between pliv_itax_type.effective_start_date and pliv_itax_type.effective_end_date
          and    pee_itax_org.assignment_id = paa.assignment_id
          and    pee_itax_org.element_link_id = pliv_itax_org.element_link_id
          and    ppa.effective_date
                 between pee_itax_org.effective_start_date and pee_itax_org.effective_end_date
          and    pee_itax_type.assignment_id = paa.assignment_id
          and    pee_itax_type.element_link_id = pliv_itax_type.element_link_id
          and    ppa.effective_date
                 between pee_itax_type.effective_start_date and pee_itax_type.effective_end_date
          and    peev_itax_org.element_entry_id = pee_itax_org.element_entry_id
          and    peev_itax_org.input_value_id = pliv_itax_org.input_value_id
          and    peev_itax_org.effective_start_date = pee_itax_org.effective_start_date
          and    peev_itax_org.effective_end_date = pee_itax_org.effective_end_date
          and    fnd_number.canonical_to_number(decode(peev_itax_org.input_value_id,c_itx_org_iv_id,peev_itax_org.screen_entry_value,null)) = g_itax_organization_id
          and    peev_itax_type.element_entry_id = pee_itax_type.element_entry_id
          and    peev_itax_type.input_value_id = pliv_itax_type.input_value_id
          and    peev_itax_type.effective_start_date = pee_itax_type.effective_start_date
          and    peev_itax_type.effective_end_date = pee_itax_type.effective_end_date
          and    peev_itax_type.screen_entry_value <> 'E'
          and    not exists(
            select /*+ ORDERED */
                   null
            from   pay_payroll_actions ppa2,
                   pay_assignment_actions paa2,
                   per_all_assignments_f pa2,
                   pay_link_input_values_f pliv_itax_org2,
                   pay_link_input_values_f pliv_itax_type2,
                   pay_element_entries_f pee_itax_org2,
                   pay_element_entries_f pee_itax_type2,
                   pay_element_entry_values_f peev_itax_org2,
                   pay_element_entry_values_f peev_itax_type2
            where  ppa2.business_group_id + 0 = g_business_group_id
            and    ppa2.action_status = 'C'
            and    ppa2.action_type in ('R', 'Q', 'B', 'I')
            and    decode(nvl(ppa2.element_set_id,-1),
                     c_yea_ele_set_id,ppa2.date_earned,
                     c_rey_ele_set_id,ppa2.date_earned,ppa2.effective_date)
                   between g_effective_som and g_effective_eom
            and    nvl(ppa2.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
            and    decode(nvl(ppa2.element_type_id,-1),-1,nvl(ppa2.element_set_id,-1),c_sal_ele_set_id) in (
                     c_sal_ele_set_id,
                     c_bon_ele_set_id,
                     c_spb_ele_set_id,
                     c_yea_ele_set_id,
                     c_rey_ele_set_id,
                     c_sal_cust_ele_set_id,
                     c_bon_cust_ele_set_id,
                     c_spb_cust_ele_set_id,
                     c_yea_cust_ele_set_id,
                     c_rey_cust_ele_set_id,
                     -1)
            and    paa2.payroll_action_id = ppa2.payroll_action_id
            and    decode(nvl(ppa2.element_type_id,-1),-1,decode(nvl(ppa2.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa2.assignment_action_id,ppa2.action_type),'N'),'Y'),'Y') <> 'N'
            and    paa2.action_status = 'C'
            and not exists(
              select /*+ ORDERED */
                     null
              from   pay_action_interlocks pai2,
                     pay_assignment_actions paav2,
                     pay_payroll_actions ppav2
              where  pai2.locked_action_id = paa2.assignment_action_id
              and    paav2.assignment_action_id = pai2.locking_action_id
              and    ppav2.payroll_action_id = paav2.payroll_action_id
              and    ppav2.action_type = 'V')
            and    pa2.assignment_id = paa2.assignment_id
            and    pa2.payroll_id = nvl(g_payroll_id,pa2.payroll_id)
            and    ppa2.effective_date
                   between pa2.effective_start_date and pa2.effective_end_date
            and    pliv_itax_org2.input_value_id = c_itx_org_iv_id
            and    ppa2.effective_date
                   between pliv_itax_org2.effective_start_date and pliv_itax_org2.effective_end_date
            and    pliv_itax_type2.input_value_id = c_itx_type_iv_id
            and    ppa2.effective_date
                   between pliv_itax_type2.effective_start_date and pliv_itax_type2.effective_end_date
            and    pee_itax_org2.assignment_id = paa2.assignment_id
            and    pee_itax_org2.element_link_id = pliv_itax_org2.element_link_id
            and    ppa2.effective_date
                   between pee_itax_org2.effective_start_date and pee_itax_org2.effective_end_date
            and    pee_itax_type2.assignment_id = paa2.assignment_id
            and    pee_itax_type2.element_link_id = pliv_itax_type2.element_link_id
            and    ppa2.effective_date
                   between pee_itax_type2.effective_start_date and pee_itax_type2.effective_end_date
            and    peev_itax_org2.element_entry_id = pee_itax_org2.element_entry_id
            and    peev_itax_org2.input_value_id = pliv_itax_org2.input_value_id
            and    peev_itax_org2.effective_start_date = pee_itax_org2.effective_start_date
            and    peev_itax_org2.effective_end_date = pee_itax_org2.effective_end_date
            and    fnd_number.canonical_to_number(decode(peev_itax_org2.input_value_id,c_itx_org_iv_id,peev_itax_org2.screen_entry_value,null)) = g_itax_organization_id
            and    peev_itax_type2.element_entry_id = pee_itax_type2.element_entry_id
            and    peev_itax_type2.input_value_id = pliv_itax_type2.input_value_id
            and    peev_itax_type2.effective_start_date = pee_itax_type2.effective_start_date
            and    peev_itax_type2.effective_end_date = pee_itax_type2.effective_end_date
            and    peev_itax_type2.screen_entry_value <> 'E'
            and    paa2.assignment_id = paa.assignment_id
            and    paa2.action_sequence > paa.action_sequence)) larch_v,
         hr_assignment_set_amendments hasa,
         pay_jp_itwb_assact_v pjia,
         pay_assignment_actions paa_o
  where  to_number(decode(nvl(to_char(g_ass_set_formula_id),'-1'),'-1',
           decode(nvl(g_ass_set_amendment_type,'X'),'I',hasa.assignment_id,larch_v.assignment_id),
           larch_v.assignment_id)) = larch_v.assignment_id
  and    hasa.assignment_set_id (+) = g_assignment_set_id
  and    hasa.assignment_id (+) = larch_v.assignment_id
  and    nvl(hasa.include_or_exclude,'I') <> 'E'
  and    pjia.assignment_id (+) = larch_v.assignment_id
  and    pjia.effective_date (+)
         between g_effective_soy and g_effective_eoy
  and    paa_o.assignment_action_id (+) = pjia.assignment_action_id
  and    not exists(
    select /*+ ORDERED */
           null
    from   pay_jp_itwb_assact_v pjia2,
           pay_assignment_actions paa_o2
    where  pjia2.assignment_id = larch_v.assignment_id
    and    pjia2.effective_date
           between g_effective_soy and g_effective_eoy
    and    paa_o2.assignment_action_id = pjia2.assignment_action_id
    and    paa_o2.action_sequence > paa_o.action_sequence)
  order by larch_v.person_id;
Line: 6800

    g_per_ind_tbl.delete;
Line: 6801

    g_ass_tbl.delete;
Line: 6803

    if g_arch_option = 'UPDATE' then
    --
      if g_debug
      and g_detail_debug = 'Y' then
        l_assact_step := 3;
Line: 7081

      l_ass_id_tbl.delete;
Line: 7197

              select pay_assignment_actions_s.nextval
              into   l_assignment_action_id
              from   dual;
Line: 7387

  select /*+ ORDERED */
         v.person_id,
         v.assignment_id,
         v.organization_id,
         v.job_id,
         v.payroll_id,
         v.location_id,
         v.arch_assignment_action_id,
         v.proc_assignment_action_id,
         v.action_sequence,
         v.effective_date,
         v.date_earned,
         v.proc_type,
         v.dpnt_ref_type,
         v.employee_number,
         v.last_name_kana,
         v.first_name_kana,
         v.last_name,
         v.first_name,
         v.full_name_kana,
         v.full_name,
         nvl(padr.address_id,padc.address_id) address_id,
         decode(padr.address_id,null,padc.postal_code,padr.postal_code) postal_code,
         decode(padr.address_id,null,padc.town_or_city,padr.town_or_city) district_code,
         decode(padr.address_id,null,
           padc.address_line1||padc.address_line2||padc.address_line3,
           padr.address_line1||padr.address_line2||padr.address_line3) address,
         decode(padr.address_id,null,
           padc.region_1||padc.region_2||padc.region_3,
           padr.region_1||padr.region_2||padr.region_3) address_kana,
         decode(decode(padr.address_id,null,padc.country,padr.country),'JP','0','1') address_jp,
         decode(padr.address_id,null,
           padc.telephone_number_1,padr.telephone_number_1) phone1,
         decode(padr.address_id,null,
           padc.telephone_number_2,padr.telephone_number_2) phone2,
         v.hire_date,
         v.termination_date,
         v.leaving_reason,
         v.sex,
         v.birth_date,
         hou.name organization_name,
         pjb.name job_name,
         v.payroll_name,
         hlc.location_code
  from   (select /*+ ORDERED */
                 pp.person_id,
                 proc_v.assignment_id,
                 pa.organization_id,
                 pa.job_id,
                 proc_v.payroll_id,
                 pa.location_id,
                 proc_v.arch_assignment_action_id,
                 proc_v.proc_assignment_action_id,
                 proc_v.action_sequence,
                 proc_v.effective_date,
                 proc_v.date_earned,
                 proc_v.proc_type,
                 nvl(nvl(ppy.prl_information1,g_bg_itax_dpnt_ref_type),'CTR_EE') dpnt_ref_type,
                 pp.employee_number,
                 pp.last_name last_name_kana,
                 pp.first_name first_name_kana,
                 pp.per_information18 last_name,
                 pp.per_information19 first_name,
                 pp.last_name||' '||pp.first_name full_name_kana,
                 pp.per_information18||' '||pp.per_information19 full_name,
                 ppos.date_start hire_date,
                 ppos.actual_termination_date termination_date,
                 ppos.leaving_reason,
                 pp.sex,
                 pp.date_of_birth birth_date,
                 ppy.payroll_name
          from   (select /*+ ORDERED
                             USE_NL(PAA, PPA)
                             INDEX(PAA PAY_ASSIGNMENT_ACTIONS_N1)
                             INDEX(PPA PAY_PAYROLL_ACTIONS_PK) */
                         paa_arch.assignment_action_id arch_assignment_action_id,
                         paa.assignment_id,
                         paa.assignment_action_id proc_assignment_action_id,
                         paa.action_sequence,
                         ppa.effective_date,
                         ppa.date_earned,
                         ppa.payroll_id,
                         decode(nvl(ppa.element_type_id,-1),
                           c_yea_itx_elm_id,'YEA',
                           c_rey_itx_elm_id,'REY',
                           -1,decode(nvl(ppa.element_set_id,-1),
                                c_sal_ele_set_id,'SAL',
                                c_bon_ele_set_id,'BON',
                                c_spb_ele_set_id,'SPB',
                                c_yea_ele_set_id,'YEA',
                                c_rey_ele_set_id,'REY',
                                c_sal_cust_ele_set_id,'SAL',
                                c_bon_cust_ele_set_id,'BON',
                                c_spb_cust_ele_set_id,'SPB',
                                c_yea_cust_ele_set_id,'YEA',
                                c_rey_cust_ele_set_id,'REY',
                                -1,pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa.assignment_action_id,ppa.action_type),null),null) proc_type,
                         ppa.element_set_id
                  from   pay_payroll_actions ppa_arch,
                         pay_assignment_actions paa_arch,
                         pay_assignment_actions paa,
                         pay_payroll_actions ppa,
                         pay_link_input_values_f pliv_itax_org,
                         pay_link_input_values_f pliv_itax_type,
                         pay_element_entries_f pee_itax_org,
                         pay_element_entries_f pee_itax_type,
                         pay_element_entry_values_f peev_itax_org,
                         pay_element_entry_values_f peev_itax_type
                  where  ppa_arch.payroll_action_id = p_payroll_action_id
                  and    paa_arch.payroll_action_id = ppa_arch.payroll_action_id
                  and    paa.assignment_id = paa_arch.assignment_id
                  and    paa.action_status = 'C'
                  and    ppa.payroll_action_id = paa.payroll_action_id
                  and    ppa.action_status = 'C'
                  and    ppa.action_type in ('R','Q','B','I')
                  and    decode(nvl(ppa.element_set_id,-1),
                           c_yea_ele_set_id,ppa.date_earned,
                           c_rey_ele_set_id,ppa.date_earned,ppa.effective_date)
                         between g_effective_soy and g_effective_eom
                  and    nvl(ppa.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
                  and    decode(nvl(ppa.element_type_id,-1),-1,nvl(ppa.element_set_id,-1),c_sal_ele_set_id) in (
                           c_sal_ele_set_id,
                           c_bon_ele_set_id,
                           c_spb_ele_set_id,
                           c_yea_ele_set_id,
                           c_rey_ele_set_id,
                           c_sal_cust_ele_set_id,
                           c_bon_cust_ele_set_id,
                           c_spb_cust_ele_set_id,
                           c_yea_cust_ele_set_id,
                           c_rey_cust_ele_set_id,
                           -1)
                  and    decode(nvl(ppa.element_type_id,-1),-1,decode(nvl(ppa.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa.assignment_action_id,ppa.action_type),'N'),'Y'),'Y') <> 'N'
                  and not exists(
                    select /*+ ORDERED */
                           null
                    from   pay_action_interlocks pai,
                           pay_assignment_actions paav,
                           pay_payroll_actions ppav
                    where  pai.locked_action_id = paa.assignment_action_id
                    and    paav.assignment_action_id = pai.locking_action_id
                    and    ppav.payroll_action_id = paav.payroll_action_id
                    and    ppav.action_type = 'V')
                  and    pliv_itax_org.input_value_id = c_itx_org_iv_id
                  and    ppa.effective_date
                         between pliv_itax_org.effective_start_date and pliv_itax_org.effective_end_date
                  and    pliv_itax_type.input_value_id = c_itx_type_iv_id
                  and    ppa.effective_date
                         between pliv_itax_type.effective_start_date and pliv_itax_type.effective_end_date
                  and    pee_itax_org.assignment_id = paa.assignment_id
                  and    pee_itax_org.element_link_id = pliv_itax_org.element_link_id
                  and    ppa.effective_date
                         between pee_itax_org.effective_start_date and pee_itax_org.effective_end_date
                  and    pee_itax_type.assignment_id = paa.assignment_id
                  and    pee_itax_type.element_link_id = pliv_itax_type.element_link_id
                  and    ppa.effective_date
                         between pee_itax_type.effective_start_date and pee_itax_type.effective_end_date
                  and    peev_itax_org.element_entry_id = pee_itax_org.element_entry_id
                  and    peev_itax_org.input_value_id = pliv_itax_org.input_value_id
                  and    peev_itax_org.effective_start_date = pee_itax_org.effective_start_date
                  and    peev_itax_org.effective_end_date = pee_itax_org.effective_end_date
                  and    fnd_number.canonical_to_number(decode(peev_itax_org.input_value_id,c_itx_org_iv_id,peev_itax_org.screen_entry_value,null)) = g_itax_organization_id
                  and    peev_itax_type.element_entry_id = pee_itax_type.element_entry_id
                  and    peev_itax_type.input_value_id = pliv_itax_type.input_value_id
                  and    peev_itax_type.effective_start_date = pee_itax_type.effective_start_date
                  and    peev_itax_type.effective_end_date = pee_itax_type.effective_end_date
                  and    peev_itax_type.screen_entry_value <> 'E'
               /* --this part was removed for redundant validation
                  --and not exists(
                  --  select /*+ ORDERED */
                  --         null
                  --  from   pay_payroll_actions ppa2,
                  --         pay_assignment_actions paa2,
                  --         pay_link_input_values_f pliv_itax_org2,
                  --         pay_link_input_values_f pliv_itax_type2,
                  --         pay_element_entries_f pee_itax_org2,
                  --         pay_element_entries_f pee_itax_type2,
                  --         pay_element_entry_values_f peev_itax_org2,
                  --         pay_element_entry_values_f peev_itax_type2
                  --  where  ppa2.action_status = 'C'
                  --  and    ppa2.action_type in ('R','Q')
                  --  and    ppa2.effective_date
                  --         between g_effective_som and g_effective_eom
                  --  and    ppa2.payroll_id = ppa.payroll_id
                  --  and    trunc(ppa2.effective_date,'MM') = trunc(ppa.effective_date,'MM')
                  --  and    nvl(ppa2.element_set_id,-1) = nvl(ppa.element_set_id,-1)
                  --  and    nvl(ppa2.element_set_id,-1) in (
                  --           c_sal_ele_set_id,
                  --           c_sal_cust_ele_set_id,
                  --           -1)
                  --  and    decode(nvl(ppa2.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa2.assignment_action_id,ppa2.action_type),'N'),'SAL') = 'SAL'
                  --  and    paa2.payroll_action_id = ppa2.payroll_action_id
                  --  and    paa2.assignment_id = paa.assignment_id
                  --  and    paa2.action_status = 'C'
                  --  and not exists(
                  --    select /*+ ORDERED */
                  --           null
                  --    from   pay_action_interlocks pai2,
                  --           pay_assignment_actions paav2,
                  --           pay_payroll_actions ppav2
                  --    where  pai2.locked_action_id = paa2.assignment_action_id
                  --    and    paav2.assignment_action_id = pai2.locking_action_id
                  --    and    ppav2.payroll_action_id = paav2.payroll_action_id
                  --    and    ppav2.action_type = 'V')
                  --  and    pliv_itax_org2.input_value_id = c_itx_org_iv_id
                  --  and    ppa2.effective_date
                  --         between pliv_itax_org2.effective_start_date and pliv_itax_org2.effective_end_date
                  --  and    pliv_itax_type2.input_value_id = c_itx_type_iv_id
                  --  and    ppa2.effective_date
                  --         between pliv_itax_type2.effective_start_date and pliv_itax_type2.effective_end_date
                  --  and    pee_itax_org2.assignment_id = paa2.assignment_id
                  --  and    pee_itax_org2.element_link_id = pliv_itax_org2.element_link_id
                  --  and    ppa2.effective_date
                  --         between pee_itax_org2.effective_start_date and pee_itax_org2.effective_end_date
                  --  and    pee_itax_type2.assignment_id = paa2.assignment_id
                  --  and    pee_itax_type2.element_link_id = pliv_itax_type2.element_link_id
                  --  and    ppa2.effective_date
                  --         between pee_itax_type2.effective_start_date and pee_itax_type2.effective_end_date
                  --  and    peev_itax_org2.element_entry_id = pee_itax_org2.element_entry_id
                  --  and    peev_itax_org2.input_value_id = pliv_itax_org2.input_value_id
                  --  and    peev_itax_org2.effective_start_date = pee_itax_org2.effective_start_date
                  --  and    peev_itax_org2.effective_end_date = pee_itax_org2.effective_end_date
                  --  and    fnd_number.canonical_to_number(decode(peev_itax_org2.input_value_id,c_itx_org_iv_id,peev_itax_org2.screen_entry_value,null)) = g_itax_organization_id
                  --  and    peev_itax_type2.element_entry_id = pee_itax_type2.element_entry_id
                  --  and    peev_itax_type2.input_value_id = pliv_itax_type2.input_value_id
                  --  and    peev_itax_type2.effective_start_date = pee_itax_type2.effective_start_date
                  --  and    peev_itax_type2.effective_end_date = pee_itax_type2.effective_end_date
                  --  and    peev_itax_type2.screen_entry_value <> 'E'
                  --  and    paa2.action_sequence > paa.action_sequence) */
                 ) proc_v,
                 per_all_assignments_f pa,
                 per_all_people_f pp,
                 per_periods_of_service ppos,
                 pay_all_payrolls_f ppy
          where  pa.assignment_id = proc_v.assignment_id
          and    proc_v.effective_date
                 between pa.effective_start_date and pa.effective_end_date
          and    pp.person_id = pa.person_id
          and    proc_v.effective_date
                 between pp.effective_start_date and pp.effective_end_date
          and    ppos.period_of_service_id = pa.period_of_service_id
          and    ppy.payroll_id = proc_v.payroll_id
          and    proc_v.effective_date
                 between ppy.effective_start_date and ppy.effective_end_date) v,
         per_jobs_vl pjb,
         hr_all_organization_units_vl hou,
         hr_locations_all_vl hlc,
         per_addresses padr,
         per_addresses padc
  where  pjb.job_id (+) = v.job_id
  and    v.effective_date
         between pjb.date_from (+) and nvl(pjb.date_to(+), hr_api.g_eot)
  and    hou.organization_id (+) = v.organization_id
  and    v.effective_date
         between hou.date_from (+) and nvl(hou.date_to(+), hr_api.g_eot)
  and    hlc.location_id (+) = v.location_id
  and    padr.person_id (+) = v.person_id
  and    padr.address_type (+) = 'JP_R'
  and    nvl(v.termination_date, v.effective_date)
         between padr.date_from (+) and nvl(padr.date_to(+), hr_api.g_eot)
  and    padc.person_id (+) = v.person_id
  and    padc.address_type (+) = 'JP_C'
  and    nvl(v.termination_date, v.effective_date)
         between padc.date_from (+) and nvl(padc.date_to(+), hr_api.g_eot)
  order by
    v.assignment_id,
    v.action_sequence;
Line: 7658

  select /*+ ORDERED */
         proc_v.assignment_id,
         proc_v.payroll_id,
         proc_v.arch_assignment_action_id,
         proc_v.proc_assignment_action_id,
         proc_v.action_sequence,
         proc_v.effective_date,
         proc_v.date_earned,
         proc_v.proc_type,
         nvl(nvl(ppy.prl_information1,g_bg_itax_dpnt_ref_type),'CTR_EE') dpnt_ref_type,
         proc_v.larch_assignment_action_id
  from   (select /*+ ORDERED
                     USE_NL(PAA, PPA)
                     INDEX(PAA PAY_ASSIGNMENT_ACTIONS_N1)
                     INDEX(PPA PAY_PAYROLL_ACTIONS_PK) */
                 larch_v.arch_assignment_action_id,
                 paa.assignment_id,
                 ppa.payroll_id,
                 paa.assignment_action_id proc_assignment_action_id,
                 paa.action_sequence,
                 ppa.effective_date,
                 ppa.date_earned,
                 decode(nvl(ppa.element_type_id,-1),
                   c_yea_itx_elm_id,'YEA',
                   c_rey_itx_elm_id,'REY',
                   -1,decode(nvl(ppa.element_set_id,-1),
                        c_sal_ele_set_id,'SAL',
                        c_bon_ele_set_id,'BON',
                        c_spb_ele_set_id,'SPB',
                        c_yea_ele_set_id,'YEA',
                        c_rey_ele_set_id,'REY',
                        c_sal_cust_ele_set_id,'SAL',
                        c_bon_cust_ele_set_id,'BON',
                        c_spb_cust_ele_set_id,'SPB',
                        c_yea_cust_ele_set_id,'YEA',
                        c_rey_cust_ele_set_id,'REY',
                        -1,pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa.assignment_action_id,ppa.action_type),null),null) proc_type,
                 larch_v.larch_assignment_action_id larch_assignment_action_id,
                 ppa.element_set_id
          from   (select /*+ ORDERED */
                         paa_arch.assignment_action_id arch_assignment_action_id,
                         paa_arch.assignment_id,
                         pjia.assignment_action_id larch_assignment_action_id,
                         lppa.effective_date lproc_effective_date
                  from   pay_payroll_actions ppa_arch,
                         pay_assignment_actions paa_arch,
                         pay_jp_itwb_assact_v pjia,
                         pay_assignment_actions paa_o,
                         pay_assignment_actions lpaa,
                         pay_payroll_actions lppa
                  where  ppa_arch.payroll_action_id = p_payroll_action_id
                  and    paa_arch.payroll_action_id = ppa_arch.payroll_action_id
                  and    pjia.assignment_id (+) = paa_arch.assignment_id
                  and    pjia.effective_date (+)
                         between g_effective_soy and g_effective_som - 1
                  and    paa_o.assignment_action_id (+) = pjia.assignment_action_id
                  and    lpaa.assignment_action_id (+) = pjia.proc_assignment_action_id
                  and    lppa.payroll_action_id (+) = lpaa.payroll_action_id
                  and    not exists(
                           select /*+ ORDERED */
                                  null
                           from   pay_jp_itwb_assact_v pjia2,
                                  pay_assignment_actions paa_o2
                           where  pjia2.assignment_id = pjia.assignment_id
                           and    pjia2.effective_date
                                  between g_effective_soy and g_effective_som - 1
                           and    paa_o2.assignment_action_id = pjia2.assignment_action_id
                           and    paa_o2.action_sequence > paa_o.action_sequence)) larch_v,
                 pay_assignment_actions paa,
                 pay_payroll_actions ppa,
                 pay_link_input_values_f pliv_itax_org,
                 pay_link_input_values_f pliv_itax_type,
                 pay_element_entries_f pee_itax_org,
                 pay_element_entries_f pee_itax_type,
                 pay_element_entry_values_f peev_itax_org,
                 pay_element_entry_values_f peev_itax_type
          where  paa.assignment_id = larch_v.assignment_id
          and    paa.action_status = 'C'
          and    ppa.payroll_action_id = paa.payroll_action_id
          and    ppa.action_status = 'C'
          and    ppa.action_type in ('R','Q','B','I')
          and    decode(nvl(ppa.element_set_id,-1),
                   c_yea_ele_set_id,ppa.date_earned,
                   c_rey_ele_set_id,ppa.date_earned,ppa.effective_date)
                 between decode(nvl(larch_v.larch_assignment_action_id,-1),
                           -1,g_effective_soy,
                           add_months(trunc(larch_v.lproc_effective_date,'MM'),1)) and g_effective_eom
          and    nvl(ppa.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
          and    decode(nvl(ppa.element_type_id,-1),-1,nvl(ppa.element_set_id,-1),c_sal_ele_set_id) in (
                   c_sal_ele_set_id,
                   c_bon_ele_set_id,
                   c_spb_ele_set_id,
                   c_yea_ele_set_id,
                   c_rey_ele_set_id,
                   c_sal_cust_ele_set_id,
                   c_bon_cust_ele_set_id,
                   c_spb_cust_ele_set_id,
                   c_yea_cust_ele_set_id,
                   c_rey_cust_ele_set_id,
                   -1)
          and    decode(nvl(ppa.element_type_id,-1),-1,decode(nvl(ppa.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa.assignment_action_id,ppa.action_type),'N'),'Y'),'Y') <> 'N'
          and not exists(
            select /*+ ORDERED */
                   null
            from   pay_action_interlocks pai,
                   pay_assignment_actions paav,
                   pay_payroll_actions ppav
            where  pai.locked_action_id = paa.assignment_action_id
            and    paav.assignment_action_id = pai.locking_action_id
            and    ppav.payroll_action_id = paav.payroll_action_id
            and    ppav.action_type = 'V')
          and    pliv_itax_org.input_value_id = c_itx_org_iv_id
          and    ppa.effective_date
                 between pliv_itax_org.effective_start_date and pliv_itax_org.effective_end_date
          and    pliv_itax_type.input_value_id = c_itx_type_iv_id
          and    ppa.effective_date
                 between pliv_itax_type.effective_start_date and pliv_itax_type.effective_end_date
          and    pee_itax_org.assignment_id = paa.assignment_id
          and    pee_itax_org.element_link_id = pliv_itax_org.element_link_id
          and    ppa.effective_date
                 between pee_itax_org.effective_start_date and pee_itax_org.effective_end_date
          and    pee_itax_type.assignment_id = paa.assignment_id
          and    pee_itax_type.element_link_id = pliv_itax_type.element_link_id
          and    ppa.effective_date
                 between pee_itax_type.effective_start_date and pee_itax_type.effective_end_date
          and    peev_itax_org.element_entry_id = pee_itax_org.element_entry_id
          and    peev_itax_org.input_value_id = pliv_itax_org.input_value_id
          and    peev_itax_org.effective_start_date = pee_itax_org.effective_start_date
          and    peev_itax_org.effective_end_date = pee_itax_org.effective_end_date
          and    fnd_number.canonical_to_number(decode(peev_itax_org.input_value_id,c_itx_org_iv_id,peev_itax_org.screen_entry_value,null)) = g_itax_organization_id
          and    peev_itax_type.element_entry_id = pee_itax_type.element_entry_id
          and    peev_itax_type.input_value_id = pliv_itax_type.input_value_id
          and    peev_itax_type.effective_start_date = pee_itax_type.effective_start_date
          and    peev_itax_type.effective_end_date = pee_itax_type.effective_end_date
          and    peev_itax_type.screen_entry_value <> 'E'
       /* --this part was removed for redundant validation
          --and not exists(
          --  select /*+ ORDERED */
          --         null
          --  from   pay_assignment_actions paa2,
          --         pay_payroll_actions ppa2,
          --         pay_link_input_values_f pliv_itax_org2,
          --         pay_link_input_values_f pliv_itax_type2,
          --         pay_element_entries_f pee_itax_org2,
          --         pay_element_entries_f pee_itax_type2,
          --         pay_element_entry_values_f peev_itax_org2,
          --         pay_element_entry_values_f peev_itax_type2
          --  where  paa2.assignment_id = paa.assignment_id
          --  and    paa2.action_status = 'C'
          --  and    ppa2.payroll_action_id = paa2.payroll_action_id
          --  and    ppa2.action_status = 'C'
          --  and    ppa2.action_type in ('R','Q')
          --  and    ppa2.effective_date
          --         between g_effective_som and g_effective_eom
          --  and    ppa2.payroll_id = ppa.payroll_id
          --  and    trunc(ppa2.effective_date,'MM') = trunc(ppa.effective_date,'MM')
          --  and    nvl(ppa2.element_set_id,-1) = nvl(ppa.element_set_id,-1)
          --  and    nvl(ppa2.element_set_id,-1) in (
          --           c_sal_ele_set_id,
          --           c_sal_cust_ele_set_id,
          --           -1)
          --  and    decode(nvl(ppa2.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa2.assignment_action_id,ppa2.action_type),'N'),'SAL') = 'SAL'
          --  and not exists(
          --    select /*+ ORDERED */
          --           null
          --    from   pay_action_interlocks pai2,
          --           pay_assignment_actions paav2,
          --           pay_payroll_actions ppav2
          --    where  pai2.locked_action_id = paa2.assignment_action_id
          --    and    paav2.assignment_action_id = pai2.locking_action_id
          --    and    ppav2.payroll_action_id = paav2.payroll_action_id
          --    and    ppav2.action_type = 'V')
          --  and    pliv_itax_org2.input_value_id = c_itx_org_iv_id
          --  and    ppa2.effective_date
          --         between pliv_itax_org2.effective_start_date and pliv_itax_org2.effective_end_date
          --  and    pliv_itax_type2.input_value_id = c_itx_type_iv_id
          --  and    ppa2.effective_date
          --         between pliv_itax_type2.effective_start_date and pliv_itax_type2.effective_end_date
          --  and    pee_itax_org2.assignment_id = paa2.assignment_id
          --  and    pee_itax_org2.element_link_id = pliv_itax_org2.element_link_id
          --  and    ppa2.effective_date
          --         between pee_itax_org2.effective_start_date and pee_itax_org2.effective_end_date
          --  and    pee_itax_type2.assignment_id = paa2.assignment_id
          --  and    pee_itax_type2.element_link_id = pliv_itax_type2.element_link_id
          --  and    ppa2.effective_date
          --         between pee_itax_type2.effective_start_date and pee_itax_type2.effective_end_date
          --  and    peev_itax_org2.element_entry_id = pee_itax_org2.element_entry_id
          --  and    peev_itax_org2.input_value_id = pliv_itax_org2.input_value_id
          --  and    peev_itax_org2.effective_start_date = pee_itax_org2.effective_start_date
          --  and    peev_itax_org2.effective_end_date = pee_itax_org2.effective_end_date
          --  and    fnd_number.canonical_to_number(decode(peev_itax_org2.input_value_id,c_itx_org_iv_id,peev_itax_org2.screen_entry_value,null)) = g_itax_organization_id
          --  and    peev_itax_type2.element_entry_id = pee_itax_type2.element_entry_id
          --  and    peev_itax_type2.input_value_id = pliv_itax_type2.input_value_id
          --  and    peev_itax_type2.effective_start_date = pee_itax_type2.effective_start_date
          --  and    peev_itax_type2.effective_end_date = pee_itax_type2.effective_end_date
          --  and    peev_itax_type2.screen_entry_value <> 'E'
          --  and    paa2.action_sequence > paa.action_sequence) */
         ) proc_v,
         pay_all_payrolls_f ppy
  where  ppy.payroll_id = proc_v.payroll_id
  and    proc_v.effective_date
         between ppy.effective_start_date and ppy.effective_end_date
  order by
    proc_v.assignment_id,
    proc_v.action_sequence;
Line: 7867

  select /*+ ORDERED */
         v.person_id,
         v.assignment_id,
         v.organization_id,
         v.job_id,
         v.payroll_id,
         v.location_id,
         v.arch_assignment_action_id,
         v.proc_assignment_action_id,
         v.larch_assignment_action_id,
         v.lproc_assignment_action_date,
         v.action_sequence,
         v.effective_date,
         v.date_earned,
         v.proc_type,
         v.dpnt_ref_type,
         v.employee_number,
         v.last_name_kana,
         v.first_name_kana,
         v.last_name,
         v.first_name,
         v.full_name_kana,
         v.full_name,
         nvl(padr.address_id,padc.address_id) address_id,
         decode(padr.address_id,null,padc.postal_code,padr.postal_code) postal_code,
         decode(padr.address_id,null,padc.town_or_city,padr.town_or_city) district_code,
         decode(padr.address_id,null,
           padc.address_line1||padc.address_line2||padc.address_line3,
           padr.address_line1||padr.address_line2||padr.address_line3) address,
         decode(padr.address_id,null,
           padc.region_1||padc.region_2||padc.region_3,
           padr.region_1||padr.region_2||padr.region_3) address_kana,
         decode(decode(padr.address_id,null,padc.country,padr.country),'JP','0','1') address_jp,
         decode(padr.address_id,null,
           padc.telephone_number_1,padr.telephone_number_1) phone1,
         decode(padr.address_id,null,
           padc.telephone_number_2,padr.telephone_number_2) phone2,
         v.hire_date,
         v.termination_date,
         v.leaving_reason,
         v.sex,
         v.birth_date,
         hou.name organization_name,
         pjb.name job_name,
         v.payroll_name,
         hlc.location_code
  from   (select  /*+ ORDERED */
                  pp.person_id,
                  proc_v.assignment_id,
                  pa.organization_id,
                  pa.job_id,
                  proc_v.payroll_id,
                  pa.location_id,
                  proc_v.arch_assignment_action_id,
                  proc_v.proc_assignment_action_id,
                  proc_v.larch_assignment_action_id,
                  proc_v.lproc_assignment_action_date,
                  proc_v.action_sequence,
                  proc_v.effective_date,
                  proc_v.date_earned,
                  proc_v.proc_type,
                  nvl(nvl(ppy.prl_information1,g_bg_itax_dpnt_ref_type),'CTR_EE') dpnt_ref_type,
                  pp.employee_number,
                  pp.last_name last_name_kana,
                  pp.first_name first_name_kana,
                  pp.per_information18 last_name,
                  pp.per_information19 first_name,
                  pp.last_name||' '||pp.first_name full_name_kana,
                  pp.per_information18||' '||pp.per_information19 full_name,
                  ppos.date_start hire_date,
                  ppos.actual_termination_date termination_date,
                  ppos.leaving_reason,
                  pp.sex,
                  pp.date_of_birth birth_date,
                  ppy.payroll_name
          from    (select /*+ ORDERED
                              USE_NL(PAA, PPA)
                              INDEX(PAA PAY_ASSIGNMENT_ACTIONS_N1)
                              INDEX(PPA PAY_PAYROLL_ACTIONS_PK) */
                          larch_v.arch_assignment_action_id arch_assignment_action_id,
                          paa.assignment_id,
                          paa.assignment_action_id proc_assignment_action_id,
                          paa.action_sequence,
                          ppa.effective_date,
                          ppa.date_earned,
                          ppa.payroll_id,
                          decode(nvl(ppa.element_type_id,-1),
                            c_yea_itx_elm_id,'YEA',
                            c_rey_itx_elm_id,'REY',
                            -1,decode(nvl(ppa.element_set_id,-1),
                                 c_sal_ele_set_id,'SAL',
                                 c_bon_ele_set_id,'BON',
                                 c_spb_ele_set_id,'SPB',
                                 c_yea_ele_set_id,'YEA',
                                 c_rey_ele_set_id,'REY',
                                 c_sal_cust_ele_set_id,'SAL',
                                 c_bon_cust_ele_set_id,'BON',
                                 c_spb_cust_ele_set_id,'SPB',
                                 c_yea_cust_ele_set_id,'YEA',
                                 c_rey_cust_ele_set_id,'REY',
                                 -1,pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa.assignment_action_id,ppa.action_type),null),null) proc_type,
                          larch_v.larch_assignment_action_id,
                          larch_v.lproc_assignment_action_date,
                          ppa.element_set_id
                   from   (select /*+ ORDERED */
                                  paa_arch.assignment_action_id arch_assignment_action_id,
                                  paa_arch.assignment_id,
                                  pjia.assignment_action_id larch_assignment_action_id,
                                  decode(nvl(ppa_proc.element_set_id,-1),
                                    c_yea_ele_set_id,ppa_proc.date_earned,
                                    c_rey_ele_set_id,ppa_proc.date_earned,ppa_proc.effective_date) lproc_assignment_action_date
                           from   pay_payroll_actions ppa_arch,
                                  pay_assignment_actions paa_arch,
                                  pay_jp_itwb_assact_v pjia,
                                  pay_assignment_actions paa_o,
                                  pay_assignment_actions paa_proc,
                                  pay_payroll_actions ppa_proc
                           where  ppa_arch.payroll_action_id = p_payroll_action_id
                           and    paa_arch.payroll_action_id = ppa_arch.payroll_action_id
                           and    pjia.assignment_id (+) = paa_arch.assignment_id
                           and    pjia.effective_date (+)
                                  between g_effective_soy and g_effective_eoy
                           and    paa_o.assignment_action_id (+) = pjia.assignment_action_id
                           and    paa_proc.assignment_action_id (+) = pjia.proc_assignment_action_id
                           and    ppa_proc.payroll_action_id (+) = paa_proc.payroll_action_id
                           and    not exists(
                                    select /*+ ORDERED */
                                           null
                                    from   pay_jp_itwb_assact_v pjia2,
                                           pay_assignment_actions paa_o2
                                    where  pjia2.effective_date
                                           between g_effective_soy and g_effective_eoy
                                    and    pjia2.assignment_id = paa_o.assignment_id
                                    and    paa_o2.assignment_action_id = pjia2.assignment_action_id
                                    and    paa_o2.action_sequence > paa_o.action_sequence)) larch_v,
                          pay_assignment_actions paa,
                          pay_payroll_actions ppa,
                          pay_link_input_values_f pliv_itax_org,
                          pay_link_input_values_f pliv_itax_type,
                          pay_element_entries_f pee_itax_org,
                          pay_element_entries_f pee_itax_type,
                          pay_element_entry_values_f peev_itax_org,
                          pay_element_entry_values_f peev_itax_type
                   where  paa.assignment_id = larch_v.assignment_id
                   and    paa.action_status = 'C'
                   and    ppa.payroll_action_id = paa.payroll_action_id
                   and    ppa.action_status = 'C'
                   and    ppa.action_type in ('R','Q','B','I')
                   and    decode(nvl(ppa.element_set_id,-1),
                            c_yea_ele_set_id,ppa.date_earned,
                            c_rey_ele_set_id,ppa.date_earned,ppa.effective_date)
                          between g_effective_som and g_effective_eom
                   and    nvl(ppa.element_type_id,c_yea_itx_elm_id) in (c_yea_itx_elm_id, c_rey_itx_elm_id)
                   and    decode(nvl(ppa.element_type_id,-1),-1,nvl(ppa.element_set_id,-1),c_sal_ele_set_id) in (
                            c_sal_ele_set_id,
                            c_bon_ele_set_id,
                            c_spb_ele_set_id,
                            c_yea_ele_set_id,
                            c_rey_ele_set_id,
                            c_sal_cust_ele_set_id,
                            c_bon_cust_ele_set_id,
                            c_spb_cust_ele_set_id,
                            c_yea_cust_ele_set_id,
                            c_rey_cust_ele_set_id,
                            -1)
                   and    decode(nvl(ppa.element_type_id,-1),-1,decode(nvl(ppa.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa.assignment_action_id,ppa.action_type),'N'),'Y'),'Y') <> 'N'
                   and not exists(
                     select /*+ ORDERED */
                            null
                     from   pay_action_interlocks pai,
                            pay_assignment_actions paav,
                            pay_payroll_actions ppav
                     where  pai.locked_action_id = paa.assignment_action_id
                     and    paav.assignment_action_id = pai.locking_action_id
                     and    ppav.payroll_action_id = paav.payroll_action_id
                     and    ppav.action_type = 'V')
                   and    pliv_itax_org.input_value_id = c_itx_org_iv_id
                   and    ppa.effective_date
                          between pliv_itax_org.effective_start_date and pliv_itax_org.effective_end_date
                   and    pliv_itax_type.input_value_id = c_itx_type_iv_id
                   and    ppa.effective_date
                          between pliv_itax_type.effective_start_date and pliv_itax_type.effective_end_date
                   and    pee_itax_org.assignment_id = paa.assignment_id
                   and    pee_itax_org.element_link_id = pliv_itax_org.element_link_id
                   and    ppa.effective_date
                          between pee_itax_org.effective_start_date and pee_itax_org.effective_end_date
                   and    pee_itax_type.assignment_id = paa.assignment_id
                   and    pee_itax_type.element_link_id = pliv_itax_type.element_link_id
                   and    ppa.effective_date
                          between pee_itax_type.effective_start_date and pee_itax_type.effective_end_date
                   and    peev_itax_org.element_entry_id = pee_itax_org.element_entry_id
                   and    peev_itax_org.input_value_id = pliv_itax_org.input_value_id
                   and    peev_itax_org.effective_start_date = pee_itax_org.effective_start_date
                   and    peev_itax_org.effective_end_date = pee_itax_org.effective_end_date
                   and    fnd_number.canonical_to_number(decode(peev_itax_org.input_value_id,c_itx_org_iv_id,peev_itax_org.screen_entry_value,null)) = g_itax_organization_id
                   and    peev_itax_type.element_entry_id = pee_itax_type.element_entry_id
                   and    peev_itax_type.input_value_id = pliv_itax_type.input_value_id
                   and    peev_itax_type.effective_start_date = pee_itax_type.effective_start_date
                   and    peev_itax_type.effective_end_date = pee_itax_type.effective_end_date
                   and    peev_itax_type.screen_entry_value <> 'E'
                /* --this part was removed for redundant validation
                   --and not exists(
                   --  select /*+ ORDERED */
                   --         null
                   --  from   pay_assignment_actions paa2,
                   --         pay_payroll_actions ppa2,
                   --         pay_link_input_values_f pliv_itax_org2,
                   --         pay_link_input_values_f pliv_itax_type2,
                   --         pay_element_entries_f pee_itax_org2,
                   --         pay_element_entries_f pee_itax_type2,
                   --         pay_element_entry_values_f peev_itax_org2,
                   --         pay_element_entry_values_f peev_itax_type2
                   --  where  paa2.assignment_id = paa.assignment_id
                   --  and    paa2.action_status = 'C'
                   --  and    ppa2.payroll_action_id = paa2.payroll_action_id
                   --  and    ppa2.action_status = 'C'
                   --  and    ppa2.action_type in ('R','Q')
                   --  and    ppa2.effective_date
                   --         between g_effective_som and g_effective_eom
                   --  and    ppa2.payroll_id = ppa.payroll_id
                   --  and    trunc(ppa2.effective_date,'MM') = trunc(ppa.effective_date,'MM')
                   --  and    nvl(ppa2.element_set_id,-1) = nvl(ppa.element_set_id,-1)
                   --  and    nvl(ppa2.element_set_id,-1) in (
                   --           c_sal_ele_set_id,
                   --           c_sal_cust_ele_set_id,
                   --           -1)
                   --  and    decode(nvl(ppa2.element_set_id,-1),-1,nvl(pay_jp_itwb_archive_pkg.get_fuzzy_proc_type(paa2.assignment_action_id,ppa2.action_type),'N'),'SAL') = 'SAL'
                   --  and not exists(
                   --    select /*+ ORDERED */
                   --           null
                   --    from   pay_action_interlocks pai2,
                   --           pay_assignment_actions paav2,
                   --           pay_payroll_actions ppav2
                   --    where  pai2.locked_action_id = paa2.assignment_action_id
                   --    and    paav2.assignment_action_id = pai2.locking_action_id
                   --    and    ppav2.payroll_action_id = paav2.payroll_action_id
                   --    and    ppav2.action_type = 'V')
                   --  and    pliv_itax_org2.input_value_id = c_itx_org_iv_id
                   --  and    ppa2.effective_date
                   --         between pliv_itax_org2.effective_start_date and pliv_itax_org2.effective_end_date
                   --  and    pliv_itax_type2.input_value_id = c_itx_type_iv_id
                   --  and    ppa2.effective_date
                   --         between pliv_itax_type2.effective_start_date and pliv_itax_type2.effective_end_date
                   --  and    pee_itax_org2.assignment_id = paa2.assignment_id
                   --  and    pee_itax_org2.element_link_id = pliv_itax_org2.element_link_id
                   --  and    ppa2.effective_date
                   --         between pee_itax_org2.effective_start_date and pee_itax_org2.effective_end_date
                   --  and    pee_itax_type2.assignment_id = paa2.assignment_id
                   --  and    pee_itax_type2.element_link_id = pliv_itax_type2.element_link_id
                   --  and    ppa2.effective_date
                   --         between pee_itax_type2.effective_start_date and pee_itax_type2.effective_end_date
                   --  and    peev_itax_org2.element_entry_id = pee_itax_org2.element_entry_id
                   --  and    peev_itax_org2.input_value_id = pliv_itax_org2.input_value_id
                   --  and    peev_itax_org2.effective_start_date = pee_itax_org2.effective_start_date
                   --  and    peev_itax_org2.effective_end_date = pee_itax_org2.effective_end_date
                   --  and    fnd_number.canonical_to_number(decode(peev_itax_org2.input_value_id,c_itx_org_iv_id,peev_itax_org2.screen_entry_value,null)) = g_itax_organization_id
                   --  and    peev_itax_type2.element_entry_id = pee_itax_type2.element_entry_id
                   --  and    peev_itax_type2.input_value_id = pliv_itax_type2.input_value_id
                   --  and    peev_itax_type2.effective_start_date = pee_itax_type2.effective_start_date
                   --  and    peev_itax_type2.effective_end_date = pee_itax_type2.effective_end_date
                   --  and    peev_itax_type2.screen_entry_value <> 'E'
                   --  and    paa2.action_sequence > paa.action_sequence) */
                  ) proc_v,
                  per_all_assignments_f pa,
                  per_all_people_f pp,
                  per_periods_of_service ppos,
                  pay_all_payrolls_f ppy
          where   pa.assignment_id = proc_v.assignment_id
          and     proc_v.effective_date
                  between pa.effective_start_date and pa.effective_end_date
          and     pp.person_id = pa.person_id
          and     proc_v.effective_date
                  between pp.effective_start_date and pp.effective_end_date
          and     ppos.period_of_service_id = pa.period_of_service_id
          and     ppy.payroll_id = proc_v.payroll_id
          and     proc_v.effective_date
                  between ppy.effective_start_date and ppy.effective_end_date) v,
         per_jobs_vl pjb,
         hr_all_organization_units_vl hou,
         hr_locations_all_vl hlc,
         per_addresses padr,
         per_addresses padc
  where  pjb.job_id (+) = v.job_id
  and    v.effective_date
         between pjb.date_from (+) and nvl(pjb.date_to (+), hr_api.g_eot)
  and    hou.organization_id (+) = v.organization_id
  and    v.effective_date
         between hou.date_from (+) and nvl(hou.date_to (+), hr_api.g_eot)
  and    hlc.location_id (+) = v.location_id
  and    padr.person_id (+) = v.person_id
  and    padr.address_type (+) = 'JP_R'
  and    nvl(v.termination_date, v.effective_date)
         between padr.date_from (+) and nvl(padr.date_to(+), hr_api.g_eot)
  and    padc.person_id (+) = v.person_id
  and    padc.address_type (+) = 'JP_C'
  and    nvl(v.termination_date, v.effective_date)
         between padc.date_from (+) and nvl(padc.date_to(+), hr_api.g_eot)
  order by
    v.assignment_id,
    v.action_sequence;
Line: 8173

  select /*+ ORDERED */
         v.person_id,
         v.assignment_id,
         v.organization_id,
         v.job_id,
         v.payroll_id,
         v.location_id,
         v.employee_number,
         v.last_name_kana,
         v.first_name_kana,
         v.last_name,
         v.first_name,
         v.full_name_kana,
         v.full_name,
         nvl(padr.address_id,padc.address_id) address_id,
         decode(padr.address_id,null,padc.postal_code,padr.postal_code) postal_code,
         decode(padr.address_id,null,padc.town_or_city,padr.town_or_city) district_code,
         decode(padr.address_id,null,
           padc.address_line1||padc.address_line2||padc.address_line3,
           padr.address_line1||padr.address_line2||padr.address_line3) address,
         decode(padr.address_id,null,
           padc.region_1||padc.region_2||padc.region_3,
           padr.region_1||padr.region_2||padr.region_3) address_kana,
         decode(decode(padr.address_id,null,padc.country,padr.country),'JP','0','1') address_jp,
         decode(padr.address_id,null,
           padc.telephone_number_1,padr.telephone_number_1) phone1,
         decode(padr.address_id,null,
           padc.telephone_number_2,padr.telephone_number_2) phone2,
         v.date_start hire_date,
         v.actual_termination_date termination_date,
         v.leaving_reason,
         v.sex,
         v.date_of_birth birth_date,
         hou.name organization_name,
         pjb.name job_name,
         ppy.payroll_name,
         hlc.location_code
  from   (select /*+ ORDERED */
                 pa.assignment_id,
                 pp.person_id,
                 ppos.actual_termination_date,
                 pa.payroll_id,
                 pa.job_id,
                 pa.organization_id,
                 pa.location_id,
                 pp.employee_number,
                 pp.last_name last_name_kana,
                 pp.first_name first_name_kana,
                 pp.per_information18 last_name,
                 pp.per_information19 first_name,
                 pp.last_name||' '||pp.first_name full_name_kana,
                 pp.per_information18||' '||pp.per_information19 full_name,
                 ppos.date_start,
                 ppos.leaving_reason,
                 pp.sex,
                 pp.date_of_birth
          from   per_all_assignments_f pa,
                 per_all_people_f pp,
                 per_periods_of_service ppos
          where  pa.assignment_id = p_assignment_id
          and    p_effective_date
                 between pa.effective_start_date and pa.effective_end_date
          and    pp.person_id = pa.person_id
          and    p_effective_date
                 between pp.effective_start_date and pp.effective_end_date
          and    ppos.period_of_service_id = pa.period_of_service_id) v,
         per_addresses padr,
         per_addresses padc,
         pay_all_payrolls_f ppy,
         per_jobs_vl pjb,
         hr_all_organization_units_vl hou,
         hr_locations_all_vl hlc
  where  padr.person_id (+) = v.person_id
  and    padr.address_type (+) = 'JP_R'
  and    nvl(v.actual_termination_date, p_effective_date)
         between padr.date_from (+) and nvl(padr.date_to(+), hr_api.g_eot)
  and    padc.person_id (+) = v.person_id
  and    padc.address_type (+) = 'JP_C'
  and    nvl(v.actual_termination_date, p_effective_date)
         between padc.date_from (+) and nvl(padc.date_to(+), hr_api.g_eot)
  and    ppy.payroll_id = v.payroll_id
  and    p_effective_date
         between ppy.effective_start_date and ppy.effective_end_date
  and    pjb.job_id (+) = v.job_id
  and    p_effective_date
         between pjb.date_from (+) and nvl(pjb.date_to (+), hr_api.g_eot)
  and    hou.organization_id (+) = v.organization_id
  and    p_effective_date
         between hou.date_from (+) and nvl(hou.date_to (+), hr_api.g_eot)
  and    hlc.location_id (+) = v.location_id;
Line: 8267

  select col_cnt1,
         col_cnt2,
         col_cnt3,
         col_cnt4,
         col_cnt5,
         col_cnt6,
         col_cnt7,
         col_cnt8,
         col_cnt9,
         col_cnt10,
         col_cnt11,
         col_cnt12,
         col_cnt13,
         col_cnt14,
         col_cnt15
  from   pay_jp_itwb_bon_act_id_v
  where  assignment_action_id = p_arch_assignment_action_id_o;
Line: 8288

  select decode(sign(to_number(to_char(nvl(pyjibae.col_cnt1,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt1) col_cnt1,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt2,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt2) col_cnt2,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt3,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt3) col_cnt3,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt4,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt4) col_cnt4,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt5,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt5) col_cnt5,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt6,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt6) col_cnt6,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt7,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt7) col_cnt7,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt8,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt8) col_cnt8,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt9,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt9) col_cnt9,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt10,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt10) col_cnt10,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt11,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt11) col_cnt11,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt12,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt12) col_cnt12,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt13,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt13) col_cnt13,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt14,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt14) col_cnt14,
         decode(sign(to_number(to_char(nvl(pyjibae.col_cnt15,g_effective_som),'MM')) - to_number(to_char(g_effective_som,'MM'))),0,null,pyjibai.col_cnt15) col_cnt15
  from   pay_jp_itwb_bon_act_id_v pyjibai,
         pay_jp_itwb_bon_act_efd_v pyjibae
  where  pyjibai.assignment_action_id = p_arch_assignment_action_id_o
  and    pyjibae.assignment_action_id = pyjibai.assignment_action_id
  and    pyjibae.effective_date = pyjibai.effective_date;
Line: 8327

  g_per_ind_tbl.delete;
Line: 8328

  g_ass_tbl.delete;
Line: 8329

  g_body_tbl.delete;
Line: 8331

  g_data_pay_tbl.delete;
Line: 8332

  g_data_sal_tbl.delete;
Line: 8333

  g_data_bon_tbl.delete;
Line: 8334

  g_data_yea_tbl.delete;
Line: 8335

  g_data_pjob_ind_tbl.delete;
Line: 8336

  g_data_pjob_tbl.delete;
Line: 8337

  g_data_dpnt_tbl.delete;
Line: 8339

  g_data_sal_ass_pay_tbl.delete;
Line: 8340

  g_data_bon_ass_pay_tbl.delete;
Line: 8341

  g_arch_sal_ass_pay_tbl.delete;
Line: 8342

  g_arch_bon_ass_pay_tbl.delete;
Line: 8344

  g_data_sal_ass_pay_ind_tbl.delete;
Line: 8345

  g_data_bon_ass_pay_ind_tbl.delete;
Line: 8346

  g_arch_sal_ass_pay_ind_tbl.delete;
Line: 8347

  g_arch_bon_ass_pay_ind_tbl.delete;
Line: 8349

  g_data_item_act_sal_ern_tbl.delete;
Line: 8350

  g_data_item_act_sal_dct_tbl.delete;
Line: 8351

  g_data_item_act_bon_ern_tbl.delete;
Line: 8352

  g_data_item_act_bon_dct_tbl.delete;
Line: 8353

  g_data_item_act_wrk_tbl.delete;
Line: 8355

  g_item_info_ind_tbl.delete;
Line: 8356

  g_item_info_sal_ern_tbl.delete;
Line: 8357

  g_item_info_sal_dct_tbl.delete;
Line: 8358

  g_item_info_bon_ern_tbl.delete;
Line: 8359

  g_item_info_bon_dct_tbl.delete;
Line: 8360

  g_item_info_wrk_tbl.delete;
Line: 8361

  g_data_item_tbl.delete;
Line: 8363

  g_wng_tbl.delete;
Line: 8364

  g_yea_wic_tbl.delete;
Line: 8678

        l_prev_jobs.delete;
Line: 8680

        g_data_sal_ass_pay_tbl.delete;
Line: 8681

        g_data_bon_ass_pay_tbl.delete;
Line: 8682

        g_arch_sal_ass_pay_tbl.delete;
Line: 8683

        g_arch_bon_ass_pay_tbl.delete;
Line: 8685

        g_data_sal_ass_pay_ind_tbl.delete;
Line: 8686

        g_data_bon_ass_pay_ind_tbl.delete;
Line: 8687

        g_arch_sal_ass_pay_ind_tbl.delete;
Line: 8688

        g_arch_bon_ass_pay_ind_tbl.delete;
Line: 8690

        l_data_sal_act_mth1_tbl.delete;
Line: 8691

        l_data_sal_act_mth2_tbl.delete;
Line: 8692

        l_data_sal_act_mth3_tbl.delete;
Line: 8693

        l_data_sal_act_mth4_tbl.delete;
Line: 8694

        l_data_sal_act_mth5_tbl.delete;
Line: 8695

        l_data_sal_act_mth6_tbl.delete;
Line: 8696

        l_data_sal_act_mth7_tbl.delete;
Line: 8697

        l_data_sal_act_mth8_tbl.delete;
Line: 8698

        l_data_sal_act_mth9_tbl.delete;
Line: 8699

        l_data_sal_act_mth10_tbl.delete;
Line: 8700

        l_data_sal_act_mth11_tbl.delete;
Line: 8701

        l_data_sal_act_mth12_tbl.delete;
Line: 8725

      g_data_item_act_sal_ern_tbl.delete;
Line: 8726

      g_data_item_act_sal_dct_tbl.delete;
Line: 8727

      g_data_item_act_bon_ern_tbl.delete;
Line: 8728

      g_data_item_act_bon_dct_tbl.delete;
Line: 8729

      g_data_item_act_wrk_tbl.delete;
Line: 9854

        l_prev_jobs.delete;
Line: 9857

        g_data_sal_ass_pay_tbl.delete;
Line: 9858

        g_data_bon_ass_pay_tbl.delete;
Line: 9859

        g_arch_sal_ass_pay_tbl.delete;
Line: 9860

        g_arch_bon_ass_pay_tbl.delete;
Line: 9862

        g_data_sal_ass_pay_ind_tbl.delete;
Line: 9863

        g_data_bon_ass_pay_ind_tbl.delete;
Line: 9864

        g_arch_sal_ass_pay_ind_tbl.delete;
Line: 9865

        g_arch_bon_ass_pay_ind_tbl.delete;
Line: 9867

        l_data_sal_act_mth1_tbl.delete;
Line: 9868

        l_data_sal_act_mth2_tbl.delete;
Line: 9869

        l_data_sal_act_mth3_tbl.delete;
Line: 9870

        l_data_sal_act_mth4_tbl.delete;
Line: 9871

        l_data_sal_act_mth5_tbl.delete;
Line: 9872

        l_data_sal_act_mth6_tbl.delete;
Line: 9873

        l_data_sal_act_mth7_tbl.delete;
Line: 9874

        l_data_sal_act_mth8_tbl.delete;
Line: 9875

        l_data_sal_act_mth9_tbl.delete;
Line: 9876

        l_data_sal_act_mth10_tbl.delete;
Line: 9877

        l_data_sal_act_mth11_tbl.delete;
Line: 9878

        l_data_sal_act_mth12_tbl.delete;
Line: 9931

      g_data_item_act_sal_ern_tbl.delete;
Line: 9932

      g_data_item_act_sal_dct_tbl.delete;
Line: 9933

      g_data_item_act_bon_ern_tbl.delete;
Line: 9934

      g_data_item_act_bon_dct_tbl.delete;
Line: 9935

      g_data_item_act_wrk_tbl.delete;
Line: 11093

        l_prev_jobs.delete;
Line: 11096

        g_data_sal_ass_pay_tbl.delete;
Line: 11097

        g_data_bon_ass_pay_tbl.delete;
Line: 11098

        g_arch_sal_ass_pay_tbl.delete;
Line: 11099

        g_arch_bon_ass_pay_tbl.delete;
Line: 11101

        g_data_sal_ass_pay_ind_tbl.delete;
Line: 11102

        g_data_bon_ass_pay_ind_tbl.delete;
Line: 11103

        g_arch_sal_ass_pay_ind_tbl.delete;
Line: 11104

        g_arch_bon_ass_pay_ind_tbl.delete;
Line: 11106

        l_data_sal_act_mth1_tbl.delete;
Line: 11107

        l_data_sal_act_mth2_tbl.delete;
Line: 11108

        l_data_sal_act_mth3_tbl.delete;
Line: 11109

        l_data_sal_act_mth4_tbl.delete;
Line: 11110

        l_data_sal_act_mth5_tbl.delete;
Line: 11111

        l_data_sal_act_mth6_tbl.delete;
Line: 11112

        l_data_sal_act_mth7_tbl.delete;
Line: 11113

        l_data_sal_act_mth8_tbl.delete;
Line: 11114

        l_data_sal_act_mth9_tbl.delete;
Line: 11115

        l_data_sal_act_mth10_tbl.delete;
Line: 11116

        l_data_sal_act_mth11_tbl.delete;
Line: 11117

        l_data_sal_act_mth12_tbl.delete;
Line: 11187

      g_data_item_act_sal_ern_tbl.delete;
Line: 11188

      g_data_item_act_sal_dct_tbl.delete;
Line: 11189

      g_data_item_act_bon_ern_tbl.delete;
Line: 11190

      g_data_item_act_bon_dct_tbl.delete;
Line: 11191

      g_data_item_act_wrk_tbl.delete;
Line: 14684

    elsif g_arch_option = 'UPDATE'
    and l_arch_assignment_action_id_o is not null then
    --
      if g_debug
      and g_detail_debug = 'Y' then
        l_archive_step := 85;
Line: 14691

        hr_utility.trace('UPDATE mode');
Line: 14698

      pay_jp_itwb_dml_pkg.update_assact(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_proc_assignment_action_id   => l_proc_assignment_action_id,
        p_proc_assact_date_o          => l_proc_assact_date_o,
        p_status                      => g_arch_option,
        p_organization_id             => g_body_tbl(p_assignment_action_id).assact_organization_id,
        p_job_id                      => g_body_tbl(p_assignment_action_id).assact_job_id,
        p_payroll_id                  => g_body_tbl(p_assignment_action_id).assact_payroll_id,
        p_location_id                 => g_body_tbl(p_assignment_action_id).assact_location_id,
        p_termination_date            => g_body_tbl(p_assignment_action_id).assact_termination_date,
        p_leaving_reason              => g_body_tbl(p_assignment_action_id).assact_leaving_reason,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14722

      pay_jp_itwb_dml_pkg.update_emp(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_proc_assignment_action_id   => l_proc_assignment_action_id,
        p_proc_assact_date_o          => l_proc_assact_date_o,
        p_person_id                   => g_body_tbl(p_assignment_action_id).emp_person_id,
        p_employee_number             => g_body_tbl(p_assignment_action_id).emp_employee_number,
        p_last_name                   => g_body_tbl(p_assignment_action_id).emp_last_name,
        p_first_name                  => g_body_tbl(p_assignment_action_id).emp_first_name,
        p_last_name_kana              => g_body_tbl(p_assignment_action_id).emp_last_name_kana,
        p_first_name_kana             => g_body_tbl(p_assignment_action_id).emp_first_name_kana,
        p_sex                         => g_body_tbl(p_assignment_action_id).emp_sex,
        p_birth_date                  => g_body_tbl(p_assignment_action_id).emp_birth_date,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14744

      pay_jp_itwb_dml_pkg.update_emp_add(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_proc_assignment_action_id   => l_proc_assignment_action_id,
        p_proc_assact_date_o          => l_proc_assact_date_o,
        p_address_id                  => g_body_tbl(p_assignment_action_id).emp_add_address_id,
        p_address_jp                  => g_body_tbl(p_assignment_action_id).emp_add_address_jp,
        p_postal_code                 => g_body_tbl(p_assignment_action_id).emp_add_postal_code,
        p_district_code               => g_body_tbl(p_assignment_action_id).emp_add_district_code,
        p_address1                    => substr(g_body_tbl(p_assignment_action_id).emp_add_address,1,80),
        p_address2                    => substr(g_body_tbl(p_assignment_action_id).emp_add_address,81,80),
        p_address_kana1               => substr(g_body_tbl(p_assignment_action_id).emp_add_address_kana,1,80),
        p_address_kana2               => substr(g_body_tbl(p_assignment_action_id).emp_add_address_kana,81,80),
        p_phone1                      => g_body_tbl(p_assignment_action_id).emp_add_phone1,
        p_phone2                      => g_body_tbl(p_assignment_action_id).emp_add_phone2,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14768

      pay_jp_itwb_dml_pkg.update_emp_ass(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_proc_assignment_action_id   => l_proc_assignment_action_id,
        p_proc_assact_date_o          => l_proc_assact_date_o,
        p_hire_date                   => g_body_tbl(p_assignment_action_id).emp_ass_hire_date,
        p_organization_name           => g_body_tbl(p_assignment_action_id).emp_ass_organization_name,
        p_job_name                    => g_body_tbl(p_assignment_action_id).emp_ass_job_name,
        p_payroll_name                => g_body_tbl(p_assignment_action_id).emp_ass_payroll_name,
        p_location_name               => g_body_tbl(p_assignment_action_id).emp_ass_location_name,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14787

      pay_jp_itwb_dml_pkg.update_emp_si(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_proc_assignment_action_id   => l_proc_assignment_action_id,
        p_proc_assact_date_o          => l_proc_assact_date_o,
        p_itax_org_id                 => g_body_tbl(p_assignment_action_id).emp_si_itax_org_id,
        p_itax_type                   => g_body_tbl(p_assignment_action_id).emp_si_itax_type,
        p_hi_org_id                   => g_body_tbl(p_assignment_action_id).emp_si_hi_org_id,
        p_hi_number                   => g_body_tbl(p_assignment_action_id).emp_si_hi_number,
        p_wp_org_id                   => g_body_tbl(p_assignment_action_id).emp_si_wp_org_id,
        p_wp_number                   => g_body_tbl(p_assignment_action_id).emp_si_wp_number,
        p_wpf_org_id                  => g_body_tbl(p_assignment_action_id).emp_si_wpf_org_id,
        p_wpf_number                  => g_body_tbl(p_assignment_action_id).emp_si_wpf_number,
        p_ei_org_id                   => g_body_tbl(p_assignment_action_id).emp_si_ei_org_id,
        p_ei_number                   => g_body_tbl(p_assignment_action_id).emp_si_ei_number,
        p_nres_flag                   => g_body_tbl(p_assignment_action_id).emp_si_nres_flag,
        p_nres_start_date             => g_body_tbl(p_assignment_action_id).emp_si_nres_start_date,
        p_projected_res_date          => g_body_tbl(p_assignment_action_id).emp_si_projected_res_date,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14816

      pay_jp_itwb_dml_pkg.update_sal_act(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'ACT',
        p_col_mth1                    => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth1),
        p_col_mth2                    => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth2),
        p_col_mth3                    => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth3),
        p_col_mth4                    => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth4),
        p_col_mth5                    => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth5),
        p_col_mth6                    => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth6),
        p_col_mth7                    => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth7),
        p_col_mth8                    => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth8),
        p_col_mth9                    => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth9),
        p_col_mth10                   => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth10),
        p_col_mth11                   => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth11),
        p_col_mth12                   => fnd_number.number_to_canonical(g_body_tbl(p_assignment_action_id).sal_act_act_mth12),
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14841

      pay_jp_itwb_dml_pkg.update_sal_act(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'EFD',
        p_col_mth1                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)).sal_act_efd),
        p_col_mth2                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)).sal_act_efd),
        p_col_mth3                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)).sal_act_efd),
        p_col_mth4                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)).sal_act_efd),
        p_col_mth5                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)).sal_act_efd),
        p_col_mth6                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)).sal_act_efd),
        p_col_mth7                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)).sal_act_efd),
        p_col_mth8                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)).sal_act_efd),
        p_col_mth9                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)).sal_act_efd),
        p_col_mth10                   => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)).sal_act_efd),
        p_col_mth11                   => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)).sal_act_efd),
        p_col_mth12                   => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)).sal_act_efd),
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14866

      pay_jp_itwb_dml_pkg.update_sal_act(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'ERD',
        p_col_mth1                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)).sal_act_erd),
        p_col_mth2                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)).sal_act_erd),
        p_col_mth3                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)).sal_act_erd),
        p_col_mth4                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)).sal_act_erd),
        p_col_mth5                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)).sal_act_erd),
        p_col_mth6                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)).sal_act_erd),
        p_col_mth7                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)).sal_act_erd),
        p_col_mth8                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)).sal_act_erd),
        p_col_mth9                    => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)).sal_act_erd),
        p_col_mth10                   => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)).sal_act_erd),
        p_col_mth11                   => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)).sal_act_erd),
        p_col_mth12                   => fnd_date.date_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)).sal_act_erd),
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14891

      pay_jp_itwb_dml_pkg.update_sal_act(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'PAY',
        p_col_mth1                    => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)).sal_act_pay),
        p_col_mth2                    => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)).sal_act_pay),
        p_col_mth3                    => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)).sal_act_pay),
        p_col_mth4                    => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)).sal_act_pay),
        p_col_mth5                    => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)).sal_act_pay),
        p_col_mth6                    => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)).sal_act_pay),
        p_col_mth7                    => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)).sal_act_pay),
        p_col_mth8                    => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)).sal_act_pay),
        p_col_mth9                    => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)).sal_act_pay),
        p_col_mth10                   => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)).sal_act_pay),
        p_col_mth11                   => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)).sal_act_pay),
        p_col_mth12                   => fnd_number.number_to_canonical(g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)).sal_act_pay),
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14917

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'TXBL',
        p_col_mth1                    => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('TXBL',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14943

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'NTXBL',
        p_col_mth1                    => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('NTXBL',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14969

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'PAY',
        p_col_mth1                    => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('PAY',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 14995

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'HI',
        p_col_mth1                    => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('HI',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15021

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'CI',
        p_col_mth1                    => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('CI',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15047

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'WP',
        p_col_mth1                    => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('WP',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15073

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'WPF',
        p_col_mth1                    => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('WPF',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15099

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'EI',
        p_col_mth1                    => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('EI',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15125

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'SI',
        p_col_mth1                    => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('SI',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15151

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'DCT_EARN',
        p_col_mth1                    => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('DCT_EARN',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15177

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'DPT',
        p_col_mth1                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)).sal_pay_dpts,
        p_col_mth2                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)).sal_pay_dpts,
        p_col_mth3                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)).sal_pay_dpts,
        p_col_mth4                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)).sal_pay_dpts,
        p_col_mth5                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)).sal_pay_dpts,
        p_col_mth6                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)).sal_pay_dpts,
        p_col_mth7                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)).sal_pay_dpts,
        p_col_mth8                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)).sal_pay_dpts,
        p_col_mth9                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)).sal_pay_dpts,
        p_col_mth10                   => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)).sal_pay_dpts,
        p_col_mth11                   => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)).sal_pay_dpts,
        p_col_mth12                   => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)).sal_pay_dpts,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15203

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'ITX',
        p_col_mth1                    => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('ITX',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15229

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'YEA_ITX',
        p_col_mth1                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)).sal_pay_yea_itx,
        p_col_mth2                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)).sal_pay_yea_itx,
        p_col_mth3                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)).sal_pay_yea_itx,
        p_col_mth4                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)).sal_pay_yea_itx,
        p_col_mth5                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)).sal_pay_yea_itx,
        p_col_mth6                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)).sal_pay_yea_itx,
        p_col_mth7                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)).sal_pay_yea_itx,
        p_col_mth8                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)).sal_pay_yea_itx,
        p_col_mth9                    => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)).sal_pay_yea_itx,
        p_col_mth10                   => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)).sal_pay_yea_itx,
        p_col_mth11                   => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)).sal_pay_yea_itx,
        p_col_mth12                   => g_data_sal_tbl(nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)).sal_pay_yea_itx,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15255

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'NET_ITX',
        p_col_mth1                    => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('NET_ITX',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15281

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'LTX',
        p_col_mth1                    => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('LTX',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15307

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'LTX_LUMP',
        p_col_mth1                    => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('LTX_LUMP',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15333

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'DCT',
        p_col_mth1                    => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15359

      pay_jp_itwb_dml_pkg.update_sal_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'NET_PAY',
        p_col_mth1                    => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0)),
        p_col_mth2                    => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0)),
        p_col_mth3                    => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0)),
        p_col_mth4                    => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0)),
        p_col_mth5                    => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0)),
        p_col_mth6                    => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0)),
        p_col_mth7                    => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0)),
        p_col_mth8                    => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0)),
        p_col_mth9                    => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0)),
        p_col_mth10                   => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0)),
        p_col_mth11                   => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0)),
        p_col_mth12                   => sum_data_sal_tbl('NET_PAY',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0)),
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15385

      pay_jp_itwb_dml_pkg.update_bon_act(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'ACT',
        p_col_cnt1                    => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt1),
        p_col_cnt2                    => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt2),
        p_col_cnt3                    => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt3),
        p_col_cnt4                    => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt4),
        p_col_cnt5                    => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt5),
        p_col_cnt6                    => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt6),
        p_col_cnt7                    => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt7),
        p_col_cnt8                    => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt8),
        p_col_cnt9                    => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt9),
        p_col_cnt10                   => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt10),
        p_col_cnt11                   => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt11),
        p_col_cnt12                   => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt12),
        p_col_cnt13                   => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt13),
        p_col_cnt14                   => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt14),
        p_col_cnt15                   => fnd_number.number_to_canonical(replace(to_char(sign(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15)),'0',null) * g_body_tbl(p_assignment_action_id).bon_act_act_cnt15),
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15413

      pay_jp_itwb_dml_pkg.update_bon_act(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'TYPE',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_act_type,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_act_type,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_act_type,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_act_type,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_act_type,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_act_type,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_act_type,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_act_type,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_act_type,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_act_type,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_act_type,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_act_type,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_act_type,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_act_type,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_act_type,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15441

      pay_jp_itwb_dml_pkg.update_bon_act(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'EFD',
        p_col_cnt1                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_act_efd),
        p_col_cnt2                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_act_efd),
        p_col_cnt3                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_act_efd),
        p_col_cnt4                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_act_efd),
        p_col_cnt5                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_act_efd),
        p_col_cnt6                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_act_efd),
        p_col_cnt7                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_act_efd),
        p_col_cnt8                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_act_efd),
        p_col_cnt9                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_act_efd),
        p_col_cnt10                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_act_efd),
        p_col_cnt11                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_act_efd),
        p_col_cnt12                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_act_efd),
        p_col_cnt13                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_act_efd),
        p_col_cnt14                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_act_efd),
        p_col_cnt15                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_act_efd),
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15469

      pay_jp_itwb_dml_pkg.update_bon_act(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'ERD',
        p_col_cnt1                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_act_erd),
        p_col_cnt2                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_act_erd),
        p_col_cnt3                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_act_erd),
        p_col_cnt4                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_act_erd),
        p_col_cnt5                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_act_erd),
        p_col_cnt6                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_act_erd),
        p_col_cnt7                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_act_erd),
        p_col_cnt8                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_act_erd),
        p_col_cnt9                    => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_act_erd),
        p_col_cnt10                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_act_erd),
        p_col_cnt11                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_act_erd),
        p_col_cnt12                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_act_erd),
        p_col_cnt13                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_act_erd),
        p_col_cnt14                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_act_erd),
        p_col_cnt15                   => fnd_date.date_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_act_erd),
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15497

      pay_jp_itwb_dml_pkg.update_bon_act(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'PAY',
        p_col_cnt1                    => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_act_pay),
        p_col_cnt2                    => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_act_pay),
        p_col_cnt3                    => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_act_pay),
        p_col_cnt4                    => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_act_pay),
        p_col_cnt5                    => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_act_pay),
        p_col_cnt6                    => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_act_pay),
        p_col_cnt7                    => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_act_pay),
        p_col_cnt8                    => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_act_pay),
        p_col_cnt9                    => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_act_pay),
        p_col_cnt10                   => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_act_pay),
        p_col_cnt11                   => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_act_pay),
        p_col_cnt12                   => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_act_pay),
        p_col_cnt13                   => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_act_pay),
        p_col_cnt14                   => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_act_pay),
        p_col_cnt15                   => fnd_number.number_to_canonical(g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_act_pay),
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15525

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'TXBL',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_txbl,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_txbl,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_txbl,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_txbl,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_txbl,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_txbl,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_txbl,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_txbl,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_txbl,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_txbl,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_txbl,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_txbl,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_txbl,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_txbl,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_txbl,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15554

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'NTXBL',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_ntxbl,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_ntxbl,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_ntxbl,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_ntxbl,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_ntxbl,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_ntxbl,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_ntxbl,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_ntxbl,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_ntxbl,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_ntxbl,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_ntxbl,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_ntxbl,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_ntxbl,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_ntxbl,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_ntxbl,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15583

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'PAY',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_pay,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_pay,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_pay,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_pay,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_pay,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_pay,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_pay,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_pay,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_pay,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_pay,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_pay,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_pay,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_pay,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_pay,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_pay,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15612

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'HI',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_hi,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_hi,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_hi,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_hi,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_hi,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_hi,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_hi,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_hi,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_hi,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_hi,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_hi,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_hi,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_hi,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_hi,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_hi,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15641

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'CI',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_ci,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_ci,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_ci,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_ci,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_ci,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_ci,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_ci,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_ci,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_ci,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_ci,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_ci,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_ci,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_ci,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_ci,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_ci,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15670

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'WP',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_wp,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_wp,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_wp,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_wp,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_wp,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_wp,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_wp,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_wp,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_wp,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_wp,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_wp,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_wp,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_wp,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_wp,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_wp,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15699

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'WPF',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_wpf,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_wpf,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_wpf,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_wpf,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_wpf,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_wpf,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_wpf,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_wpf,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_wpf,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_wpf,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_wpf,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_wpf,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_wpf,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_wpf,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_wpf,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15728

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'EI',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_ei,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_ei,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_ei,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_ei,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_ei,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_ei,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_ei,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_ei,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_ei,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_ei,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_ei,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_ei,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_ei,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_ei,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_ei,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15757

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'SI',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_si,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_si,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_si,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_si,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_si,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_si,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_si,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_si,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_si,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_si,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_si,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_si,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_si,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_si,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_si,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15786

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'DCT_EARN',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_dct_earn,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_dct_earn,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_dct_earn,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_dct_earn,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_dct_earn,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_dct_earn,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_dct_earn,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_dct_earn,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_dct_earn,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_dct_earn,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_dct_earn,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_dct_earn,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_dct_earn,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_dct_earn,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_dct_earn,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15815

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'DPT',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_dpts,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_dpts,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_dpts,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_dpts,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_dpts,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_dpts,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_dpts,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_dpts,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_dpts,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_dpts,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_dpts,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_dpts,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_dpts,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_dpts,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_dpts,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15844

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'ITX',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_itx,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_itx,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_itx,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_itx,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_itx,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_itx,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_itx,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_itx,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_itx,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_itx,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_itx,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_itx,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_itx,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_itx,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_itx,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15873

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'ITX_RATE',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_itx_rate,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_itx_rate,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_itx_rate,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_itx_rate,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_itx_rate,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_itx_rate,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_itx_rate,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_itx_rate,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_itx_rate,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_itx_rate,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_itx_rate,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_itx_rate,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_itx_rate,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_itx_rate,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_itx_rate,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15902

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'YEA_ITX',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_yea_itx,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_yea_itx,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_yea_itx,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_yea_itx,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_yea_itx,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_yea_itx,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_yea_itx,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_yea_itx,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_yea_itx,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_yea_itx,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_yea_itx,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_yea_itx,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_yea_itx,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_yea_itx,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_yea_itx,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15931

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'NET_ITX',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_net_itx,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_net_itx,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_net_itx,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_net_itx,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_net_itx,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_net_itx,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_net_itx,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_net_itx,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_net_itx,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_net_itx,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_net_itx,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_net_itx,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_net_itx,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_net_itx,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_net_itx,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15960

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'LTX_LUMP',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_ltx_lump,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_ltx_lump,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_ltx_lump,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_ltx_lump,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_ltx_lump,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_ltx_lump,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_ltx_lump,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_ltx_lump,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_ltx_lump,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_ltx_lump,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_ltx_lump,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_ltx_lump,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_ltx_lump,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_ltx_lump,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_ltx_lump,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 15989

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'DCT',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_calc_dct,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_calc_dct,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_calc_dct,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_calc_dct,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_calc_dct,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_calc_dct,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_calc_dct,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_calc_dct,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_calc_dct,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_calc_dct,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_calc_dct,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_calc_dct,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_calc_dct,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_calc_dct,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_calc_dct,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 16018

      pay_jp_itwb_dml_pkg.update_bon_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_category                    => 'NET_PAY',
        p_col_cnt1                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt1,0)).bon_pay_net_pay,
        p_col_cnt2                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt2,0)).bon_pay_net_pay,
        p_col_cnt3                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt3,0)).bon_pay_net_pay,
        p_col_cnt4                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt4,0)).bon_pay_net_pay,
        p_col_cnt5                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt5,0)).bon_pay_net_pay,
        p_col_cnt6                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt6,0)).bon_pay_net_pay,
        p_col_cnt7                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt7,0)).bon_pay_net_pay,
        p_col_cnt8                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt8,0)).bon_pay_net_pay,
        p_col_cnt9                    => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt9,0)).bon_pay_net_pay,
        p_col_cnt10                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt10,0)).bon_pay_net_pay,
        p_col_cnt11                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt11,0)).bon_pay_net_pay,
        p_col_cnt12                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt12,0)).bon_pay_net_pay,
        p_col_cnt13                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt13,0)).bon_pay_net_pay,
        p_col_cnt14                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt14,0)).bon_pay_net_pay,
        p_col_cnt15                   => g_data_bon_tbl(nvl(g_body_tbl(p_assignment_action_id).bon_act_act_cnt15,0)).bon_pay_net_pay,
        p_col_tot                     => null,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 16323

                pay_jp_itwb_dml_pkg.update_sal_earn(
                  p_assignment_action_id        => p_assignment_action_id,
                  p_assignment_id               => p_assignment_id,
                  p_effective_date              => g_effective_date,
                  p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
                  p_item_pay_id                 => l_data_sal_ass_pay_tbl(i).payroll_id,
                  p_item_pay_ord                => l_data_sal_ass_pay_tbl(i).ord_num,
                  p_item_type                   => g_item_info_sal_ern_tbl(j).item_type,
                  p_item_id                     => g_item_info_sal_ern_tbl(j).item_id,
                  p_item_rep_seq                => g_item_info_sal_ern_tbl(j).item_rep_seq,
                  p_item_rep_name               => g_item_info_sal_ern_tbl(j).item_rep_name,
                  p_col_mth1                    => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_mth2                    => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_mth3                    => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_mth4                    => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_mth5                    => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_mth6                    => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_mth7                    => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_mth8                    => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_mth9                    => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_mth10                   => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_mth11                   => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_mth12                   => sum_data_item_tbl('ERN',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0),g_item_info_sal_ern_tbl(j).item_pk),
                  p_col_tot                     => null,
                  p_action_information_id       => l_action_information_id,
                  p_object_version_number       => l_object_version_number);
Line: 16391

                pay_jp_itwb_dml_pkg.update_sal_dct(
                  p_assignment_action_id        => p_assignment_action_id,
                  p_assignment_id               => p_assignment_id,
                  p_effective_date              => g_effective_date,
                  p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
                  p_item_pay_id                 => l_data_sal_ass_pay_tbl(i).payroll_id,
                  p_item_pay_ord                => l_data_sal_ass_pay_tbl(i).ord_num,
                  p_item_type                   => g_item_info_sal_dct_tbl(k).item_type,
                  p_item_id                     => g_item_info_sal_dct_tbl(k).item_id,
                  p_item_rep_seq                => g_item_info_sal_dct_tbl(k).item_rep_seq,
                  p_item_rep_name               => g_item_info_sal_dct_tbl(k).item_rep_name,
                  p_col_mth1                    => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_mth2                    => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_mth3                    => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_mth4                    => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_mth5                    => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_mth6                    => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_mth7                    => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_mth8                    => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_mth9                    => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_mth10                   => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_mth11                   => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_mth12                   => sum_data_item_tbl('DCT',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0),g_item_info_sal_dct_tbl(k).item_pk),
                  p_col_tot                     => null,
                  p_action_information_id       => l_action_information_id,
                  p_object_version_number       => l_object_version_number);
Line: 16459

                pay_jp_itwb_dml_pkg.update_wrk(
                  p_assignment_action_id        => p_assignment_action_id,
                  p_assignment_id               => p_assignment_id,
                  p_effective_date              => g_effective_date,
                  p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
                  p_item_pay_id                 => l_data_sal_ass_pay_tbl(i).payroll_id,
                  p_item_pay_ord                => l_data_sal_ass_pay_tbl(i).ord_num,
                  p_item_type                   => g_item_info_wrk_tbl(l).item_type,
                  p_item_id                     => g_item_info_wrk_tbl(l).item_id,
                  p_item_rep_seq                => g_item_info_wrk_tbl(l).item_rep_seq,
                  p_item_rep_name               => g_item_info_wrk_tbl(l).item_rep_name,
                  p_col_mth1                    => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth1_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth1,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_mth2                    => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth2_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth2,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_mth3                    => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth3_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth3,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_mth4                    => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth4_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth4,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_mth5                    => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth5_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth5,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_mth6                    => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth6_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth6,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_mth7                    => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth7_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth7,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_mth8                    => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth8_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth8,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_mth9                    => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth9_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth9,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_mth10                   => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth10_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth10,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_mth11                   => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth11_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth11,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_mth12                   => sum_data_item_tbl('WRK',g_body_tbl(p_assignment_action_id).act_mth12_tbl,nvl(g_body_tbl(p_assignment_action_id).sal_act_act_mth12,0),g_item_info_wrk_tbl(l).item_pk),
                  p_col_tot                     => null,
                  p_action_information_id       => l_action_information_id,
                  p_object_version_number       => l_object_version_number);
Line: 16563

                pay_jp_itwb_dml_pkg.update_bon_earn(
                  p_assignment_action_id        => p_assignment_action_id,
                  p_assignment_id               => p_assignment_id,
                  p_effective_date              => g_effective_date,
                  p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
                  p_item_pay_id                 => l_data_bon_ass_pay_tbl(m).payroll_id,
                  p_item_pay_ord                => l_data_bon_ass_pay_tbl(m).ord_num,
                  p_item_type                   => g_item_info_bon_ern_tbl(n).item_type,
                  p_item_id                     => g_item_info_bon_ern_tbl(n).item_id,
                  p_item_rep_seq                => g_item_info_bon_ern_tbl(n).item_rep_seq,
                  p_item_rep_name               => g_item_info_bon_ern_tbl(n).item_rep_name,
                  p_col_cnt1                    => cnv_null_val(l_bon_ern_tbl_cnt1,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt2                    => cnv_null_val(l_bon_ern_tbl_cnt2,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt3                    => cnv_null_val(l_bon_ern_tbl_cnt3,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt4                    => cnv_null_val(l_bon_ern_tbl_cnt4,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt5                    => cnv_null_val(l_bon_ern_tbl_cnt5,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt6                    => cnv_null_val(l_bon_ern_tbl_cnt6,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt7                    => cnv_null_val(l_bon_ern_tbl_cnt7,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt8                    => cnv_null_val(l_bon_ern_tbl_cnt8,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt9                    => cnv_null_val(l_bon_ern_tbl_cnt9,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt10                   => cnv_null_val(l_bon_ern_tbl_cnt10,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt11                   => cnv_null_val(l_bon_ern_tbl_cnt11,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt12                   => cnv_null_val(l_bon_ern_tbl_cnt12,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt13                   => cnv_null_val(l_bon_ern_tbl_cnt13,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt14                   => cnv_null_val(l_bon_ern_tbl_cnt14,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_cnt15                   => cnv_null_val(l_bon_ern_tbl_cnt15,g_item_info_bon_ern_tbl(n).item_pk),
                  p_col_tot                     => null,
                  p_action_information_id       => l_action_information_id,
                  p_object_version_number       => l_object_version_number);
Line: 16637

                pay_jp_itwb_dml_pkg.update_bon_dct(
                  p_assignment_action_id        => p_assignment_action_id,
                  p_assignment_id               => p_assignment_id,
                  p_effective_date              => g_effective_date,
                  p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
                  p_item_pay_id                 => l_data_bon_ass_pay_tbl(m).payroll_id,
                  p_item_pay_ord                => l_data_bon_ass_pay_tbl(m).ord_num,
                  p_item_type                   => g_item_info_bon_dct_tbl(o).item_type,
                  p_item_id                     => g_item_info_bon_dct_tbl(o).item_id,
                  p_item_rep_seq                => g_item_info_bon_dct_tbl(o).item_rep_seq,
                  p_item_rep_name               => g_item_info_bon_dct_tbl(o).item_rep_name,
                  p_col_cnt1                    => cnv_null_val(l_bon_dct_tbl_cnt1,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt2                    => cnv_null_val(l_bon_dct_tbl_cnt2,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt3                    => cnv_null_val(l_bon_dct_tbl_cnt3,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt4                    => cnv_null_val(l_bon_dct_tbl_cnt4,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt5                    => cnv_null_val(l_bon_dct_tbl_cnt5,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt6                    => cnv_null_val(l_bon_dct_tbl_cnt6,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt7                    => cnv_null_val(l_bon_dct_tbl_cnt7,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt8                    => cnv_null_val(l_bon_dct_tbl_cnt8,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt9                    => cnv_null_val(l_bon_dct_tbl_cnt9,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt10                   => cnv_null_val(l_bon_dct_tbl_cnt10,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt11                   => cnv_null_val(l_bon_dct_tbl_cnt11,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt12                   => cnv_null_val(l_bon_dct_tbl_cnt12,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt13                   => cnv_null_val(l_bon_dct_tbl_cnt13,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt14                   => cnv_null_val(l_bon_dct_tbl_cnt14,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_cnt15                   => cnv_null_val(l_bon_dct_tbl_cnt15,g_item_info_bon_dct_tbl(o).item_pk),
                  p_col_tot                     => null,
                  p_action_information_id       => l_action_information_id,
                  p_object_version_number       => l_object_version_number);
Line: 16781

            pay_jp_itwb_dml_pkg.update_pjob(
              p_assignment_action_id        => p_assignment_action_id,
              p_assignment_id               => p_assignment_id,
              p_effective_date              => g_effective_date,
              p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
              p_proc_assignment_action_id   => l_proc_assignment_action_id,
              p_proc_assact_date_o          => l_proc_assact_date_o,
              p_term_date                   => g_data_pjob_tbl(l_pjob_rec_ind).term_date,
              p_employer_name               => g_data_pjob_tbl(l_pjob_rec_ind).employer_name,
              p_employer_name_kana          => g_data_pjob_tbl(l_pjob_rec_ind).employer_name_kana,
              p_employer_address            => g_data_pjob_tbl(l_pjob_rec_ind).employer_address,
              p_employer_address_kana       => g_data_pjob_tbl(l_pjob_rec_ind).employer_address_kana,
              p_txbl_inc                    => g_data_pjob_tbl(l_pjob_rec_ind).txbl_inc,
              p_si_prem                     => g_data_pjob_tbl(l_pjob_rec_ind).si_prem,
              p_mutual_aid_prem             => g_data_pjob_tbl(l_pjob_rec_ind).mutual_aid_prem,
              p_itax                        => g_data_pjob_tbl(l_pjob_rec_ind).itax,
              p_action_information_id       => l_action_information_id,
              p_object_version_number       => l_object_version_number);
Line: 16825

        pay_jp_itwb_dml_pkg.update_dep(
          p_assignment_action_id        => p_assignment_action_id,
          p_effective_date              => g_effective_date,
          p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
          p_proc_assignment_action_id   => l_proc_assignment_action_id,
          p_dep_itax_type               => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_itx_type,
          p_declare_flag                => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_declare_flag,
          p_spouse_type                 => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_spouse_type,
          p_spouse_flag                 => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_spouse_flag,
          p_dep_spouse                  => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_gen_spouse_flag,
          p_aged_dep_spouse             => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_elder_spouse_flag,
          p_ord_dep_num                 => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_num_of_dep,
          p_sp_dep_num                  => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_num_of_specific_dep,
          p_aged_parent_dep_lt_num      => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_num_of_elder_parent_lt,
          p_aged_dep_num                => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_num_of_elder_dep,
          p_ord_disable_num             => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_num_of_gen_disabled,
          p_sp_disable_num              => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_num_of_sev_disabled,
          p_sp_disable_lt_num           => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_num_of_sev_disabled_lt,
          p_disable_type                => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_disable_type,
          p_widow_type                  => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_widow_type,
          p_working_student_type        => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_working_student_type,
          p_otsu_spouse_dep_num         => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_num_of_otsu_dep,
          p_non_res_flag                => g_data_dpnt_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).dpnt_nres_flag,
          p_action_information_id       => l_action_information_id,
          p_object_version_number       => l_object_version_number);
Line: 16870

      pay_jp_itwb_dml_pkg.update_yea_act(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_proc_assignment_action_id   => l_proc_assignment_action_id,
        p_proc_assact_date_o          => l_proc_assact_date_o,
        p_act                         => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_act_id,
        p_efd                         => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_act_efd,
        p_erd                         => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_act_erd,
        p_pay                         => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_act_pay,
        p_yea_type                    => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_act_type,
        p_yea_flag                    => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_act_include_flag,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 16890

      pay_jp_itwb_dml_pkg.update_yea_pay(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_proc_assignment_action_id   => l_proc_assignment_action_id,
        p_proc_assact_date_o          => l_proc_assact_date_o,
        p_sal_txbl_mon                => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_sal_txbl_mon,
        p_sal_txbl_kind               => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_sal_txbl_kind,
        p_sal_txbl                    => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_sal_txbl,
        p_bon_txbl_mon                => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_bon_txbl_mon,
        p_bon_txbl_kind               => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_bon_txbl_kind,
        p_bon_txbl                    => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_bon_txbl,
        p_spb_txbl_mon                => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_spb_txbl_mon,
        p_spb_txbl_kind               => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_spb_txbl_kind,
        p_spb_txbl                    => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_spb_txbl,
        p_bon_txbl_tot                => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_bon_txbl_calc,
        p_txbl                        => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_txbl,
        p_sal_itx                     => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_sal_itx,
        p_bon_itx                     => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_bon_itx,
        p_spb_itx                     => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_spb_itx,
        p_bon_itx_tot                 => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_bon_itx_calc,
        p_withhold_itx                => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_pay_withhold_itx_calc,
        p_action_information_id       => l_action_information_id,
        p_object_version_number       => l_object_version_number);
Line: 16920

      pay_jp_itwb_dml_pkg.update_yea_dct(
        p_assignment_action_id        => p_assignment_action_id,
        p_effective_date              => g_effective_date,
        p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
        p_proc_assignment_action_id   => l_proc_assignment_action_id,
        p_proc_assact_date_o          => l_proc_assact_date_o,
        p_sal_dct_si_prem              => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_sal_dct_si_prem_calc,
        p_dec_si_prem                  => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_dec_si_prem,
        p_dec_small_comp_mut_aid_prem  => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_dec_sc_mut_prem,
        p_life_ins_prem_exm            => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_life_ins_prem_exm,
        p_earthquake_ins_prem_exm      => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_eq_ins_prem_exm,
        p_spouse_sp_exm                => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_spouse_sp_exm,
        p_basic_exm                    => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_basic_exm,
        p_gen_spouse_exm               => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_gen_spouse_exm,
        p_elder_spouse_exm             => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_elder_spouse_exm,
        p_gen_dep_exm                  => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_gen_dep_exm,
        p_specific_dep_exm             => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_specific_dep_exm,
        p_junior_dep_exm               => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_junior_dep_exm,
        p_elder_dep_exm                => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_elder_dep_exm,
        p_elder_parent_lt_exm          => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_elder_parent_lt_exm,
        p_gen_disabled_exm             => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_gen_disabled_exm,
        p_sev_disabled_exm             => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_sev_disabled_exm,
        p_sev_disabled_lt_exm          => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_sev_disabled_lt_exm,
        p_elder_exm                    => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_elder_exm,
        p_widow_exm                    => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_widow_exm,
        p_sp_widow_exm                 => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_sp_widow_exm,
        p_working_student_exm          => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_working_student_exm,
        p_dep_exm                      => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_dep_exm_calc,
        p_spouse_income                => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_spouse_income,
        p_individual_pension_prem      => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_ind_pension_prem,
        p_long_term_nonlife_ins_prem   => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_lt_nonlife_ins_prem,
        p_small_comp_mut_aid_prem      => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_sc_mut_prem_calc,
        p_national_pension_prem        => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_national_pension_prem,
        p_income_exm                   => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_dct_income_exm,
        p_action_information_id        => l_action_information_id,
        p_object_version_number        => l_object_version_number);
Line: 16962

      pay_jp_itwb_dml_pkg.update_yea_tax(
        p_assignment_action_id           => p_assignment_action_id,
        p_effective_date                 => g_effective_date,
        p_arch_assignment_action_id_o    => l_arch_assignment_action_id_o,
        p_proc_assignment_action_id      => l_proc_assignment_action_id,
        p_proc_assact_date_o          => l_proc_assact_date_o,
        p_amt_aft_emp_inc_dct            => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_tax_amt_aft_emp_inc_dct,
        p_net_txbl_income                => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_tax_net_txbl_income,
        p_annual_tax                     => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_tax_annual_tax,
        p_act_housing_loan_tax_credit    => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_tax_act_housing_loan,
        p_yea_annual_tax                 => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_tax_yea_annual_tax,
		p_yea_income_tax                 => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_tax_yea_income_tax,
        p_yea_tax_pay                    => g_data_yea_tbl(nvl(g_body_tbl(p_assignment_action_id).yea_act,0)).yea_tax_yea_tax_pay,
        p_action_information_id          => l_action_information_id,
        p_object_version_number          => l_object_version_number);
Line: 16987

        pay_jp_itwb_dml_pkg.update_emp_cust(
          p_assignment_action_id        => p_assignment_action_id,
          p_assignment_id               => p_assignment_id,
          p_effective_date              => g_effective_date,
          p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
          p_data_type                   => 'T',
          p_information1                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information1,
          p_information2                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information2,
          p_information3                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information3,
          p_information4                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information4,
          p_information5                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information5,
          p_information6                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information6,
          p_information7                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information7,
          p_information8                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information8,
          p_information9                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information9,
          p_information10               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information10,
          p_information11               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information11,
          p_information12               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information12,
          p_information13               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information13,
          p_information14               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information14,
          p_information15               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information15,
          p_information16               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information16,
          p_information17               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information17,
          p_information18               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information18,
          p_information19               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information19,
          p_information20               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information20,
          p_information21               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information21,
          p_information22               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information22,
          p_information23               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information23,
          p_information24               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information24,
          p_information25               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).txt_information25,
          p_action_information_id       => l_action_information_id,
          p_object_version_number       => l_object_version_number);
Line: 17026

        pay_jp_itwb_dml_pkg.update_emp_cust(
          p_assignment_action_id        => p_assignment_action_id,
          p_assignment_id               => p_assignment_id,
          p_effective_date              => g_effective_date,
          p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
          p_data_type                   => 'D',
          p_information1                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information1,
          p_information2                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information2,
          p_information3                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information3,
          p_information4                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information4,
          p_information5                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information5,
          p_information6                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information6,
          p_information7                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information7,
          p_information8                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information8,
          p_information9                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information9,
          p_information10               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information10,
          p_information11               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information11,
          p_information12               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information12,
          p_information13               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information13,
          p_information14               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information14,
          p_information15               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information15,
          p_information16               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information16,
          p_information17               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information17,
          p_information18               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information18,
          p_information19               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information19,
          p_information20               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information20,
          p_information21               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information21,
          p_information22               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information22,
          p_information23               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information23,
          p_information24               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information24,
          p_information25               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).date_information25,
          p_action_information_id       => l_action_information_id,
          p_object_version_number       => l_object_version_number);
Line: 17065

        pay_jp_itwb_dml_pkg.update_emp_cust(
          p_assignment_action_id        => p_assignment_action_id,
          p_assignment_id               => p_assignment_id,
          p_effective_date              => g_effective_date,
          p_arch_assignment_action_id_o => l_arch_assignment_action_id_o,
          p_data_type                   => 'N',
          p_information1                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information1,
          p_information2                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information2,
          p_information3                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information3,
          p_information4                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information4,
          p_information5                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information5,
          p_information6                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information6,
          p_information7                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information7,
          p_information8                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information8,
          p_information9                => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information9,
          p_information10               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information10,
          p_information11               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information11,
          p_information12               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information12,
          p_information13               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information13,
          p_information14               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information14,
          p_information15               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information15,
          p_information16               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information16,
          p_information17               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information17,
          p_information18               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information18,
          p_information19               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information19,
          p_information20               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information20,
          p_information21               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information21,
          p_information22               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information22,
          p_information23               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information23,
          p_information24               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information24,
          p_information25               => g_data_cust_tbl(g_body_tbl(p_assignment_action_id).assact_proc_ass_action_id).num_information25,
          p_action_information_id       => l_action_information_id,
          p_object_version_number       => l_object_version_number);
Line: 19669

  select assignment_id
  into   l_assignment_id
  from   pay_assignment_actions
  where  assignment_action_id = p_assignment_action_id;
Line: 19723

  g_per_ind_tbl.delete;
Line: 19724

  g_ass_tbl.delete;
Line: 19725

  g_body_tbl.delete;
Line: 19727

  g_data_pay_tbl.delete;
Line: 19728

  g_data_sal_tbl.delete;
Line: 19729

  g_data_bon_tbl.delete;
Line: 19730

  g_data_yea_tbl.delete;
Line: 19731

  g_data_pjob_ind_tbl.delete;
Line: 19732

  g_data_pjob_tbl.delete;
Line: 19733

  g_data_dpnt_tbl.delete;
Line: 19735

  g_data_sal_ass_pay_tbl.delete;
Line: 19736

  g_data_bon_ass_pay_tbl.delete;
Line: 19737

  g_arch_sal_ass_pay_tbl.delete;
Line: 19738

  g_arch_bon_ass_pay_tbl.delete;
Line: 19740

  g_data_sal_ass_pay_ind_tbl.delete;
Line: 19741

  g_data_bon_ass_pay_ind_tbl.delete;
Line: 19742

  g_arch_sal_ass_pay_ind_tbl.delete;
Line: 19743

  g_arch_bon_ass_pay_ind_tbl.delete;
Line: 19745

  g_data_item_act_sal_ern_tbl.delete;
Line: 19746

  g_data_item_act_sal_dct_tbl.delete;
Line: 19747

  g_data_item_act_bon_ern_tbl.delete;
Line: 19748

  g_data_item_act_bon_dct_tbl.delete;
Line: 19749

  g_data_item_act_wrk_tbl.delete;
Line: 19751

  g_item_info_ind_tbl.delete;
Line: 19752

  g_item_info_sal_ern_tbl.delete;
Line: 19753

  g_item_info_sal_dct_tbl.delete;
Line: 19754

  g_item_info_bon_ern_tbl.delete;
Line: 19755

  g_item_info_bon_dct_tbl.delete;
Line: 19756

  g_item_info_wrk_tbl.delete;
Line: 19757

  g_data_item_tbl.delete;
Line: 19759

  g_wng_tbl.delete;
Line: 19760

  g_yea_wic_tbl.delete;