DBA Data[Home] [Help]

APPS.ICX_SEC SQL Statements

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

Line: 21

    select 'Y' into x_session_id from icx_sessions
    where session_id =  l_session_id;
Line: 131

                                  security_group_id => icx_sec.g_security_group_id);--mputman hosted update
Line: 138

      SELECT user_id
         INTO t_user_id
          FROM  fnd_user
         WHERE user_name=upper(c_user_name);
Line: 159

     insert into icx_failures
     (user_name,password,failure_code,failure_date,
      created_by, creation_date, last_updated_by,
     last_update_date, last_update_login)
  values
     (l_remote_addr,-1,
      'ICX_ACCT_EXPIRED',sysdate,
      nvl(u.user_id,-1), sysdate, nvl(u.user_id,-1),
      sysdate, u.user_id);
Line: 197

  select *
  into   u
  from   fnd_user
  where  user_name = UPPER(c_user_name);
Line: 220

    IF b_hosted THEN  --mputman hosted update

       fnd_global.apps_initialize(user_id => t_user_id,
                                  resp_id => -1,
                                  resp_appl_id => -1,
                                  security_group_id => icx_sec.g_security_group_id);--mputman added 2092330
Line: 246

         select 'Y'
           into  l_expired
           from  FND_USER
          where  USER_NAME = UPPER(c_user_name)
            and    (PASSWORD_DATE is NULL or
                   (PASSWORD_LIFESPAN_ACCESSES is not NULL and
                     nvl(PASSWORD_ACCESSES_LEFT, 0) < 1) or
                   (PASSWORD_LIFESPAN_DAYS is not NULL and
                   SYSDATE >= PASSWORD_DATE + PASSWORD_LIFESPAN_DAYS));
Line: 266

         select *
         into   u
         from   fnd_user
         where  user_name = UPPER(c_user_name);
Line: 293

          select *
          into   u
          from   fnd_user
          where  user_name = UPPER(c_user_name)
          and    WEB_PASSWORD is not null;
Line: 336

      insert into icx_failures
         (user_name,password,failure_code,failure_date,
          created_by, creation_date, last_updated_by,
         last_update_date, last_update_login)
      values
         (c_user_name,-1,
          'ICX_ACCT_EXPIRED',sysdate,
          nvl(u.user_id,-1), sysdate, nvl(u.user_id,-1),
          sysdate, u.user_id);
Line: 365

      insert into icx_failures
         (user_name,password,failure_code,failure_date,
          created_by, creation_date, last_updated_by,
         last_update_date, last_update_login)
      values
         (c_user_name,v_encrypted_psswd,'ICX_SIGNIN_INVALID',sysdate,
          '-1', sysdate, '-1', sysdate, '-1');
Line: 380

         select fnd_message.get into c_error_msg1 from dual;
Line: 461

      insert into icx_failures
         (user_name,password,failure_code,failure_date,
          created_by, creation_date, last_updated_by,
          last_update_date, last_update_login)
      values
         ('-1','-1','ICX_NAVIGATOR',sysdate,
          '-1', sysdate, '-1', sysdate, '-1');
Line: 530

  select UTF8_DATE_LANGUAGE
    from FND_LANGUAGES
   where NLS_LANGUAGE = lang;
Line: 535

  select LOCAL_DATE_LANGUAGE
    from FND_LANGUAGES
   where NLS_LANGUAGE = lang;
Line: 553

    select node_id into l_node_id from fnd_nodes
    where lower(webhost) = l_server_host;
Line: 559

    select node_id into l_node_id from fnd_nodes
    where lower(node_name) = l_server_host;
Line: 564

    select node_id into l_node_id from fnd_nodes
    where server_id = l_server_id;
Line: 598

                select count(*) into l_count_resp_f
                from    FND_SECURITY_GROUPS_VL fsg,
                        fnd_responsibility_vl a,
                        FND_USER_RESP_GROUPS b,
                        FND_APPLICATION fa
         where  b.user_id = p_user_id
         and    b.start_date <= sysdate
         and    (b.end_date is null or b.end_date > sysdate)
         and    b.RESPONSIBILITY_id = a.responsibility_id
         and    b.RESPONSIBILITY_application_id = a.application_id
         and    a.application_id = fa.application_id
         and    a.version in ('4')
         and    a.start_date <= sysdate
         and    (a.end_date is null or a.end_date > sysdate)
         and    b.SECURITY_GROUP_ID = fsg.SECURITY_GROUP_ID;
