DBA Data[Home] [Help]

APPS.PAY_ECU_BUS SQL Statements

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

Line: 28

    select pbg.security_group_id,
           pbg.legislation_code
      from per_business_groups_perf pbg
         , pay_element_class_usages_f ecu
     where ecu.element_class_usage_id = p_element_class_usage_id
       and pbg.business_group_id (+) = ecu.business_group_id;
Line: 99

    select pbg.legislation_code
      from per_business_groups_perf pbg
         , pay_element_class_usages_f ecu
     where ecu.element_class_usage_id = p_element_class_usage_id
       and pbg.business_group_id (+) = ecu.business_group_id;
Line: 210

select 'Y'
from   pay_run_types_f prt
where  prt.run_type_id = p_run_type_id
and    p_effective_date between prt.effective_start_date
                        and     prt.effective_end_date
and    ((prt.business_group_id is not null
       and prt.business_group_id = p_business_group_id)
or     (prt.legislation_code is not null
        and prt.legislation_code = p_leg_code)
or     (prt.business_group_id is null
       and prt.legislation_code is null));
Line: 223

select 'Y'
from   pay_run_types_f prt
where  prt.run_type_id = p_run_type_id
and    p_effective_date between prt.effective_start_date
                        and     prt.effective_end_date
and    prt.business_group_id is null
and   ((p_legislation_code is not null
      and prt.legislation_code = p_legislation_code)
or    (prt.legislation_code is null));
Line: 234

select 'Y'
from   pay_run_types_f prt
where  prt.run_type_id = p_run_type_id
and    p_effective_date between prt.effective_start_date
                        and     prt.effective_end_date
and    prt.business_group_id is null
and    prt.legislation_code is null;
Line: 372

select 'Y'
from   pay_element_classifications ecl
where  ecl.classification_id = p_classification_id
and    ((ecl.business_group_id is not null
       and ecl.business_group_id = p_business_group_id)
or     (ecl.legislation_code is not null
        and ecl.legislation_code = p_leg_code)
or     (ecl.business_group_id is null
       and ecl.legislation_code is null));
Line: 383

select 'Y'
from   pay_element_classifications ecl
where  ecl.classification_id = p_classification_id
and    ecl.business_group_id is null
and   ((p_legislation_code is not null
      and ecl.legislation_code = p_legislation_code)
or    (ecl.legislation_code is null));
Line: 392

select 'Y'
from   pay_element_classifications ecl
where  ecl.classification_id = p_classification_id
and    ecl.business_group_id is null
and    ecl.legislation_code is null;
Line: 508

select null
from fnd_territories
where territory_code = p_legislation_code ;
Line: 572

Procedure chk_non_updateable_args
  (p_effective_date  in date
  ,p_rec             in pay_ecu_shd.g_rec_type
  ) IS
--
  l_proc     varchar2(72) := g_package || 'chk_non_updateable_args';
Line: 618

End chk_non_updateable_args;
Line: 649

Procedure dt_update_validate
  (p_datetrack_mode                in varchar2
  ,p_validation_start_date         in date
  ,p_validation_end_date           in date
  ) Is
--
  l_proc  varchar2(72) := g_package||'dt_update_validate';
Line: 695

End dt_update_validate;
Line: 732

Procedure dt_delete_validate
  (p_element_class_usage_id           in number
  ,p_datetrack_mode                   in varchar2
  ,p_validation_start_date            in date
  ,p_validation_end_date              in date
  ) Is
--
  l_proc        varchar2(72)    := g_package||'dt_delete_validate';
Line: 754

  If (p_datetrack_mode = hr_api.g_delete or
      p_datetrack_mode = hr_api.g_zap) then
    --
    --
    -- Ensure the arguments are not null
    --
    hr_api.mandatory_arg_error
      (p_api_name       => l_proc
      ,p_argument       => 'validation_start_date'
      ,p_argument_value => p_validation_start_date
      );
Line: 793

End dt_delete_validate;
Line: 805

  (p_insert               IN boolean
  ,p_business_group_id    IN number
  ,p_legislation_code     IN varchar2
  ,p_legislation_subgroup IN varchar2 DEFAULT NULL) IS
--
BEGIN
  --
  -- Call the supporting procedure to check startup mode
  -- EDIT_HERE: The following call should be edited if certain types of rows
  -- are not permitted.
  IF (p_insert) THEN
    if p_business_group_id is not null and p_legislation_code is not null then
	fnd_message.set_name('PAY', 'PAY_33179_BGLEG_INVALID');
Line: 844

Procedure insert_validate
  (p_rec                   in pay_ecu_shd.g_rec_type
  ,p_effective_date        in date
  ,p_datetrack_mode        in varchar2
  ,p_validation_start_date in date
  ,p_validation_end_date   in date
  ) is
--
  l_proc        varchar2(72) := g_package||'insert_validate';
Line: 912

End insert_validate;
Line: 917

Procedure update_validate
  (p_rec                     in pay_ecu_shd.g_rec_type
  ,p_effective_date          in date
  ,p_datetrack_mode          in varchar2
  ,p_validation_start_date   in date
  ,p_validation_end_date     in date
  ) is
--
  l_proc        varchar2(72) := g_package||'update_validate';
Line: 963

  dt_update_validate
    (p_datetrack_mode                 => p_datetrack_mode
    ,p_validation_start_date          => p_validation_start_date
    ,p_validation_end_date            => p_validation_end_date
    );
Line: 969

  chk_non_updateable_args
    (p_effective_date  => p_effective_date
    ,p_rec             => p_rec
    );
Line: 997

End update_validate;
Line: 1002

Procedure delete_validate
  (p_rec                    in pay_ecu_shd.g_rec_type
  ,p_effective_date         in date
  ,p_datetrack_mode         in varchar2
  ,p_validation_start_date  in date
  ,p_validation_end_date    in date
  ) is
--
  l_proc        varchar2(72) := g_package||'delete_validate';
Line: 1035

  dt_delete_validate
    (p_datetrack_mode                   => p_datetrack_mode
    ,p_validation_start_date            => p_validation_start_date
    ,p_validation_end_date              => p_validation_end_date
    ,p_element_class_usage_id           => p_rec.element_class_usage_id
    );
Line: 1043

End delete_validate;