DBA Data[Home] [Help]

APPS.BEN_XDD_BUS SQL Statements

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

Line: 21

    select pbg.security_group_id
      from per_business_groups pbg
         , ben_ext_data_elmt_decd xdd
     where xdd.ext_data_elmt_decd_id = p_ext_data_elmt_decd_id
       and pbg.business_group_id = xdd.business_group_id;
Line: 170

    select null
    from   ben_ext_data_elmt a
    where  a.ext_data_elmt_id = p_ext_data_elmt_id;
Line: 246

cursor c1 is select null
               from ben_ext_data_elmt_decd
              Where ext_data_elmt_id = p_ext_data_elmt_id
                and ext_data_elmt_decd_id <> nvl(p_ext_data_elmt_decd_id,-1)
                and val = p_val
--                and business_group_id = p_business_group_id
                and ( (business_group_id is null -- is global
                       and legislation_code is null
                      )
                     or -- is legilsation specific
                      (legislation_code is not null
                       and legislation_code = p_legislation_code)
                     or -- is business group specific
                      (business_group_id is not null
                       and business_group_id = p_business_group_id)
                    )
;
Line: 371

  (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
  --
  IF (p_insert) THEN
    --
    -- Call procedure to check startup_action for inserts.
    --
    hr_startup_data_api_support.chk_startup_action
      (p_generic_allowed   => TRUE
      ,p_startup_allowed   => TRUE
      ,p_user_allowed      => TRUE
      ,p_business_group_id => p_business_group_id
      ,p_legislation_code  => p_legislation_code
      ,p_legislation_subgroup => p_legislation_subgroup
      );
Line: 412

Procedure insert_validate(p_rec in ben_xdd_shd.g_rec_type) is
--
  l_proc  varchar2(72) := g_package||'insert_validate';
Line: 454

End insert_validate;
Line: 459

Procedure update_validate(p_rec in ben_xdd_shd.g_rec_type) is
--
  l_proc  varchar2(72) := g_package||'update_validate';
Line: 501

End update_validate;
Line: 506

Procedure delete_validate(p_rec in ben_xdd_shd.g_rec_type) is
--
  l_proc  varchar2(72) := g_package||'delete_validate';
Line: 520

End delete_validate;
Line: 533

    select a.legislation_code
    from   per_business_groups a,
           ben_ext_data_elmt_decd b
    where b.ext_data_elmt_decd_id      = p_ext_data_elmt_decd_id
    and   a.business_group_id(+) = b.business_group_id;