Line: 614

 select count(*) into l_count_resp_o
 from    FND_SECURITY_GROUPS_VL fsg,
         fnd_responsibility_vl a,
         FND_USER_RESP_GROUPS b,
         FND_APPLICATION fa
 where  b.user_id = p_user_id
 and    b.start_date <= sysdate
 and    (b.end_date is null or b.end_date > sysdate)
 and    b.RESPONSIBILITY_id = a.responsibility_id
 and    b.RESPONSIBILITY_application_id = a.application_id
 and    a.application_id = fa.application_id
 and    a.version in ('W')
 and    a.start_date <= sysdate
 and    (a.end_date is null or a.end_date > sysdate)
 and    b.SECURITY_GROUP_ID = fsg.SECURITY_GROUP_ID;
Line: 670

     SELECT user_id
       INTO l_guest_user_id
       FROM fnd_user
       WHERE user_name = l_guest_username;
Line: 693

   insert into icx_sessions (
                session_id,
                user_id,
                org_id,
                security_group_id,
                mode_code,
                nls_language,
                language_code,
                pseudo_flag,
                limit_time,
                limit_connects,
                counter,
                first_connect,
                last_connect,
                created_by,
                creation_date,
                last_updated_by,
                last_update_date,
                last_update_login,
                date_format_mask,
                nls_numeric_characters,
                nls_date_language,
                nls_sort,
                nls_territory,
                disabled_flag,
                node_id,
                login_id,
                MAC_KEY,
                ENC_KEY,
                XSID,
                TIME_OUT,
                GUEST,
                DISTRIBUTED)
       values (
                p_session_id,
                p_user_id,
                l_org_id,
                icx_sec.g_security_group_id,
                c_mode_code,
                l_language,
                l_language_code,
                p_pseudo_flag,
                l_limit_time,
                l_limit_connects,
                0,
                sysdate,
                sysdate,
                p_user_id,
                sysdate,
                p_user_id,
                sysdate,
                p_user_id,
                l_date_format,
                l_numeric_characters,
                l_date_language,
                l_nls_sort,
                l_nls_territory,
                'N',
                l_node_id,
                g_p_loginID,
                fnd_crypto.RandomBytes(20),
                fnd_crypto.RandomBytes(32),
                l_XSID,
                l_timeout,
                l_guest,
                l_dist);
Line: 796

     select server_id into l_server_id from fnd_nodes
     where server_id = p_server_id;
Line: 802

     icx_sec.g_security_group_id := c_sec_grp_id;   --mputman hosted update
Line: 847

  insert into icx_transactions (
    TRANSACTION_ID,
    SESSION_ID,
    RESPONSIBILITY_APPLICATION_ID,
    RESPONSIBILITY_ID,
    SECURITY_GROUP_ID,
    MENU_ID,
    FUNCTION_ID,
    FUNCTION_TYPE,
    PAGE_ID,
    LAST_CONNECT,
    DISABLED_FLAG,
    CREATED_BY,
    CREATION_DATE,
    LAST_UPDATED_BY,
    LAST_UPDATE_DATE)
  values (
    icx_transactions_s.nextval,
    p_session_id,
    p_resp_appl_id,
    p_responsibility_id,
    p_security_group_id,
    p_menu_id,
    p_function_id,
    p_function_type,
    p_page_id,
    sysdate,
    'N',
    icx_sec.g_user_id,
    sysdate,
    icx_sec.g_user_id,
    sysdate)
    returning transaction_id into l_transaction_id;
Line: 918

    select node_id into l_node_id from fnd_nodes
    where lower(webhost) = l_server_host;
Line: 924

    select node_id into l_node_id from fnd_nodes
    where lower(node_name) = (l_server_host);
Line: 930

    select node_id into l_node_id from fnd_nodes
    where server_id = l_server_id;
Line: 955

  update ICX_TRANSACTIONS
  set    DISABLED_FLAG = 'Y'
  where  TRANSACTION_ID = p_transaction_id;
Line: 1076

      insert into icx_failures
         (user_name,password,failure_code,failure_date,
          created_by, creation_date, last_updated_by,
          last_update_date, last_update_login)
      values
         ('-1','-1','ICX_DATA_INCORRECT',sysdate,
          '-1', sysdate, '-1', sysdate, '-1');
Line: 1093

                             p_update_context in varchar2)
                            return BOOLEAN is

l_session_id        number;
Line: 1117

