DBA Data[Home] [Help]

APPS.BEN_XER_BUS SQL Statements

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

Line: 22

    select pbg.security_group_id
      from per_business_groups pbg
         , ben_ext_data_elmt_in_rcd bde
     where bde.ext_data_elmt_in_rcd_id = p_ext_data_elmt_in_rcd_id
       and pbg.business_group_id = bde.business_group_id;
Line: 171

    select null
    from   ben_ext_rcd a
    where  a.ext_rcd_id = p_ext_rcd_id;
Line: 246

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

cursor c1 is select 1
               from ben_ext_data_elmt_in_rcd
              Where ext_rcd_id = p_ext_rcd_id
                and seq_num = p_seq_num
--                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: 378

cursor c1 is select null
               from ben_ext_data_elmt_in_rcd
              Where ext_rcd_id = p_ext_rcd_id
                and ext_data_elmt_in_rcd_id  <> nvl(p_ext_data_elmt_in_rcd_id,-1)
                and seq_num = p_seq_num
--                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: 883

  cursor c1 is select rcd_type_cd
  from ben_ext_rcd
  where ext_rcd_id = p_ext_rcd_id;
Line: 887

  cursor c2 is select data_elmt_typ_cd, alwd_in_rcd_cd
  from ben_ext_data_elmt a, ben_ext_fld b
  where a.ext_data_elmt_id = p_ext_data_elmt_id
  and a.ext_fld_id = b.ext_fld_id;
Line: 967

  (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: 1034

  select ext_where_clause_id
  from ben_ext_where_clause
  where ext_data_elmt_in_rcd_id = p_ext_data_elmt_in_rcd_id;
Line: 1039

    select ext_incl_chg_id
    from ben_ext_incl_chg
  where ext_data_elmt_in_rcd_id = p_ext_data_elmt_in_rcd_id;
Line: 1048

  select 'x'
  from ben_ext_file
  where EXT_DATA_ELMT_IN_RCD_ID1  = p_ext_data_elmt_in_rcd_id
     or EXT_DATA_ELMT_IN_RCD_ID2  = p_ext_data_elmt_in_rcd_id
  ;
Line: 1106

Procedure insert_validate(p_rec in ben_xer_shd.g_rec_type
                         ,p_effective_date in date) is
--
  l_proc  varchar2(72) := g_package||'insert_validate';
Line: 1191

End insert_validate;
Line: 1196

Procedure update_validate(p_rec in ben_xer_shd.g_rec_type
                         ,p_effective_date in date) is
--
  l_proc  varchar2(72) := g_package||'update_validate';
Line: 1281

End update_validate;
Line: 1286

Procedure delete_validate(p_rec in ben_xer_shd.g_rec_type
                         ,p_effective_date in date) is
--
  l_proc  varchar2(72) := g_package||'delete_validate';
Line: 1304

End delete_validate;
Line: 1317

    select a.legislation_code
    from   per_business_groups a,
           ben_ext_data_elmt_in_rcd b
    where b.ext_data_elmt_in_rcd_id      = p_ext_data_elmt_in_rcd_id
    and   a.business_group_id(+) = b.business_group_id;