DBA Data[Home] [Help]

APPS.PAY_SFR_BUS SQL Statements

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

Line: 13

Procedure chk_non_updateable_args
  (p_rec     in     pay_sfr_shd.g_rec_type
  ) is
  --
  -- Cursor to disallow update if a core formula result rule has been
  -- generated from this shadow formula result rule.
  --
  cursor csr_disallow_update is
  select null
  from   pay_template_core_objects tco
  where  tco.core_object_type = pay_tco_shd.g_sfr_lookup_type
  and    tco.shadow_object_id = p_rec.formula_result_rule_id;
Line: 26

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

  open csr_disallow_update;
Line: 51

  fetch csr_disallow_update into l_disallow;
Line: 52

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

    close csr_disallow_update;
Line: 58

  close csr_disallow_update;
Line: 79

End chk_non_updateable_args;
Line: 90

  select null
  from   pay_shadow_element_types pset
  where  pset.element_type_id = p_shadow_element_type_id;
Line: 187

  select null
  from   pay_shadow_element_types pset
  ,      pay_shadow_element_types pset1
  where  pset.element_type_id  = p_shadow_element_type_id
  and    pset1.element_type_id = p_element_type_id
  and    pset1.template_id     = pset.template_id;
Line: 249

  select null
  from   pay_shadow_element_types pset
  ,      pay_shadow_element_types pset1
  ,      pay_shadow_input_values  psiv
  where  pset.element_type_id = p_shadow_element_type_id
  and    pset1.template_id    = pset.template_id
  and    psiv.input_value_id  = p_input_value_id
  and    psiv.element_type_id = pset1.element_type_id;
Line: 412

  select null
  from  pay_shadow_element_types     pset
  ,     pay_template_exclusion_rules ter
  where pset.element_type_id  = p_shadow_element_type_id
  and   ter.template_id       = pset.template_id
  and   ter.exclusion_rule_id = p_exclusion_rule_id;
Line: 450

Procedure chk_delete
  (p_formula_result_rule_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_sfr_lookup_type
  and    tco.shadow_object_id = p_formula_result_rule_id;
Line: 462

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

    fnd_message.set_name('PAY', 'PAY_50099_SFR_INVALID_DELETE');
Line: 485

End chk_delete;
Line: 489

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

End insert_validate;
Line: 553

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

  chk_non_updateable_args(p_rec);
Line: 613

End update_validate;
Line: 618

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

  chk_delete(p_rec.formula_result_rule_id);
Line: 630

End delete_validate;