DBA Data[Home] [Help]

APPS.AME_GCF_SHD SQL Statements

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

Line: 48

    select
     application_id
    ,approval_group_id
    ,voting_regime
    ,order_number
    ,start_date
    ,end_date
    ,object_version_number
    from        ame_approval_group_config
    where       approval_group_id = p_approval_group_id
 and    application_id = p_application_id
    and         p_effective_date
    between     start_date
                  and nvl(end_date -  ame_util.oneSecond,p_effective_date);
Line: 145

  update  ame_approval_group_config t
  set     t.end_date    = p_new_end_date
    ,     t.object_version_number = l_object_version_number
  where   t.approval_group_id = p_approval_group_id
 and    t.application_id = p_application_id
  and     p_effective_date
  between t.start_date and nvl(t.end_date - ame_util.oneSecond,p_effective_date)
;
Line: 182

    select
     application_id
    ,approval_group_id
    ,voting_regime
    ,order_number
    ,start_date
    ,end_date
    ,object_version_number
    from    ame_approval_group_config
    where   approval_group_id = p_approval_group_id
 and    application_id = p_application_id
    and     p_effective_date
    between start_date and nvl(end_date - ame_util.oneSecond, p_effective_date)
    for update nowait;
Line: 226

  If (p_datetrack_mode <> hr_api.g_insert) then
    --
    -- We must select and lock the current row.
    --
    Open  C_Sel1;
Line: 263

  if (p_datetrack_mode = hr_api.g_update) then
    p_validation_start_date := p_effective_date;
Line: 266

  elsif (p_datetrack_mode = hr_api.g_delete) then
    p_validation_start_date := p_effective_date;
Line: 335

  select nvl(max(t.object_version_number),0) + 1
    into l_ovn
    from ame_approval_group_config t
   where t.approval_group_id = p_approval_group_id
 and    t.application_id = p_application_id;