DBA Data[Home] [Help]

APPS.AME_ACT_SHD SQL Statements

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

Line: 48

    select
     action_id
    ,action_type_id
    ,parameter
    ,start_date
    ,end_date
    ,description
    ,security_group_id
    ,parameter_two
    ,object_version_number
    from        ame_actions
    where       action_id = p_action_id
 and    action_type_id = p_action_type_id
    and         p_effective_date
    between     start_date and nvl(end_date - ame_util.oneSecond,p_effective_date);
Line: 150

	update ame_actions t
     set t.end_date              = p_new_end_date
        ,t.last_updated_by       = l_current_user_id
        ,t.last_update_date      = p_new_end_date
        ,t.last_update_login     = l_current_user_id
        ,t.object_version_number = l_object_version_number
   where t.action_id = p_action_id
 and    t.action_type_id = p_action_type_id
     and p_effective_date between t.start_date
          and nvl(t.end_date - ame_util.oneSecond,sysdate);
Line: 189

    select
     action_id
    ,action_type_id
    ,parameter
    ,start_date
    ,end_date
    ,description
    ,security_group_id
    ,parameter_two
    ,object_version_number
    from    ame_actions
    where   action_id = p_action_id
 and    action_type_id = p_action_type_id
    and     p_effective_date
    between start_date and nvl(end_date - ame_util.oneSecond, sysdate)
    for update nowait;
Line: 235

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

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

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

  select nvl(max(t.object_version_number),0) + 1
    into l_ovn
    from ame_actions t
   where t.action_id = p_action_id
 and    t.action_type_id = p_action_type_id;
Line: 370

      select count(*)
        from ame_action_usages
       where action_id = p_action_id
         and start_date < nvl(end_date,p_start_date)
         and (end_date is null or end_date >= p_start_date);