DBA Data[Home] [Help]

APPS.PAY_SSR_BUS SQL Statements

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

Line: 23

  select null
  from  pay_template_exclusion_rules ter
  ,     pay_shadow_element_types bt
  where bt.element_type_id = p_element_type_id
  and   ter.exclusion_rule_id = p_exclusion_rule_id
  and   ter.template_id = bt.template_id
  ;
Line: 62

Procedure chk_delete
  (p_sub_classification_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_ssr_lookup_type
  and    tco.shadow_object_id = p_sub_classification_rule_id;
Line: 74

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

    fnd_message.set_name('PAY', 'PAY_50111_SSR_INVALID_DELETE');
Line: 97

End chk_delete;
Line: 101

Procedure chk_non_updateable_args
  (p_rec     in     pay_ssr_shd.g_rec_type
  ) is
  --
  -- Cursor to disallow update if a core balance classification has been
  -- generated from this shadow balance classification.
  --
  cursor csr_disallow_update is
  select null
  from   pay_template_core_objects tco
  where  tco.core_object_type = pay_tco_shd.g_ssr_lookup_type
  and    tco.shadow_object_id = p_rec.sub_classification_rule_id;
Line: 114

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

  open csr_disallow_update;
Line: 139

  fetch csr_disallow_update into l_disallow;
Line: 140

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

    close csr_disallow_update;
Line: 146

  close csr_disallow_update;
Line: 167

End chk_non_updateable_args;
Line: 178

  select null
  from   pay_shadow_element_types sbt
  where  sbt.element_type_id = p_element_type_id;
Line: 223

  select null
  from   pay_shadow_sub_classi_rules ssr
  where  ssr.element_type_id = p_element_type_id
  and    upper(ssr.element_classification) = upper(p_element_classification);
Line: 268

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

End insert_validate;
Line: 299

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

  chk_non_updateable_args(p_rec);
Line: 325

End update_validate;
Line: 330

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

  chk_delete(p_rec.sub_classification_rule_id);
Line: 342

End delete_validate;