select HOME_URL,
       WEBMASTER_EMAIL,
       QUERY_SET,
       MAX_ROWS,
       SESSION_COOKIE_DOMAIN,       --mputman added 1574527
       SESSION_COOKIE_NAME,          --mputman added 1574527
       WINDOW_COOKIE_NAME

into   icx_sec.g_home_url,
       icx_sec.g_webmaster_email,
       icx_sec.g_query_set,
       icx_sec.g_max_rows,
       icx_sec.g_session_cookie_domain,  --mputman added 1574527
       icx_sec.g_session_cookie_name,     --mputman added 1574527
       icx_sec.g_window_cookie_name
from   ICX_PARAMETERS;
Line: 1141

    select RESPONSIBILITY_ID, MENU_ID, ENTRY_SEQUENCE
    into   l_responsibility_id, l_menu_id, l_entry_sequence
    from   ICX_PAGE_PLUGS
    where  PLUG_ID = p_plug_id;
Line: 1148

        select FUNCTION_ID
        into   l_function_id
        from   FND_FORM_FUNCTIONS
        where  FUNCTION_ID = l_entry_sequence
        and    FUNCTION_NAME = 'ICX_NAVIGATE_PLUG';
Line: 1157

        select ipe.RESPONSIBILITY_APPLICATION_ID,
               ipe.SECURITY_GROUP_ID,
               ipe.RESPONSIBILITY_ID,
               fff.FUNCTION_ID
        into   l_resp_appl_id,
               l_security_group_id,
               l_responsibility_id,
               l_function_id
        from   FND_FORM_FUNCTIONS fff,
               FND_MENU_ENTRIES fme,
               ICX_PAGE_PLUGS ipe
        where  ipe.PLUG_ID = p_plug_id
        and    fme.MENU_ID = ipe.MENU_ID
        and    fme.ENTRY_SEQUENCE = ipe.ENTRY_SEQUENCE
        and    fme.function_id = fff.function_id;
Line: 1179

                           c_update => FALSE);
Line: 1181

    if l_validate and p_update_context = 'Y'
    then
        l_org_id := '';
Line: 1185

        select multi_org_flag
        into   l_multi_org_flag
        from   fnd_product_groups
        where  rownum < 2;
Line: 1200

        update  ICX_SESSIONS
        set     RESPONSIBILITY_APPLICATION_ID = l_resp_appl_id,
                RESPONSIBILITY_ID = l_responsibility_id,
                SECURITY_GROUP_ID = l_security_group_id,
                ORG_ID = l_org_id,
                FUNCTION_ID = l_function_id,
                LAST_CONNECT = sysdate,
                COUNTER = COUNTER +1
        where   SESSION_ID = l_session_id;
Line: 1211

    end if; -- p_update_context = 'Y'
Line: 1257

  select NLS_LANGUAGE,
         LANGUAGE_CODE, DATE_FORMAT_MASK,
         NLS_NUMERIC_CHARACTERS, NLS_DATE_LANGUAGE,
         NLS_SORT, NLS_TERRITORY,
         USER_ID,
         RESPONSIBILITY_APPLICATION_ID,
         SECURITY_GROUP_ID,
         RESPONSIBILITY_ID
         into
         icx_sec.g_language,
         icx_sec.g_language_code, icx_sec.g_date_format,
         icx_sec.g_numeric_characters, icx_sec.g_date_language,
         icx_sec.g_nls_sort, icx_sec.g_nls_territory,
         icx_sec.g_user_id,
         icx_sec.g_resp_appl_id,
         icx_sec.g_security_group_id,
         icx_sec.g_responsibility_id
   from  ICX_SESSIONS
  where SESSION_ID = p_session_id;
Line: 1318

    select parameter, value
    from   v$nls_parameters
    where  parameter in ('NLS_LANGUAGE','NLS_DATE_LANGUAGE','NLS_SORT',
                         'NLS_TERRITORY','NLS_DATE_FORMAT',
                         'NLS_NUMERIC_CHARACTERS')
    order by parameter;
Line: 1328

        select node_id into c_node_id from icx_sessions
        where  user_id = p_user_id and session_id = g_session_id;
Line: 1472

                                 c_update             in boolean,
                                 c_responsibility_id  in number,
                                 c_function_id        in number,
                                 c_resp_appl_id       in number,
                                 c_security_group_id  in number,
                                 c_validate_mode_on   in varchar2,
                                 c_transaction_id    in number)
                                return BOOLEAN
