DBA Data[Home] [Help]

APPS.PAY_SBA_BUS SQL Statements

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

Line: 40

Procedure chk_non_updateable_args
  (p_rec     in     pay_sba_shd.g_rec_type
  ) is
  --
  -- Cursor to disallow update if a core defined balance has been
  -- generated from this shadow defined balance.
  --
  cursor csr_disallow_update is
  select null
  from   pay_template_core_objects tco
  where  tco.core_object_type = pay_tco_shd.g_sba_lookup_type
  and    tco.shadow_object_id = p_rec.balance_attribute_id;
Line: 53

  l_proc  varchar2(72) := g_package||'chk_non_updateable_args';
Line: 76

  open csr_disallow_update;
Line: 77

  fetch csr_disallow_update into l_disallow;
Line: 78

  if csr_disallow_update%found then
    hr_utility.set_location(l_proc, 20);
Line: 80

    close csr_disallow_update;
Line: 84

  close csr_disallow_update;
Line: 90

End chk_non_updateable_args;
Line: 104

  select null
  from  pay_template_exclusion_rules ter
  ,     pay_shadow_balance_types bt
  ,     pay_shadow_defined_balances db
  where db.defined_balance_id = p_defined_balance_id
  and   bt.balance_type_id    = db.balance_type_id
  and   ter.exclusion_rule_id = p_exclusion_rule_id
  and   ter.template_id = bt.template_id
  ;
Line: 152

  select null
  from   pay_shadow_defined_balances sdb
  where  sdb.defined_balance_id = p_defined_balance_id;
Line: 197

  select null
  from   pay_shadow_bal_attributes sba
  where  sba.defined_balance_id = p_defined_balance_id
  and    upper(sba.attribute_name) = upper(p_attribute_name);
Line: 242

Procedure chk_delete
  (p_balance_attribute_id     in     number
  ) is
  --
  -- Cursors to check for rows referencing the balance classification.
  --
  cursor csr_core_objects is
  select null
  from   pay_template_core_objects tco
  where  tco.core_object_type = pay_tco_shd.g_sba_lookup_type
  and    tco.shadow_object_id = p_balance_attribute_id;
Line: 254

  l_proc  varchar2(72) := g_package||'chk_delete';
Line: 272

    fnd_message.set_name('PAY', 'PAY_50204_SBA_INVALID_DELETE');
Line: 277

End chk_delete;
Line: 282

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

End insert_validate;
Line: 319

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

  chk_non_updateable_args(p_rec => p_rec);
Line: 353

End update_validate;
Line: 358

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

  chk_delete
  (p_balance_attribute_id => p_rec.balance_attribute_id
  );
Line: 373

End delete_validate;