DBA Data[Home] [Help]

APPS.ORACLEPLUGS SQL Statements

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

Line: 31

    select HSECS into l_hsecs from V$TIMER;
Line: 45

select  prompt,
        description,
        sub_menu_id,
	entry_sequence
from    fnd_menu_entries_vl
where   menu_id = p_object.parent_menu_id
and	sub_menu_id is not null
order by entry_sequence;
Line: 55

select  b.prompt,
        b.description,
        b.function_id,
        b.entry_sequence,
	a.type
from    fnd_form_functions a,
	fnd_menu_entries_vl b
where   b.menu_id = p_object.parent_menu_id
and	a.function_id = b.function_id
and     a.type = p_object.function_type
order by entry_sequence;
Line: 69

select  count(*)
into    l_count
from    fnd_menu_entries
where   menu_id = p_object.parent_menu_id
and     sub_menu_id is not null;
Line: 164

        var temp=parent.opener.parent.document.'||Z||'.C.selectedIndex;
Line: 170

        var temp=parent.opener.parent.document.'||Z||'.C.selectedIndex;
Line: 237

select COLOR_SCHEME
into   l_color_scheme
from   ICX_PAGE_COLOR_SCHEME
where  USER_ID = icx_sec.g_user_id;
Line: 265

l_selected number;
Line: 271

select nvl(REFRESH_RATE,0)
into   l_selected
from   ICX_PAGES
where  USER_ID = icx_sec.g_user_id
and    PAGE_ID = p_page_id;
Line: 278

htp.formSelectOpen('O');
Line: 280

  if l_selected = l_lookup_codes(i)
  then
    htp.formSelectOption(l_lookup_meanings(i),'CHECKED','VALUE="'||l_lookup_codes(i)||'"');
Line: 284

    htp.formSelectOption(l_lookup_meanings(i),'','VALUE="'||l_lookup_codes(i)||'"');
Line: 287

htp.formSelectClose;
Line: 331

select  b.responsibility_application_id,
        b.security_group_id,
        a.responsibility_id,
        a.responsibility_name,
	a.menu_id,
        c.entry_sequence,
        c.prompt,
        c.description,
        d.function_id,
        d.type
from    fnd_form_functions d,
        fnd_menu_entries_vl c,
        fnd_responsibility_vl a,
        FND_USER_RESP_GROUPS b
where   b.user_id = icx_sec.g_user_id
and     b.start_date <= sysdate
and     (b.end_date is null or b.end_date > sysdate)
and     b.RESPONSIBILITY_application_id = a.application_id
and     b.responsibility_id = a.responsibility_id
and     a.version = 'W'
and     a.start_date <= sysdate
and     (a.end_date is null or a.end_date > sysdate)
and     a.menu_id = c.menu_id
and     c.function_id = d.function_id
and     d.type in ('WWL','WWLG')
and     d.function_name <> 'ICX_NAVIGATE_PLUG'
order by prompt;
Line: 360

select  b.responsibility_application_id,
        b.security_group_id,
        a.responsibility_id,
        a.responsibility_name,
        a.menu_id,
        c.entry_sequence,
        c.prompt,
        c.description,
        d.function_id,
        d.type
from    fnd_form_functions d,
        fnd_menu_entries_vl c,
        fnd_responsibility_vl a,
        FND_USER_RESP_GROUPS b
where   b.user_id = icx_sec.g_user_id
and     b.start_date <= sysdate
and     (b.end_date is null or b.end_date > sysdate)
and     b.RESPONSIBILITY_application_id = a.application_id
and     b.responsibility_id = a.responsibility_id
and     a.version = 'W'
and     a.start_date <= sysdate
and     (a.end_date is null or a.end_date > sysdate)
and     a.menu_id = c.menu_id
and     c.function_id = d.function_id
and     d.type in ('WWR','WWRG')
order by prompt;
Line: 388

select b.DISPLAY_SEQUENCE,b.PLUG_ID,b.RESPONSIBILITY_ID,
       b.RESPONSIBILITY_APPLICATION_ID,b.SECURITY_GROUP_ID,
       b.MENU_ID,b.ENTRY_SEQUENCE,nvl(b.DISPLAY_NAME,c.PROMPT) prompt,
       c.DESCRIPTION
from   fnd_responsibility e,
       FND_USER_RESP_GROUPS d,
       FND_FORM_FUNCTIONS a,
       FND_MENU_ENTRIES_VL c,
       ICX_PAGE_PLUGS b