is
        c_user_name
                varchar2(30);
Line: 1538

  select NLS_LANGUAGE, LANGUAGE_CODE, DATE_FORMAT_MASK,
         NLS_NUMERIC_CHARACTERS, NLS_DATE_LANGUAGE,
         NLS_SORT, NLS_TERRITORY,
         LIMIT_CONNECTS, LIMIT_TIME,
         FIRST_CONNECT, COUNTER,
         nvl(DISABLED_FLAG,'N'), nvl(PSEUDO_FLAG,'N'),
         USER_ID,
         nvl(c_resp_appl_id,RESPONSIBILITY_APPLICATION_ID),
         nvl(c_security_group_id,SECURITY_GROUP_ID),
         nvl(c_responsibility_id,RESPONSIBILITY_ID),
         nvl(c_function_id,FUNCTION_ID),
         FUNCTION_TYPE,
         MENU_ID,
         PAGE_ID,
         ORG_ID, MODE_CODE, LAST_CONNECT,
         login_id  --mputman added 2020952
  into   icx_sec.g_language, icx_sec.g_language_code, icx_sec.g_date_format,
         icx_sec.g_numeric_characters, icx_sec.g_date_language,
         icx_sec.g_nls_sort,icx_sec.g_nls_territory,
         n_limit_connects, n_limit_time,
         d_first_connect_time,n_counter,
         c_disabled_flag, c_pseudo_session,
         icx_sec.g_user_id,
         icx_sec.g_resp_appl_id,
         icx_sec.g_security_group_id,
         icx_sec.g_responsibility_id,
         icx_sec.g_function_id,
         icx_sec.g_function_type,
         icx_sec.g_menu_id,
         icx_sec.g_page_id,
         c_org_id, icx_sec.g_mode_code,
         l_last_connect,
         icx_sec.g_login_id  --mputman added 2020952

  from  ICX_SESSIONS
  where SESSION_ID = icx_sec.g_session_id;
Line: 1578

    select TRANSACTION_ID,
           nvl(c_resp_appl_id,RESPONSIBILITY_APPLICATION_ID),
           nvl(c_responsibility_id,RESPONSIBILITY_ID),
           nvl(c_security_group_id,SECURITY_GROUP_ID),
           MENU_ID,
           nvl(c_function_id,FUNCTION_ID),
           FUNCTION_TYPE,
           PAGE_ID
    into   icx_sec.g_transaction_id,
           icx_sec.g_resp_appl_id,
           icx_sec.g_responsibility_id,
           icx_sec.g_security_group_id,
           icx_sec.g_menu_id,
           icx_sec.g_function_id,
           icx_sec.g_function_type,
           icx_sec.g_page_id
    from   ICX_TRANSACTIONS
    where  TRANSACTION_ID = c_transaction_id
    and    SESSION_ID = icx_sec.g_session_id
    and    DISABLED_FLAG <> 'Y'; --reordered select for bug #2389169 mputman
Line: 1603

     select  language_code
     into    icx_sec.g_language_code
     from    fnd_languages
     where   nls_language = icx_sec.g_language;
Line: 1707

    select multi_org_flag
    into   l_multi_org_flag
    from   fnd_product_groups
    where  rownum < 2;
Line: 1794

        if c_update
        then
            update icx_sessions
            set    last_connect  = sysdate,
                   counter = counter + 1
            where  session_id = icx_sec.g_session_id;
Line: 1825

                 update icx_sessions
                    set disabled_flag = 'Y'
                  where session_id = g_session_id;
Line: 1849

                 SELECT user_name
                    INTO c_user_name
                     FROM fnd_user
                    WHERE user_id=g_user_id;
Line: 1965

           SELECT user_id
              INTO l_user_id
              FROM fnd_user
              WHERE user_name = l_anon_name;
Line: 1989

           SELECT user_id
              INTO l_user_id
              FROM fnd_user
              WHERE user_name = l_anon_name;
Line: 2014

              select substr(c_error_msg,12,512) into c_display_error from dual;
Line: 2026

                 update icx_sessions
                    set disabled_flag = 'Y'
                  where session_id = g_session_id;
Line: 2052

                 update icx_sessions
                    set disabled_flag = 'Y'
                  where session_id = g_session_id;
