DBA Data[Home] [Help]

APPS.PAY_PUC_BUS SQL Statements

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

Line: 33

    select pbg.security_group_id
      from per_business_groups pbg
         , pay_user_columns puc
     where puc.user_column_id = p_user_column_id
       and pbg.business_group_id = puc.business_group_id;
Line: 97

    select pbg.legislation_code
      from per_business_groups pbg
         , pay_user_columns puc
     where puc.user_column_id = p_user_column_id
       and pbg.business_group_id (+) = puc.business_group_id;
Line: 185

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

End chk_non_updateable_args;
Line: 242

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

select put.legislation_code
,      put.business_group_id
from   pay_user_tables put
where  put.user_table_id = p_user_table_id
;
Line: 364

select null
from   pay_user_columns puc
where  puc.user_table_id = p_user_table_id
and    upper(puc.user_column_name) = p_user_column_name
and   (p_business_group_id is null
         or ( p_business_group_id is not null and p_business_group_id = puc.business_group_id )
         or ( p_business_group_id is not null and
			puc.legislation_code is null and puc.business_group_id is null )
	 or ( p_business_group_id is not null and
		        puc.legislation_code = hr_api.return_legislation_code(p_business_group_id )))
and   (p_legislation_code is null
	 or ( p_legislation_code is not null and p_legislation_code = puc.legislation_code )
	 or ( p_legislation_code is not null and
			puc.legislation_code is null and puc.business_group_id is null)
	 or ( p_legislation_code is not null and
			p_legislation_code = hr_api.return_legislation_code(puc.business_group_id )));
Line: 436

    select fft.formula_type_id
    into   pay_puc_bus.g_formula_type_id
    from   ff_formula_types fft
    where  formula_type_name = pay_puc_bus.g_formula_type_name
    ;
Line: 456

select ff.business_group_id
,      ff.legislation_code
from   ff_formulas_f ff
where  ff.formula_id = p_formula_id
and    ff.formula_type_id = pay_puc_bus.g_formula_type_id
;
Line: 538

procedure chk_delete
(p_user_column_id in number
) is
--
-- Only interested in child rows from PAY_USER_COLUMN_INSTANCES_F.
--
cursor csr_values_exist
(p_user_column_id in number
) is
select 'Y'
from   pay_user_column_instances_f uci
where  uci.user_column_id = p_user_column_id
;
Line: 576

end chk_delete;
Line: 588

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

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

End insert_validate;
Line: 707

Procedure update_validate
  (p_rec                          in pay_puc_shd.g_rec_type
  ,p_formula_warning              out nocopy boolean
  ) is
--
  l_proc  varchar2(72) := g_package||'update_validate';
Line: 744

  chk_non_updateable_args
    (p_rec              => p_rec
    );
Line: 767

End update_validate;
Line: 772

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

  chk_delete(p_user_column_id => p_rec.user_column_id);
Line: 803

End delete_validate;