where  b.PAGE_ID = l_page_id
and   b.MENU_ID = c.MENU_ID
and    b.ENTRY_SEQUENCE = c.ENTRY_SEQUENCE
and    c.FUNCTION_ID = a.FUNCTION_ID
and    a.type in ('WWL','WWLG')
and    b.RESPONSIBILITY_ID = d.RESPONSIBILITY_ID
and    d.user_id = icx_sec.g_user_id
and    d.start_date <= sysdate
and    (d.end_date is null or d.end_date > sysdate)
and    b.RESPONSIBILITY_ID = e.RESPONSIBILITY_ID
and    e.start_date <= sysdate
and    (e.end_date is null or e.end_date > sysdate)
union all
select b.DISPLAY_SEQUENCE,b.PLUG_ID,b.RESPONSIBILITY_ID,
       b.RESPONSIBILITY_APPLICATION_ID,b.SECURITY_GROUP_ID,
       b.MENU_ID,b.ENTRY_SEQUENCE,nvl(b.DISPLAY_NAME,a.USER_FUNCTION_NAME) prompt,
       a.DESCRIPTION
from   FND_FORM_FUNCTIONS_VL a,
       ICX_PAGE_PLUGS b
where  b.PAGE_ID = l_page_id
and    b.MENU_ID = -1
and    b.ENTRY_SEQUENCE = a.FUNCTION_ID
and    a.type in ('WWL','WWLG')
order by 1;
Line: 423

select b.DISPLAY_SEQUENCE,b.PLUG_ID,b.RESPONSIBILITY_ID,
       b.RESPONSIBILITY_APPLICATION_ID,b.SECURITY_GROUP_ID,
       b.MENU_ID,b.ENTRY_SEQUENCE,nvl(b.DISPLAY_NAME,c.PROMPT) prompt,
       c.DESCRIPTION
from   fnd_responsibility e,
       FND_USER_RESP_GROUPS d,
       FND_FORM_FUNCTIONS a,
       FND_MENU_ENTRIES_VL c,
       ICX_PAGE_PLUGS b
where  b.PAGE_ID = l_page_id
and    b.MENU_ID = c.MENU_ID
and    b.ENTRY_SEQUENCE = c.ENTRY_SEQUENCE
and    c.FUNCTION_ID = a.FUNCTION_ID
and    a.type in ('WWR','WWRG')
and    b.RESPONSIBILITY_ID = d.RESPONSIBILITY_ID
and    d.user_id = icx_sec.g_user_id
and    d.start_date <= sysdate
and    (d.end_date is null or d.end_date > sysdate)
and    b.RESPONSIBILITY_ID = e.RESPONSIBILITY_ID
and    e.start_date <= sysdate
and    (e.end_date is null or e.end_date > sysdate)
order by b.DISPLAY_SEQUENCE;
Line: 460

        select PAGE_ID
        into   l_page_id
        from   ICX_PAGES
        where  USER_ID = icx_sec.g_user_id;
Line: 488

    fnd_message.set_name('ICX','ICX_OBIS_SELECT_OPTION');
Line: 491

    htp.p('function selectFrom() {
        alert("'||l_message||'")
        }');
Line: 496

        var temp=document.Left.B.selectedIndex;
Line: 499

          selectFrom();
Line: 509

            document.Left.C.selectedIndex = end;
Line: 516

        var temp=document.Right.B.selectedIndex;
Line: 519

          selectFrom();
Line: 529

            document.Right.C.selectedIndex = end;
Line: 536

    fnd_message.set_name('ICX','ICX_OBIS_SELECT_SELECTION');
Line: 539

    htp.p('function selectTo() {
        alert("'||l_message||'")
        }');
Line: 544

        var temp=document.Left.C.selectedIndex;
Line: 550

	  selectTo();
Line: 557

          document.Left.C.selectedIndex = temp-1;
Line: 562

        var temp=document.Right.C.selectedIndex;
Line: 568

          selectTo();
Line: 575

          document.Right.C.selectedIndex = temp-1;
Line: 580

        var temp=document.Left.C.selectedIndex;
Line: 586

          selectTo();
Line: 593

          document.Left.C.selectedIndex = temp+1;
Line: 598

        var temp=document.Right.C.selectedIndex;
Line: 604

          selectTo();
Line: 611

          document.Right.C.selectedIndex = temp+1;