Line: 2069

                                 c_update            in boolean,
                                 c_responsibility_id in number,
                                 c_function_id       in number,
                                 c_resp_appl_id      in number,
                                 c_security_group_id in number,
                                 c_validate_mode_on  in varchar2,
                                 c_encrypted_transaction_id in varchar2,
                                 session_id             out NOCOPY number,
                                 transaction_id         out NOCOPY number,
                                 user_id                out NOCOPY number,
                                 responsibility_id      out NOCOPY number,
                                 resp_appl_id           out NOCOPY number,
                                 security_group_id      out NOCOPY number,
                                 language_code          out NOCOPY varchar2,
                                 nls_language           out NOCOPY varchar2,
                                 date_format_mask       out NOCOPY varchar2,
                                 nls_date_language      out NOCOPY varchar2,
                                 nls_numeric_characters out NOCOPY varchar2,
                                 nls_sort               out NOCOPY varchar2,
                                 nls_territory          out NOCOPY varchar2)
                                return BOOLEAN is

l_result         boolean;
Line: 2116

               c_update => c_update,
               c_responsibility_id => c_responsibility_id,
               c_function_id => c_function_id,
               c_resp_appl_id => c_resp_appl_id,
               c_security_group_id => c_security_group_id,
               c_validate_mode_on => c_validate_mode_on,
               c_transaction_id => l_transaction_id);
Line: 2164

   update icx_sessions
      set    last_connect  = sysdate
      where  session_id = p_session_id;
Line: 2176

   update icx_sessions
      set    last_connect  = sysdate
      where  session_id = p_session_id;
Line: 2215

   select LIMIT_CONNECTS, LIMIT_TIME,
         FIRST_CONNECT, COUNTER,
         nvl(DISABLED_FLAG,'N'),
         LAST_CONNECT, user_id,
         nvl(p_resp_id,RESPONSIBILITY_ID),
         nvl(p_app_resp_id,RESPONSIBILITY_APPLICATION_ID)
  into   n_limit_connects, n_limit_time,
         d_first_connect_time,n_counter,
         c_disabled_flag,
         l_last_connect, l_user_id,
         l_resp_id, l_app_resp_id
  from  ICX_SESSIONS
  where SESSION_ID = p_session_id;
Line: 2291

                          c_update             in boolean,
                          c_validate_mode_on   in varchar2)
                         return BOOLEAN is

v_cookie_session        owa_cookie.cookie;
Line: 2336

                c_update => c_update,
                c_validate_mode_on => c_validate_mode_on));
Line: 2355

                 update icx_sessions
                    set disabled_flag = 'Y'
                  where session_id = n_session_id;
Line: 2377

                 update icx_sessions
                    set disabled_flag = 'Y'
                  where session_id = n_session_id;
Line: 2410

      update icx_sessions
         set disabled_flag = 'Y'
       where session_id = l_session_id;
Line: 2415

      update icx_sessions
         set disabled_flag = 'Y'
       where session_id = l_session_id
         and user_id = c_user_id;
Line: 2449

           update icx_sessions
              set disabled_flag = 'Y'
            where session_id = n_session_id;
Line: 2489

        select icx_audit_s.nextval
        into c_audit_id
        from sys.dual;
Line: 2518

        Insert into icx_audit
        (audit_id,session_id,
         SERVER_NAME,SERVER_PORT,SCRIPT_NAME,
        PATH_INFO,connect_date,
         created_by, creation_date, last_updated_by, last_update_date)
        values
        (c_audit_id,c_session_id,c_server_name,c_server_port,c_script_name,
        c_path_info, sysdate,
        1, sysdate, 1, sysdate);
Line: 2553

   select varchar2_value
     from ak_web_user_sec_attr_values
    where attribute_code = upper(p_attri_code)
      and web_user_id    = l_user_id;
Line: 2581

      select a.user_id
        into l_user_id
        from icx_sessions a
       where session_id = n_session_id;
Line: 2634

   select date_value
     from ak_web_user_sec_attr_values
    where attribute_code = upper(p_attri_code)
      and web_user_id    = l_user_id;
Line: 2664

      select a.user_id
        into l_user_id
        from icx_sessions a
       where session_id = n_session_id;
Line: 2672

         select date_format_mask
           into v_date_format
           from icx_sessions
          where session_id = n_session_id;
Line: 2723

   select number_value
     from ak_web_user_sec_attr_values
    where attribute_code = upper(p_attri_code)
      and web_user_id    = l_user_id;
Line: 2753

      select a.user_id
        into l_user_id
        from icx_sessions a
       where session_id = n_session_id;
