GetElementById issue with hidden command link

I am having scrollable table whose rows are not editable. This table is in first half of screen. The bottom half of screen displays detail with respect to each row. So say i click on row 1 the bottom screen gets refreshed with details of row1.
When i am clicking a row i am getting javascript error "object expected". Can anyone help me out...i am putting my piece of code below...
<script>
func A()
document.form1.offerid.value = val;
clickLink('hiddenLink');
function clickLink(linkId)
var fireOnThis = document.getElementById(linkId)
fireOnThis.click()
</script>
<h:form id="form1">
<input type="hidden" name="offerid" />
<t:commandLink id="hiddenLink" forceId="true" style="display:none; visibility: hidden;" action="#{TestBean.openClickOffer}"/>
</h:form>

I have tried using fireOnThis.click() but it gave object expected error. The line in generated code where it is giving this error is ....
<a href="# onclick="clear_form1();document.forms['form1'.elements['autoScroll'].value=getScrolling();document.forms['form1'].elements['form1:_link_hidden_'].value='hiddenLink';if(document.forms['form1'].onsubmit){var result=document.forms['form1'].onsubmit(); if( (typeof result == 'undefined') || result ) {document.forms['form1'].submit();}}else{document.forms['form1'].submit();}return false;" id="hiddenLink" style="display:none; visibility: hidden;"></a>
I suspect somehow getElementById(linkId) is not recognising the anchor tag event id ie linkId.....

Similar Messages

  • Issues with using relative links in Captivate 8

    Is anyone else having issues with using relative links in Captivate 8?  These links all used to work in the previous version of Captivate. And I could have sworn this was fixed already once in Captivate 8 but it's popping up again for us. Here is the situation... We have courses that are made up of multiple lessons which as separate Captivate files. Within those lessons are buttons to link to external documents (which live in a shared document folder), demonstrations, etc.  We use relative links because we post these to our amazon servers and we also sell them to clients where they can post them on their own web servers or in their LMS.  SO we can't put in full paths for the links or we'd have to change them constantly.  So an example is that the link for a button might be "../Document/nameofdoc.pdf"  This would be going to a user guide or something that is posted in the "Document" folder that lives at the same level as the lesson's folder. But now, all of the sudden, none of our bazillion links is working. And I've tried buttons, hyperlinks, and even the old click box. Nothing works with relative links. And I did check the permissions on every file and folder on our Amazon server to verify nothing changed there as well.   Any suggestions?

    I have the same issue with relative links using Captivate 8.  I am trying to load Captivate modules into an LMS using relative links to document files within the LMS.  The links work fine during a site page test so not an issue in the LMS, but from the Captivate module they aren't working....
    Help?

  • Hide/Show a Panel group or Panel Box with a command link

    I need to show and hide a panel group/box that has a lot of components inside ..with a command link ...I need to do this with partial submit ....please advise.
    <af:commandLink >
    hide the panel box with all the comps inside it ..change commandlink text ....
    use the same command link to show the panel box and change the command link
    text back
    </af:commandLink>
    <af:panelGroup layout="vertical">
    <af:panelBox>
         <af:panelGroup>
    ALOT of components .......
         </af:panelGroup>
    </af:panelBox>
    </af:panelGroup>
    I tried with partial trigger ..I tried everything i know ..it did not work .....it only worked I do a I full submit and setting some processScope(session) variables ..
    Thanks.

    Hi,
    - have a managed bean in session scope
    - define a boolean variable that is set to true
    - expose the variable through a public method
    - use EL on the panelBox rendered property to link to this boolean method
    - define an action listener on the command link and set the autosubmit property to true
    - use the action listener to set the boolean value
    - define a value for the ID property of the command link
    - set the ID vaule to the PartialTrigger property of the panelGroup component
    Frank

  • Issue with Open Enrolment Link in ESS - Benefits

    Hi Experts,
    We are facing two issues with open Enrolment Link in ESS for benefits, Need your help in resolving this. Please find the details below :
    1.       Benefits cost is not appearing in open enrolment Screen
    Details : Monthly Contribution cost is not appearing against the Benefits Plan for which employees are already enrolled in Open Enrolment Screen, Because of this employees are not able see previous contribution before deciding on contribution amount for next Financial Year.
    2.       URL for Benefits plan Gets disappeared in Open enrolment Screen
    Details : When Contribution is removed for any Benefits Plan the corresponding URL link disappears, But this comes up when the page is refreshed.
    Could you please let us know if this is related to missing configuration or Java webdynpro code.
    Our Live system is ECC6.0 SP level A4 , Please let me know if you need more details.Looking forward for your response.
    Regards,
    Shilpa

    In regards to your first question, it could be a date issue for the infotype record.  If the records for open enrollment are set to be effective for a future date, and the current record is delimited, then you won't see it in the open enrollment screen. This is true for benefits like a flex account because they have to be re-elected every plan year.
    Let's say that any elections made in the current open enrollment period you are in take effect June 1, 2014.  If the current record has an end date before June 1, then in the enrollment screen the employee will not see the current record because SAP is looking at June 1.
    Take a look at the employee's record and at the benefit you want them to see and see what the end date is for the most recent record.

  • Issue with normal page link redirecting to SSO page / forbidden page

    Hi,
    I am having an issue with a number of pages within my portal.
    I have a 'List of Objects' that has been working for some time, each link in the list linked to another page.
    Just lately a number of pages that are linked to within this list are not loading correctly.
    When one of the items is selected, the correct page is initially displayed, but then after a couple of seconds the page is redirected to the 'Single Sign-On' page, or alternatively the page is redirected to a 'Forbidden' page with this error:
    Forbidden
    You don't have permission to access /pls/orasso/orasso.wwsso_app_admin.ls_login on this server.
    (This page will also show up after the user tries to login when the page is redirected to the SSO page).
    As well as this issue occuring at the front end, the same issue is happening when the pages are loaded from the back end, in the Navigator.
    This issue is even happening when the page is opened up in 'edit' mode using the ORCLADMIN user.
    Any help is greatly appreciated!!
    Amanda.

    Figured it out...

  • Having issues with .fdf's linking to the document they were creating from in reader 9.1

    I run adobe reader in a citrix enviroment. presentation server 4.0 windows 2003 SP1. We have alot of PDF forms on our file server and what users do is open up one type in the data and then click on submit at the top of the PDF then they email the .fdf that is created either to themselves or someone else on the network (this still functions in 9.1). When using AR7.0 and a user would double click on the .fdf it would automatically put the data in the form it was created from but with 9.1 it doesnt, it opens up explorer and wants you to navigate to the appropiate .PDF to insert the .fdf into. I have 3 citrix servers and I have only upgraded 1 to 9.1 for testing. If the .fdf is created in AR 7.0 it will link to the .pdf if you open the .fdf in either 7.0 or 9.1. But if the .fdf is created using 9.1 it wont link the document in either AR 7.0 or 9.1. 
    Any suggestions would be greatly apreciated
    Thanks

    Have you had any luck with this yet we are having the same issue with this it seems to be the first page only on our issue, we are printing 8.5x18 and it just recognizes the document as 8.5x11, works fine from reader 8.x

  • Any known issues with SQL DB Link Synonyms joining on encrypted columns

    Are there any known issues with accessing encrypted columns via a database link that is masked by a synonym?
    We are experiencing unexpected results when the encrypted column is anti-joined through a not exists, to a local encrypted column of the same datatype The encrypted columns are person ids. If the expected person id is hard coded, the results return correctly. The local database is 10.2.0.4.0 and the link is to a 10.2.0.3.0 RAC.
    Both enrollments and person_ids, below, are synonyms to the linked tables.
    ... From table_1 d
    where ...
    AND NOT EXISTS (SELECT 1
    FROM enrollments x,
    person_ids p
    WHERE x.person_demo = p.person_demo
    AND x.rept_inst = d.rept_inst
    AND x.demo_time_frame = d.term_deg_grant
    AND p.person_id_encrypted = '999999999')
    vs.
    ... From table_1 d
    where ...
    AND NOT EXISTS (SELECT 1
    FROM enrollments x,
    person_ids p
    WHERE x.person_demo = p.person_demo
    AND x.rept_inst = d.rept_inst
    AND x.demo_time_frame = d.term_deg_grant
    AND p.person_id_encrypted = d.person_id_encrypted)

    milazzo74 wrote:
    I am having the same problem...
    http://www.milazzo.com.br/teste/projetos.php
    It works fine in Firefox but loads forever in explorer 8...
    The cause of the problem is not the same.
    In your case it takes forever to load the thumbnails from flickr.com; the SpryDataSets without the loading of the thumbnails works as expected.
    Remember that ALL of the thumbnails for each 60 odd projects are downloaded from flickr, that is about 1800 thumbnails.
    Gramps

  • Issues with host command

    Hi All
    We are running Forms 10gR2 under linux. We are having issues with the host command. We use host command to call ProC* modules in the appsvr. It used to work in Forms 6i. Host commnd no longer works in forms10g. Do we need to any setup to run commands using host.
    We need to resolve this issue immediately.
    any help is appreciated.
    Rgds
    Arvind Balaraman

    Arvind has said the command needs to run on the app server so HOST is correct, not CLIENT_HOST.
    I noticed when I installed 10g (on solaris) that the default.env file has a setting for PATH which does not include /usr/bin so HOST would not be able to find standard unix commands, so I added it in:
    PATH=/usr/bin:/home/oracle/product/AS101202/bin
    Alternatively you could include the full path on any unix commands run by HOST.
    Surpisingly I have not seen this documented anywhere. Could this be the problem ?
    I have a related problem I have not solved yet. I have one particular HOST command which works OK until after I run reports from forms, then it just stops working without producing any error.

  • SelectOneChoice with embedded command link

    I am new to JDeveloper.
    I am using version 11.1.
    I am trying to display a selectOneChoice list that will display a note pop-up displaying info about the selected when the user hovers over each of the items in the list.
    I assume I need to somehow embed a command link into each item, but I am not sure how to do that.
    Any help would be appreciated.

    Hi,
    this is not an option with the select one choice component. One solution to the requirement is to mimic a custom select one choice component as shown here
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/55-selectonechoicewithimages-170420.pdf
    Frank

  • VLAN Spanning-tree (VSTP) issue with Metro-E links

    Hi Everyone,
    We have Juniper EX 4200 as core switch at two sites connected Cisco  2960s and Cisco 3560s (access layer switches). For even-numbered VLANs,  one Juniper switch is root bridge and for odd-numbered VLANs, other  Juniper switch is the root bridge.
    We have Cox and Verizon Metro-E links connecting core switches (Juniper EX 4200 at both sites).
    I want to do VLAN load sharing using VSTP but somehow it is not  working as expected. I want to pass some VLANs through COX and some  through Verizon. When there is any issue with Cox, all VLAN traffic pass  through Verizon and vice-versa. RSTP is also enabled on both Juniper  switches.
    I see MAC flapping in log messages on all Cisco access layer switches  when I bring up both Metro-E links together. When only Cox is  connected, everything works fine. When only Verizon is connected,  everything works fine. But when BOTH COX and Verizon are connected,  network gets disrupt and I see MAC flapping on all Cisco switches. All  cisco switches are running PVST.
    Anybody knows what is happening  and why VSTP is not working when both COX and VERIZON Metro-E links are active ?

    Hi Tojackson, I guess this depends on how stuff is interconnecting. It's obvious gi1/1 is forwarding and gi1/2 is blocking. So from the furthest access switch, what path must it take to reach gi1/1? That is the number of hops involved for normal traffic.
    Now, if you're concerned about a specific VLAN and you need gi1/2 forwarding to reduce travel time for other traffic, you may employ RPVST to have that specific VLAN and cost to go to gi1/2.
    In some part of the network I support we have a pair of Cisco 7606 which feeds in to a 4507R and off the 4507R we have a ring of 2955 with even 10-12 L2 switches on the ring. The consequence of multiple layer 2 hops is not of much concern and our spanning tree stops with the 4507 since we're not concerned about broadcast storm on the routed interfaces on the 7600.
    -Tom
    Please mark answered for helpful posts

  • Issue with REPLACE Command

    Recently i got to work in 4.6C and came across an issue with the statement
    REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB IN WA2 WITH SPACE. . I came to know that the class CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB does not exist.
    So how can i remove these tabs ?

    Hi,
    Please check the following:
    In SAP 4.6C, REPLACE ALL OCCURENCES OF...
    As per my knowledge there is no statement called REPLACE ALL OCCURENCES OF in SAP 4.6C.
    Only REPLACE statement is available.
    Best Regards,
    Suresh

  • SQL*Loader issue with WHEN command

    Environment: R12.1.2
    We have a file coming in from a bank that needs to be loaded into a custom table using SQL*Loader.
    The file has multiple record formats. Each record in the file starts with a "record type", which defines the format.
    For simplicity, let me say that there is a record type of "H" with the header format, and another record type "D" has a detail record format. An "H" record may be followed by multiple "D" records until the next "H" record is encountered. Unfortunately, there is no common key, like say "Vendor Number" in both the "H" and "D" records to establish a relationship. So the plan was to use a Oracle sequence or SQL*Loader sequence to get a sequence loaded into the table as the file is being loaded. Then if consecutive "H" records had a sequence value of 100 and 112, we would know that the "D" records for the "H" 100 record are all the records with sequence value of 101 through 111.
    The issue occurs as we have to use the WHEN command in the control file to direct a certain record type to specific columns of the table. Based on the populated sequence values, with the WHEN command, it seems that all the "H" records get loaded first followed by the "D" records. The sequence becomes of no use and we cannot establish a link between the "H" and "D" records. The alternative is to not use WHEN with the sequence, but load the file into generic column names which provides for less understanding in the application.
    Is there a way (command feature) to ensure that SQL*Loader loads the records sequentially while using WHEN?
    Thanks
    Satish

    I used RECNUM parameter instead of sequence and it worked fine

  • Issue with production order linked to quote instead of sales order

    Hi Gurus,
    I did a lot of digging through SAP notes and accross the internet. Before I contact SAP, just wanted to give a shot @ SDN. Please help.
    Background- for ATO (VC assemble to Order):
    i) Created a quote
    ii) Created a sales order with reference to a quote
    iii) MRP created a planned order and the planned order is linked to the quote
    iV) Production order created and it is also linked to a quote
    v) All reports, MD04/COOIS shows that the plnd order/prd order is linked to the quote
    My issue - print a shop paper or a customer specific product ID label....guess what 'it prints the quote number everywhere'.
    Everything is tied to a quote - which is not a real demand. All purchase orders are tied to the quote. THIS IS STUPID.
    I refered to SAP Notes - 181685 and 459734. But I need details of what config settings I should do and where?
    I'm a pure PP guy, getting into SD requirement type & account assignement settings. Please help me with details.
    http://scn.sap.com/message/8018953#8018953
    This guy also had the same problem and his issue was never resolved.
    Thanks,

    Hello
    Take a look on the following note where this scenario is described:
    16658 - Generate sales order stock based on quotation
    The note proposes the following setting as a workaround to this issue:
    "As of 3.0, when the requirements type is assigned to the transaction
    during requirements type determination, it is possible to assign a
    requirements type to the quotation that does not represent make-to-order
    production."
    Therefore, please check your customizing settings and make sure that a requirement class/type (transactions OVZG and OVZI) without MTO is assigned to the quotation item category (transaction OVZI).
    On transaction OVZI, there is a field called "Origin of requirement type in requirement type determination". Please take a look on the information provided on the F1 help of this field:
    ========================================================================
    Origin of requirement type in requirement type determination
    In the standard release, the requirements type is determined according
    to a certain search strategy depending on the strategy group of the
    material.
    In this field you can select an alternative search strategy (source):
    Source 0 = Material master strategy, then item category and MRP type
    Source 1 = Item type and MRP type strategy
    Source 2 = Item type and MRP type strategy (as for source 1) with
    additional check of the allowed requirements type
    ========================================================================
    Therefore, my suggestion is to set this field to 1 for the quotation item category and assign an MTS requirement type on OVZI.
    BR
    Caetano

  • Also got an issue with MSI command center, maybe windows is to blame?

    MSI Command Center crashes every time after it's been running a little while, googling it I've noticed there have been a lot of topics about it crashing. I think someone here on this forum suggested reinstalling windows might help :/ Not too keen on that but better now than when I've installed a ton of stuff on the PC.
    Actually both MSI command center and Intel extreme tuning utility crash for me. MSI command center crashes after a while it's been running and Intel extreme tuning utility crashes every time I click on the settings menu.
    I wonder if something is still wrong with my OS, first time I installed windows 8.1 games crashed if they ran in fullscreen but ran fine in windowed mode. Later after reinstalling widows games started working fine, in fact I haven't had any crashes since (other than from these 2 programs).
    Just yesterday I decided to make a bootable USB drive for windows 8.1 and I noticed that my PCcouldn't actually create an ISO from the windows CD cause the DVD drive couldn't read it properly no matter how many times I tried. My other PC managed to read the Windows DVD just fine, so managed to make a bootable USB drive after all. Donno how it managed to install windows at all, it did struggle a bit.
    I wonder if doing a repair install or a completely fresh install of Windows now when my PC can actually read the windows installation media properly would fix these last issues.
    Is there a difference between a clean install of windows and an install where it keeps all settings and programs? Think reinstalling windows a 3rd time would help (3rd time is the charm right?) Think reinstalling windows again would help?
    Application: CommandCenter.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.ArgumentOutOfRangeException
    Stack:
       at System.ThrowHelper.ThrowArgumentOutOfRa ngeException()
       at CommandCenter.Toolkit.CPUFrequency.<Timer_AnimationShowHW>b__0()
       at System.Windows.Threading.ExceptionWrapp er.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHe lper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.DispatcherOper ation.InvokeImpl()
       at System.Windows.Threading.DispatcherOper ation.InvokeInSecurityContext(System.Object)
       at System.Threading.ExecutionContext.RunIn ternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Windows.Threading.DispatcherOper ation.Invoke()
       at System.Windows.Threading.Dispatcher.Pro cessQueue()
       at System.Windows.Threading.Dispatcher.Wnd ProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
       at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
       at MS.Win32.HwndSubclass.DispatcherCallbac kOperation(System.Object)
       at System.Windows.Threading.ExceptionWrapp er.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHe lper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.Dispatcher.Leg acyInvokeImpl(System.Windows.Threading.DispatcherPrio rity, System.TimeSpan, System.Delegate, System.Object, Int32)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
       at MS.Win32.UnsafeNativeMethods.DispatchMe ssage(System.Windows.Interop.MSG ByRef)
       at System.Windows.Threading.Dispatcher.Pus hFrameImpl(System.Windows.Threading.DispatcherFram e)
       at System.Windows.Threading.Dispatcher.Pus hFrame(System.Windows.Threading.DispatcherFram e)
       at System.Windows.Threading.Dispatcher.Run()
       at System.Windows.Application.RunDispatche r(System.Object)
       at System.Windows.Application.RunInternal(System.Windows.Window)
       at System.Windows.Application.Run(System.Windows.Window)
       at CommandCenter.App.Main()
    Faulting application name: CommandCenter.exe, version: 1.0.0.82, time stamp: 0x542c7911
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532943a3
    Exception code: 0xe0434352
    Fault offset: 0x00011d4d
    Faulting process ID: 0x1764
    Faulting application start time: 0x01cfe0e065a99cf3
    Faulting application path: C:\Program Files (x86)\MSI\Command Center\CommandCenter.exe
    Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
    Report ID: 6fe5aaa5-4cd6-11e4-8264-448a5b9f9b8d
    Faulting package full name:
    Faulting package-relative application ID:

    This issue isn't super important but I don't like programs crashing. None of the games I've played so far crash. (after I reinstalled windows once) Windows never crashes, and the PC has never crashed either so far.
    Both MSI command center (version 1.0.0.82) and intel extreme tuning utility (version 5.1.0.23) crash. Both are kinda same type of programs it seems. MSI CC crashes sometimes immediately sometimes 15 minutes after I start it. The intel program crashes every time I click on the settings menu. MSI CC gives those errors when it crashes, the Intel program has no errors recorded in the event viewer when it crashes.
    Board: MSI Z97 Gaming 5
    Bios: Version 1.0 (Well that's what CPU-Z says it is)
    VGA: MSI GTX 970 Gaming 4g
    PSU: Asus 850W CP-850
    Intel Core i5-4670K Haswell 3.4GHz (3.8GHz Turbo Boost)
    MEM: Kingston HyperX Fury 1866Mhz DDR3
    SSD: Crucial MX100 256Gb
    HDD: Seagate Barracuda 2Tb
    COOLER: Noctua nh-d15
    OC: Everything stock (for now)
    OS: Windows 8.1 64bit
    I tried reinstalling windows by keeping all applications and settings, that didn't help at all. I could still do a fresh windows 8.1 install and remove everything, still I'd rather avoid doing that if I can. Maybe I'll just ignore the errors. Perhaps it's something related to the motherboard since both are these sort of OCing software.

  • Filter issues with hidden/visible  columns on a table

    OK, 1st post to this forum:
    This is based on:
    http://labs.adobe.com/technologies/spry/samples/data_region/SpryPagedViewSample.html
    I have a contact list that has contact info on it (office
    phone, home phone, cell phone, etc). There are several hundred
    entries in the .xml file. As a default, I am putting the contacts
    in a table that has the office phone and email address visible, and
    the other info hidden. I have a "ShowDetail" checkbox that will
    allow the hidden columns to be visible and vice versa by using the
    addClassName and removeClassName.
    The issue I have, is that when you start typing in an contact
    name when the checkbox is checked, the table flashes the correct
    info up with the columns visible, but then the HTML is rendered and
    the Hidden class is reassigned to the columns.
    Is there anyway to run the javascript function that toggles
    the class after the HTML is rendered based on the checked status of
    the checkbox? Thanks for any help!

    Thanks for the reponse. However here is the syntax I need to edit
    SELECT u.user# as "UID",
    lower(u.name) as owner,
    lower(t.name) as table_name,
    col.col# as column_id,
    lower(col.name) as column_name,
    decode(col.type#,
    1, 'varchar2',
    2, decode(col.scale,
    null, decode(col.precision#, null, 'number', 'float'),
    'number'),
    8, 'long',
    9, 'varchar',
    12, 'date',
    23, 'raw',
    24, 'long raw',
    69, 'rowid',
    96,'char',
    105, 'mlslabel',
    106, 'mlslabel',
    'undefined') as data_type, /* these decodes come from the view */
    /* definition for DBA_TAB_COLUMNS */
    /* in CATALOG.SQL for version 7.3 */
    /* the next two decodes are derived from the actual queries performed by Storage */
    /* when Manager retrieving column information. */
    decode(nvl(col.precision#, 0),
    0, col.length,
    nvl(col.precision#,0)) as data_length,
    to_number(decode(nvl(col.precision#, 0),
    0, null,
    decode(col.type#,
    2, nvl(col.scale,-127/*MAXSB1MINAL*/),
    0) ) ) as scale,
    decode(col.null$, 1, 'n', null) as nulls,
    'y' as in_primary_key
    FROM sys.col$ col,
    sys.obj$ t,
    sys.user$ u
    WHERE u.user# = t.owner# /* user$ will be the driving table because no index on user# */
    AND t.obj# = col.obj#
    AND u.name = 'POWERSELLER' /* We only care about PowerSeller tables/columns; */
    AND t.type# in (2, 4) /* Tables and views only */
    AND EXISTS (SELECT 1
    FROM sys.ccol$ ns_ccol,
    sys.cdef$ ns_cdef,
    sys.obj$ ns_t,
    sys.user$ ns_u
    WHERE ns_u.user# = ns_t.owner#
    AND ns_t.obj# = ns_cdef.obj#
    AND ns_cdef.con# = ns_ccol.con#
    AND ns_u.name = 'POWERSELLER'
    AND ns_cdef.type# = 2 /* primary key constraint */
    AND ns_cdef.enabled is not null
    AND ns_ccol.obj# = t.obj# /* using ns_ccol instead of ns_t */
    /* does 70% as many logical reads */
    AND ns_ccol.col# = col.col#
    )

Maybe you are looking for