Line: 629

        var temp=document.Left.C.selectedIndex;
Line: 632

          selectTo();
Line: 637

    fnd_message.set_name('ICX','ICX_CANNOT_DELETE_PLUG');
Line: 640

    htp.p('function deleteLeftTo() {
        var temp=document.Left.C.selectedIndex;
Line: 644

          selectTo();
Line: 658

        var temp=document.Right.C.selectedIndex;
Line: 661

          selectTo();
Line: 667

    htp.p('function deleteRightTo() {
        var temp=document.Right.C.selectedIndex;
Line: 671

          selectTo();
Line: 681

        var refresh=document.Right.O.selectedIndex;
Line: 684

            document.updateCustomization.X.value = document.updateCustomization.X.value + "+" + document.Left.C.options[i].value + "@!$#" + document.Left.C.options[i].text;
Line: 686

	document.updateCustomization.X.value = document.updateCustomization.X.value + "+";
Line: 689

            document.updateCustomization.Y.value = document.updateCustomization.Y.value + "+" + document.Right.C.options[i].value + "@!$#" + document.Right.C.options[i].text;
Line: 691

        document.updateCustomization.Y.value = document.updateCustomization.Y.value + "+";
Line: 695

               document.updateCustomization.N.value = document.Right.N[i].value;
Line: 697

        document.updateCustomization.O.value = document.Right.O.options[refresh].value;
Line: 699

        document.updateCustomization.submit();
Line: 712

    htp.formOpen('OraclePlugs.updateCustomization','POST','','','NAME="updateCustomization"');
Line: 742

    htp.p('');
Line: 798

        htp.formSelectOption(cvalue => nvl(l.prompt,l.description),
                             cattributes => 'VALUE = "'||l.responsibility_application_id||'@!$#'||l.security_group_id||'@!$#'||l.responsibility_id||'@!$#'||l.menu_id||'@!$#'||l.entry_sequence||'@!$#'||l.prompt||'@!$#'||l.plug_id||'"');
Line: 801

    htp.formSelectClose;
Line: 810

    htp.p(''); -- Selection
Line: 816

    icx_plug_utilities.buttonBoth(l_prompts(11),'javascript:deleteLeftTo()');
Line: 837

    htp.p('');
Line: 893

        htp.formSelectOption(cvalue => nvl(r.prompt,r.description),
                             cattributes => 'VALUE = "'||r.responsibility_application_id||'@!$#'||r.security_group_id||'@!$#'||r.responsibility_id||'@!$#'||r.menu_id||'@!$#'||r.entry_sequence||'@!$#'||r.prompt||'@!$#'||r.plug_id||'"');
Line: 896

    htp.formSelectClose;
Line: 905

    htp.p(''); -- Selection
Line: 911

    icx_plug_utilities.buttonBoth(l_prompts(11),'javascript:deleteRightTo()');
Line: 968

procedure updateCustomization(X in varchar2,
                              Y in varchar2,
                              Z in pls_integer,
                              N in varchar2 default NULL,
                              O in pls_integer default 0) is

type integerTable is table of number index by binary_integer;
Line: 1031

select *
from   ICX_PAGE_PLUGS
where  PAGE_ID = l_page_id;
Line: 1080

            select ICX_PAGE_PLUGS_S.nextval
            into   l_plug_id(l_index)
            from   sys.dual;
Line: 1089

            insert into ICX_PAGE_PLUGS
            (PLUG_ID,
             PAGE_ID,
             DISPLAY_SEQUENCE,
             RESPONSIBILITY_APPLICATION_ID,
             SECURITY_GROUP_ID,
             RESPONSIBILITY_ID,
             MENU_ID,
             ENTRY_SEQUENCE,
             DISPLAY_NAME,
             CREATION_DATE,CREATED_BY,
             LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN)
            values
            (l_plug_id(l_index),
             l_page_id,
             l_index,
             l_resp_appl_id(l_index),
             l_security_group_id(l_index),
             l_responsibility_id(l_index),
             l_menu_id(l_index),
             l_entry_sequence(l_index),
             l_display_name(l_index),
             sysdate,1,
             sysdate,1,1);
Line: 1116

              update ICX_PAGE_PLUGS
              set DISPLAY_SEQUENCE = l_index,
                  RESPONSIBILITY_APPLICATION_ID = l_resp_appl_id(l_index),
                  SECURITY_GROUP_ID = l_security_group_id(l_index),
                  RESPONSIBILITY_ID = l_responsibility_id(l_index),
                  MENU_ID = l_menu_id(l_index),
                  ENTRY_SEQUENCE = l_entry_sequence(l_index)
              where PAGE_ID = l_page_id
              and   PLUG_ID = l_plug_id(l_index);
Line: 1126

              update ICX_PAGE_PLUGS
              set DISPLAY_SEQUENCE = l_index,
                  RESPONSIBILITY_APPLICATION_ID = l_resp_appl_id(l_index),
                  SECURITY_GROUP_ID = l_security_group_id(l_index),
                  RESPONSIBILITY_ID = l_responsibility_id(l_index),
                  MENU_ID = l_menu_id(l_index),
                  ENTRY_SEQUENCE = l_entry_sequence(l_index),
                  DISPLAY_NAME = l_display_name(l_index)
              where PAGE_ID = l_page_id
              and   PLUG_ID = l_plug_id(l_index);
Line: 1184

            select ICX_PAGE_PLUGS_S.nextval
            into   r_plug_id(l_index)
            from   sys.dual;
Line: 1193

            insert into ICX_PAGE_PLUGS
            (PLUG_ID,
             PAGE_ID,
             DISPLAY_SEQUENCE,
             RESPONSIBILITY_APPLICATION_ID,
             SECURITY_GROUP_ID,
             RESPONSIBILITY_ID,
             MENU_ID,
             ENTRY_SEQUENCE,
             DISPLAY_NAME,
             CREATION_DATE,CREATED_BY,
             LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN)
            values
            (r_plug_id(l_index),
             l_page_id,
             l_index,
             r_resp_appl_id(l_index),
             r_security_group_id(l_index),
             r_responsibility_id(l_index),
             r_menu_id(l_index),
             r_entry_sequence(l_index),
             r_display_name(l_index),
             sysdate,1,
             sysdate,1,1);
Line: 1220

              update ICX_PAGE_PLUGS
              set DISPLAY_SEQUENCE = l_index,
                  RESPONSIBILITY_APPLICATION_ID = r_resp_appl_id(l_index),
                  SECURITY_GROUP_ID = r_security_group_id(l_index),
                  RESPONSIBILITY_ID = r_responsibility_id(l_index),
                  MENU_ID = r_menu_id(l_index),
                  ENTRY_SEQUENCE = r_entry_sequence(l_index)
              where PAGE_ID = l_page_id
              and   PLUG_ID = r_plug_id(l_index);
Line: 1230

              update ICX_PAGE_PLUGS
              set DISPLAY_SEQUENCE = l_index,
                  RESPONSIBILITY_APPLICATION_ID = r_resp_appl_id(l_index),
                  SECURITY_GROUP_ID = r_security_group_id(l_index),
                  RESPONSIBILITY_ID = r_responsibility_id(l_index),
                  MENU_ID = r_menu_id(l_index),
                  ENTRY_SEQUENCE = r_entry_sequence(l_index),
                  DISPLAY_NAME = r_display_name(l_index)
              where PAGE_ID = l_page_id
              and   PLUG_ID = r_plug_id(l_index);
Line: 1276

          select WEB_HTML_CALL
          into   l_plsql_call
          from   FND_FORM_FUNCTIONS a,
                 FND_MENU_ENTRIES b
          where  b.MENU_ID = p.MENU_ID
          and    b.ENTRY_SEQUENCE = p.ENTRY_SEQUENCE
          and    a.FUNCTION_ID = b.FUNCTION_ID;
Line: 1291

          l_plsql_call := l_plsql_call||'(p_session_id => '||l_session_id||', p_plug_id => '||p.plug_id||', p_delete => ''Y'')';
Line: 1302

        delete ICX_PAGE_PLUGS
        where  PAGE_ID = l_page_id
        and    PLUG_ID = p.plug_id;
Line: 1352

    update ICX_PAGE_COLOR_SCHEME
    set TOOLBAR_COLOR = l_toolbar,
        HEADING_COLOR = l_heading,
        BANNER_COLOR = l_banner,
        BACKGROUND_COLOR = l_background,
        COLOR_SCHEME = N
    where USER_ID = l_user_id;
Line: 1360

    update ICX_PAGES
    set REFRESH_RATE = O
    where USER_ID = l_user_id
    and   PAGE_ID = l_page_id;