Line: 2804

   select a.user_id
     into n_user_id
     from icx_sessions a
    where  a.session_id = n_session_id;
Line: 2812

      select  CUSTOMER_ID, SUPPLIER_ID, EMPLOYEE_ID
        into    n_customer_contact_id, n_vendor_contact_id, n_internal_contact_id
        from    fnd_user
       where    user_id = n_user_id;
Line: 2862

      update icx_sessions
         set org_id = n_org_id
       where session_id = n_session_id;
Line: 2927

       select session_id
       into l_session_id
       from icx_sessions
       where session_id = n_session_id;
Line: 2969

         select  b.USER_NAME
           into  n_id
           from  icx_sessions a,
                 fnd_user b
          where  b.user_id = a.user_id
            and  a.session_id  = n_session_id;
Line: 3040

         select  mode_code
           into  n_id
           from  icx_sessions
          where  session_id = n_session_id;
Line: 3058

          select        LANGUAGE_CODE
          into          n_id
          from          FND_LANGUAGES
          where         INSTALLED_FLAG = 'B';
Line: 3065

        select value
          into n_id
          from v$nls_parameters
         where parameter = 'NLS_DATE_FORMAT';
Line: 3071

   n_id:=getNLS_PARAMETER('NLS_DATE_FORMAT'); -- replaces above select mputman 1574527
Line: 3131

   select  a.responsibility_name
     from
           --FND_SECURITY_GROUPS_VL fsg, -- mputman per 2018060
           fnd_responsibility_vl a,
           FND_USER_RESP_GROUPS b
    where  b.user_id = c_user_id
    and    b.start_date <= sysdate
    and    (b.end_date is null or b.end_date > sysdate)
    and    b.RESPONSIBILITY_id = a.responsibility_id
    and    b.RESPONSIBILITY_application_id = a.application_id
    and    a.application_id = NVL(c_application_id, a.application_id)
    and    a.version in ('W','4')
    and    a.start_date <= sysdate
    and    (a.end_date is null or a.end_date > sysdate)
    --and    b.SECURITY_GROUP_ID = fsg.SECURITY_GROUP_ID  -- mputman per 2018060
 order by responsibility_name;
Line: 3188

    delete ICX_SESSION_ATTRIBUTES
    where  SESSION_ID = l_session_id
    and    NAME = l_name;
Line: 3192

    insert into ICX_SESSION_ATTRIBUTES
    (SESSION_ID,NAME,VALUE)
    values
    (l_session_id,l_name,p_value);
Line: 3228

    select VALUE
    into   l_value
    from   ICX_SESSION_ATTRIBUTES
    where  SESSION_ID = l_session_id
    and    NAME = l_name;
Line: 3268

    delete ICX_SESSION_ATTRIBUTES
    where  SESSION_ID = l_session_id
    and    NAME = l_name;
Line: 3294

select HOME_URL,
       WEBMASTER_EMAIL,
       QUERY_SET,
       MAX_ROWS,
       SESSION_COOKIE_DOMAIN,       --mputman added 1574527
       SESSION_COOKIE_NAME,          --mputman added 1574527
       WINDOW_COOKIE_NAME

into   icx_sec.g_home_url,
       icx_sec.g_webmaster_email,
       icx_sec.g_query_set,
       icx_sec.g_max_rows,
       icx_sec.g_session_cookie_domain,  --mputman added 1574527
       icx_sec.g_session_cookie_name,     --mputman added 1574527
       icx_sec.g_window_cookie_name
from   ICX_PARAMETERS;
Line: 3390

select HOME_URL,
       WEBMASTER_EMAIL,
       QUERY_SET,
       MAX_ROWS,
       SESSION_COOKIE_DOMAIN,       --mputman added 1574527
       SESSION_COOKIE_NAME,          --mputman added 1574527
       WINDOW_COOKIE_NAME

into   icx_sec.g_home_url,
       icx_sec.g_webmaster_email,
       icx_sec.g_query_set,
       icx_sec.g_max_rows,
       icx_sec.g_session_cookie_domain,  --mputman added 1574527
       icx_sec.g_session_cookie_name,     --mputman added 1574527
       icx_sec.g_window_cookie_name
from   ICX_PARAMETERS;
Line: 3458

      select SESSION_COOKIE_NAME
      into   l_session_cookie_name
      from   ICX_PARAMETERS;
Line: 3499

      select SESSION_COOKIE_DOMAIN
      into   l_session_cookie_domain
      from   ICX_PARAMETERS;
