DBA Data[Home] [Help]

APPS.PAY_PUT_BUS SQL Statements

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

Line: 28

    select pbg.security_group_id
      from per_business_groups_perf pbg
         , pay_user_tables put
     where put.user_table_id = p_user_table_id
       and pbg.business_group_id = put.business_group_id;
Line: 92

    select pbg.legislation_code
      from per_business_groups_perf pbg
         , pay_user_tables put
     where put.user_table_id = p_user_table_id
       and pbg.business_group_id (+) = put.business_group_id;
Line: 161

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

select null
from   pay_user_tables put
where  upper(put.user_table_name) = p_user_table_name
;
Line: 284

select null
from   pay_user_tables put
,      per_business_groups_perf pbg
where  upper(put.user_table_name) = p_user_table_name
and    ((put.business_group_id = pbg.business_group_id and
         pbg.legislation_code = p_legislation_code) or
        (put.legislation_code = p_legislation_code) or
        (put.legislation_code is null and put.business_group_id is null))
;
Line: 300

select null
from   pay_user_tables put
,      per_business_groups_perf pbg
where  upper(put.user_table_name) = p_user_table_name
and    ((put.business_group_id = p_business_group_id) or
        (pbg.business_group_id = p_business_group_id and
         pbg.legislation_code = put.legislation_code) or
        (put.legislation_code is null and put.business_group_id is null))
;
Line: 408

Procedure chk_non_updateable_args
  (p_rec in pay_put_shd.g_rec_type
  ) IS
--
  l_proc     varchar2(72) := g_package || 'chk_non_updateable_args';
Line: 464

End chk_non_updateable_args;
Line: 469

procedure chk_delete
(p_user_table_id in number
) is
cursor csr_rows_exist
(p_user_table_id in number
) is
select 'Y'
from   pay_user_rows_f pur
where  pur.user_table_id = p_user_table_id
;
Line: 483

select null
from   pay_user_columns puc
where  puc.user_table_id = p_user_table_id
;
Line: 519

end chk_delete;
Line: 531

  (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

    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: 571

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

End insert_validate;
Line: 647

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

  chk_non_updateable_args
    (p_rec              => p_rec
    );
Line: 699

End update_validate;
Line: 704

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

  chk_delete(p_user_table_id => p_rec.user_table_id);
Line: 735

End delete_validate;