Line: 3582

     select FUNCTION_ID
     into   l_function_id
     from   FND_FORM_FUNCTIONS
     where  FUNCTION_NAME = p_function_name;
Line: 3689

procedure updateSessionContext( p_function_name          varchar2,
                                p_function_id            number,
                                p_application_id         number,
                                p_responsibility_id      number,
                                p_security_group_id      number,
                                p_session_id             number,
                                p_transaction_id         number)
          is

l_session_id            number;
Line: 3716

    select FUNCTION_ID, TYPE
    into   l_function_id, l_function_type
    from   FND_FORM_FUNCTIONS
    where  FUNCTION_NAME = p_function_name;
Line: 3722

    select FUNCTION_ID, TYPE
    into   l_function_id, l_function_type
    from   FND_FORM_FUNCTIONS
    where  FUNCTION_ID = p_function_id;
Line: 3731

  select multi_org_flag
  into   l_multi_org_flag
  from   fnd_product_groups
  where  rownum < 2;
Line: 3746

  update ICX_SESSIONS
  set    RESPONSIBILITY_APPLICATION_ID = p_application_id,
         RESPONSIBILITY_ID = p_responsibility_id,
         SECURITY_GROUP_ID = p_security_group_id,
         ORG_ID = l_org_id,
         FUNCTION_ID = l_function_id,
         FUNCTION_TYPE = l_function_type
  where SESSION_ID = l_session_id;
Line: 3758

    update ICX_TRANSACTIONS
    set  RESPONSIBILITY_APPLICATION_ID = p_application_id,
         RESPONSIBILITY_ID = p_responsibility_id,
         SECURITY_GROUP_ID = p_security_group_id,
         FUNCTION_ID = l_function_id,
         FUNCTION_TYPE = l_function_type
    where SESSION_ID = l_session_id
    and   TRANSACTION_ID = p_transaction_id;
Line: 3771

end updateSessionContext;
Line: 3835

select  web_host_name,web_agent_name,web_html_call,web_encrypt_parameters
into    l_web_host_name,l_web_agent_name,l_web_html_call,l_web_encrypt_parameters
from    fnd_form_functions
where   FUNCTION_NAME = p_function_code
and     WEB_SECURED = 'Y';
Line: 3985

        select upper(value)
          into requested_val
          from v$nls_parameters
         where parameter = p_param;
Line: 4009

      UPDATE icx_sessions
         SET

          NLS_LANGUAGE=p_language,
          DATE_FORMAT_MASK=p_date_format_mask,
          LANGUAGE_CODE=p_language_code,
          NLS_DATE_LANGUAGE=p_date_language,
          NLS_NUMERIC_CHARACTERS=p_numeric_characters,
          NLS_SORT=p_sort,
          NLS_TERRITORY=p_territory
         WHERE session_id=p_session_id;
Line: 4081

                     select 'Y'
                       into  l_expired
                       from  FND_USER
                      where  USER_NAME = UPPER(i_1)
                        and    (PASSWORD_DATE is NULL or
                               (PASSWORD_LIFESPAN_ACCESSES is not NULL and
                                 nvl(PASSWORD_ACCESSES_LEFT, 0) < 1) or
                               (PASSWORD_LIFESPAN_DAYS is not NULL and
                               SYSDATE >= PASSWORD_DATE + PASSWORD_LIFESPAN_DAYS));
Line: 4102

                select *
                into   u
                from   fnd_user
                where  user_name = UPPER(i_1);
Line: 4115

                      UPDATE icx_sessions
                         SET
                         disabled_flag='N',
                         last_connect=SYSDATE,
                         counter=0,
                         first_connect=SYSDATE,
                         xsid=l_new_xsid
                         WHERE
                         session_id=l_session_id;
Line: 4155

                  insert into icx_failures
                     (user_name,password,failure_code,failure_date,
                      created_by, creation_date, last_updated_by,
                     last_update_date, last_update_login)
                  values
                     (i_1,-1,
                 'ICX_ACCT_EXPIRED',sysdate,
                      nvl(u.user_id,-1), sysdate, nvl(u.user_id,-1),
                      sysdate, u.user_id);
Line: 4181

                  insert into icx_failures
                     (user_name,password,failure_code,failure_date,
                      created_by, creation_date, last_updated_by,
                     last_update_date, last_update_login)
                  values
                     (i_1,v_encrypted_psswd,'ICX_SIGNIN_INVALID',sysdate,
                      '-1', sysdate, '-1', sysdate, '-1');
Line: 4314

      SELECT user_name
         INTO l_user_name
         FROM fnd_user
         WHERE user_id=l_user_id;
Line: 4327

   SELECT substrb(parameters,(instrb(parameters,'=',1)+1))
         INTO l_except_ids
         FROM wf_event_subscriptions
         WHERE guid=p_guid;
Line: 4346

   UPDATE icx_sessions
      SET disabled_flag='Y'
      WHERE user_id = l_user_id
      AND session_id <> l_session_id
      AND mode_code = '115P';
Line: 4380

select fnd_logins_s.nextval
  into l_login_id
  from sys.dual;
Line: 4399

   UPDATE icx_sessions
      SET disabled_flag='Y'
      WHERE
      (((SYSDATE-first_connect)*24*60)> threshold);
Line: 4428

    SELECT user_id
      INTO l_anon_user_id
      FROM fnd_user
      WHERE user_name = l_anon_name;
Line: 4440

  select count(*)
  INTO n_hits
  from FND_FORM_FUNCTIONS a,
  fnd_menu_entries_vl b,
  fnd_responsibility_vl c,
  fnd_user_resp_groups d,
  fnd_security_groups_vl e
  where d.user_id = l_anon_user_id
  AND a.function_id = p_func_id
  and b.function_id = a.function_id
  and d.responsibility_application_id = c.application_id
  and b.MENU_ID = c.MENU_ID
  and c.responsibility_id = d.responsibility_id
  and type in ('WWW','WWK','JSP','SERVLET', 'INTEROPJSP')
  and d.start_date <= sysdate
  and (d.end_date is null or d.end_date > sysdate)
  and d.SECURITY_GROUP_ID = e.SECURITY_GROUP_ID
  and prompt is not null
  and nvl(a.function_id,-1) not IN
         (select ACTION_ID
          from   FND_RESP_FUNCTIONS
          where  RESPONSIBILITY_ID = c.responsibility_id
          and    APPLICATION_ID    = d.responsibility_application_id)
  and nvl(SUB_MENU_ID,-1) not IN -- submenu exclusions 2029055
         (select ACTION_ID
          from   FND_RESP_FUNCTIONS
          where  RESPONSIBILITY_ID = c.responsibility_id
          and    APPLICATION_ID    = d.responsibility_application_id);
Line: 4555

   select UTF8_DATE_LANGUAGE
     from FND_LANGUAGES
    where NLS_LANGUAGE = lang;
Line: 4560

   select LOCAL_DATE_LANGUAGE
     from FND_LANGUAGES
    where NLS_LANGUAGE = lang;
Line: 4576

         select upper(value)
           into l_language
           from v$nls_parameters
          where parameter = 'NLS_LANGUAGE';
Line: 4580

     */ -- removed select 1574527 mputman

        l_language:=getNLS_PARAMETER('NLS_LANGUAGE'); -- replaces above select mputman 1574527
Line: 4586

     select language_code
       into l_language_code
       from fnd_languages
      where nls_language = l_language;
Line: 4598

         select  upper(value)
           into  l_nls_sort
           from  v$nls_parameters
          where  parameter = 'NLS_SORT';
Line: 4603

    l_nls_sort:=getNLS_PARAMETER('NLS_SORT'); -- replaces above select mputman 1574527
Line: 4615

         select  upper(value)
           into  l_date_format
           from  v$nls_parameters
          where  parameter = 'NLS_DATE_FORMAT';
Line: 4620

       l_date_format:=getNLS_PARAMETER('NLS_DATE_FORMAT'); -- replaces above select mputman 1574527
Line: 4664

         select upper(value)
           into l_numeric_characters
           from v$nls_parameters
          where parameter = 'NLS_NUMERIC_CHARACTERS';
Line: 4669

       l_numeric_characters:=getNLS_PARAMETER('NLS_NUMERIC_CHARACTERS'); -- replaces above select mputman 1574527
Line: 4680

         select upper(value)
           into l_nls_territory
           from v$nls_parameters
          where parameter = 'NLS_TERRITORY';
Line: 4685

    l_nls_territory:=getNLS_PARAMETER('NLS_TERRITORY'); -- replaces above select mputman 1574527
Line: 4715

    select multi_org_flag
      into l_multi_org_flag
      from fnd_product_groups
     where rownum < 2;