How to change a property of all items of the specific type?

Hello,
this should be fairly simple:
tableA ( id, Flag)
There are 2 pages :
Page 1 : allows user to select P1_ID based on the result set from TableA
Page 2 : there is a bunch of items on this page - text fields, text areas, radio and check boxes, reports etc. There values in those items are based on the following logic :
select <bunch of columns correspond to the page items >
from view1, view2 ...
where <where clause>
and
some_column =:P1_ID
Question:
I need to disallow users to change values in the items of text type on the page 2, if value of P1_ID ( TableA.id) has a value in Flag.
How this can be done ?
The ideal solution would be if i can have a routine that would not require hard coding items names.
Thank you
Andrew
Edited by: andrey on Jan 31, 2009 12:51 PM
Edited by: andrey on Jan 31, 2009 12:52 PM

Andrew:
The property that you set is the 'Read Only' property for the page-item. This is done from the 'Edit Page Item' page
The conditions under which this property evaluates to true can be determined dynamically (no hard coding). Take a look at the list of possible Conidtion Types. So, if u want the condition to be table-driven you could choose the 'Exists (SQL query returns at least one row)' and the SQL query could be something like
' select 1 from <you_table> where id=:p1_id '
Varad

Similar Messages

  • How to change  delivery  block for all item in the schedule lines via va32

    dear sap expert:
    i onle can  change delivery block for one  sales order item in the schedule line  every times via va32,it will take so many time because there are hundreds of item  in a sceduling agrrement. how to change all the item  one times.
    please give me a way to resovle the problem.
    best regards.

    dear:
      the fast change function cann't resovle the problem,i first double click the item of schedule agreement  ,then select the schedule lines option, finally in the delivery block input the reason of bolck.
    best regards.

  • Oracle Inventory: How to change default category set of items

    Hi,
    We have a requirement where we need to change the default category set of functional area inventory in oracle as we are importing new items into inventory whihc need to be assigned to a new default category set.There is an existing default categpory set for this area.
    As far as i understand once a default category has been set up and an item has been defined, the only way to change the default category set for a given functional area is to update all items with the new default category set before updating the default category set/functional area relationship.
    How exactly do we update the defaul category set for an existing item and change it to a new one. Since we have close to 15K items what is the best way to do this.Is there ay API available?
    Thanks in Advance
    AM

    Hi Helios,
    Thanks a lot for your response
    The fix given in this document is to allign all the exisitng items to a category set (purchasing in this case). This is exactly what my doubt is. How to assign 15k items to a different category set. If i am able to allign these items i can change the default category of the functional area.
    Thnaks
    AM
    PS: i am using 11.5.10.2

  • How to show all items in the reading list? I think this option has been removed in Safari Version 7.0.2

    How to show all items in the reading list? I think this option has been removed in Safari Version 7.0.2

    Thanks. That solved it. I had my doubts since I wasn't concerned about my lost bookmarks. I was concerned about the broken functionality. In any event, restoring from a backup solved both the functionality and the lost bookmarks. I appreciate the response!

  • How to Change Finder Settings in All Windows?

    Hi All,
    Similar to the original post found here:  Re: How to Change View Options for ALL Finder Windows?
    I'm trying to change my finder settings across all finder windows... I tried the solution posted in the above thread but get this message in terminal.  I'm not all that computer savvy when it comes to terminal so not sure what it means... Perhaps someone knows of a different and/or better solution?
    Any help would be much appreciated, thanks and take care!
    Dave

    Yup got it back after waiting, followed the remaining directions, but didn't work for me... not sure why?  Upon rebooting folders do not change after I readjust settings and click 'use as default'.... strange... I even tried that other line of code another person posted later on in the previous thread. 

  • How to change autocommit property in Oracle 8.1.6 server

    Can anybody tell me how to change autocommit property in Oracle 8.1.6 server?
    Thanks in advance.
    Matthew
    null

    Hi,
    SET AUTOCOMMIT OFF
    thanks,
    Boby Jose Thekkanath,
    Consultant,CWO,
    NSW-AUS.

  • How to change Owner property in KM

    Hi masters.
    I want to know how to change cm_owner property of a document that i am uploading with dynpro java. I have written a code to add new properties for document but i couldn't change the Owner of document. Here is my code for adding a new property :
    if (wdContext.currentUserElement().getId() != null) {
    IPropertyName propOwner =
    new PropertyName(
    PropertyName.createDisplayname().getNamespace(),
    "Owner");
    prop =
    new MutableProperty(
    propOwner,
    wdContext.currentUserElement().getId());
    propMap.put(prop);
    This code is adding a new Owner property for document. So that after upload, i see 2 Owner fields in Misc. tab.
    Thanks for replies.

    Hello,
    Do check this blog out:
    [Dynamic properties setting in KM|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/645d4357-0701-0010-07bd-a2ea8c4d0aaf]
    Also read : [Storing and retrieving properties in KM|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ab288d09-0801-0010-b183-b8254ed4793f]
    [Developing a property filter in KM|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ee3a57-0701-0010-3e9a-ddae7e4e0521]
    Regards,
    Shailesh
    Edited by: Shailesh Kumar Nagar on Feb 19, 2010 8:16 AM

  • How to change country and keeping all application upgraded ? thx

    how to change country and keeping all application upgraded ? thx

    you may change the userID/ passwd from menu or create conn segment for each of the userID/ passwd combination .

  • How can I delete all items on the "Done" list in Reminer-App? There are meanwhile hundreds of items (shopping, appoitments, ...) and I don't want to spend hours deleting them.

    How can I delete all items on the "Done" list in Reminer-App? There are meanwhile hundreds of items (shopping, appoitments, ...) and I don't want to spend hours deleting them.

    You can't remove the built-in root certificates, but you can remove their trust bits via the Edit button to prevent Firefox from using them as a trusted root certificate.
    Intermediate certificates that Firefox has stored when visiting websites that show as "Software Security Device" should never has trust bits set.
    Note that it is the responsibility of a server to send all required intermediate certificates to make it possible to build a certificate chain that ends with a built-in root certificate.

  • HT1766 I purchased an iPad air and chose a backup from my iPhone 5s.  The only issue is only 30 of my photos downloaded to my iPad and none of the music.  How can I get all items on the iPad?

    I purchased an iPad air and chose a backup from my iPhone 5s.  The only issue is only 30 of my photos downloaded to my iPad and none of the music.  How can I get all items on the iPad?

    you are using I tunes as the middle man for this back up, right?
    When you plug in the pad to i tunes, give it a unique name, like my pad.  I tune may be thinking it is talking to your phone.  It will keep track of what you what on each device.  Then plug your phone back in, and make sure your photos are uploaded to the computer - in i photo if you are using a mac, or in whatever photo program you are using on a windows device.  You also want to make sure you have uploaded to the computer all of your music.
    Once you get all that stuff there, plug the pad back in, and go through each of the tabs - selecting the music, photos etal that you want on the pad, then resync.

  • How to change font size, maximum column size in the result screen ?

    hi All
    That's great when using SQL Dev.
    But I also have a trouble that how to change font size, maximum column size in the result screen ?
    My users think that font in result screen is shown very small, and whenever the data in each colum is long then it's not shown full data in column, they must double click for extend the size. Have the option to default the max size for showing full data in each column ? I try but still not to do that .
    Appreciate for anyone to help us.
    Thanks all.
    Sigmasvn

    You can't change the font for the results screen yet, however you will be able to select an auto-fit option for selected columns, so if some columns have slitghtly wider text you'll be able to set the column widths to handle these wider columns.
    Also, there s the option of switching the layout of a record in the grid.
    Sue

  • All items in the exc. inv. 90 dtd 01.10.2009 of ven. 200380 has been recd

    Hi experts,
    It is a case of imported consignment.  We have received one invoice for 100 nos.  We are receiving  it partially into our premises.  The excise invoice no. is 90 dtd. 01.10.2009.  We did  successfully gate entry &  GRN for first lot - 10 nos.  At the time of raising GRN " we enter only capture excise invoice ".  But when we are raising GRN for second lot - 10 nos with " capture excise invoice "  system giving us error msg "   All items in the exc. inv. 90 dtd 01.10.2009 of ven. 200380 has been recd. Messsage no. 8I 474.
    Please guide us how this error msg can be converted into warning.
    Regards,
    ( Rajneesh Gulati )

    Hi
    This is a bug fromOracle ADF - upto JDeveloper 11.1.1.0.2 (update 2) - and fixed under Jdeveloper 11.1.1.1.0 (Rlease 1)
    The bug detailsgiven below for your reference:
    SR Number 7577026.993 - BUG Reference 8635250
    Bug Ref.: https://metalink2.oracle.com/metalink/plsql/f?p=130:15:6650652660654461713::::p15_database_id,p15_docid,p15_show_header,p15_show_help,p15_black_frame,p15_font:BUG,8635250,1,1,1,helvetica
    Krish

  • How to retrieve Task Lists from All Subsites to the Parent Site and display in Grid view using CAML Query

    How to retrieve Task Lists from All Subsites to the Parent Site and display in  Grid view using CAML Query + object model

    do u just want task list or items under task list for all subsites
    for items use spsitedataquery ref
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx use recursive to get it from alll subsite under site collection
    for tasklist only u can a simply use a for loop to find in all subsite
    Manish Sati

  • GPO setting "Hide and disable all items on the desktop" stop applying at policy refresh

    In our organization we have the Hide and disable all items on the desktop setting enabled on our Windows 7 computers. As we are testing Windows 8.1 we have come across an odd behaviour with this setting: At log on the desktop is configured as expected: No
    Icons. But after 90 minutes, or when running gpupdate /target:user manually, the Icons appear.
    How can I make the setting stay?
    Regards/
    Johan

    Hi Johan,
    After the icons appear ,I suggest you use gpresult command to check the result.
    It seems that some setting  overrided ""Hide and disable all items on the desktop".
    Regards,
    Kelvin hsu
    TechNet Community Support

  • AppleScript Needed...How to tell Pages to delete all texts with a specific color?

    How to tell Pages to remove all texts with the font size: 13 and color " disabledControlTextColor" from the developer palette?

    Sorry John,
    Now My question has changed,
    Now I want to fill the whole cell with a color , not only the text background
    Now I have the Solution. As from the previos post itself I got the Answer. I excuse all of u to put the related question in a new thread.
    Please leave it. I won't repeat it.
    <af:column sortProperty="Salary" headerText="#{bindings.EmployeesVO1.hints.Salary.label}"
    inlineStyle="#{row.Salary>'20000'?'background-color:Red;':'background-color:Orange;'}"
    id="c6">
    <af:outputText value="#{row.Salary}" id="ot4">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.EmployeesVO1.hints.Salary.format}"/>
    </af:outputText>
    fixes my issue.
    Ranjith C
    Edited by: Ranjith C on Jun 30, 2011 4:46 AM

Maybe you are looking for

  • How to block reading in "read commited"?

    I wrote following code in my sp: select id into tempflag from table where conditions.... if tempflag is null then insert xx into table else do something else end if; commit; Now let's assume this sp is excuted 2 times at almost same time, 1st transac

  • Export Settings for iPod iTouch

    Does anyone know the best settings for exporting video directly from Premiere CS3 to play on my iTouch? Quality? Size 640 x 480? Frame rate 30 fps? Bitrate etc, etc? I have exported a video to QuickTime but the file won't sync. I've looked on iTunes

  • Incremental export of EUL??

    Hi there.. Currently I'm working on Discoverer to OBIEE migration. I've never worked in Discoverer before. Is it possible to export one large EUL to multiple eex files? In my case I've just one Businees Area but the size is pretty big and I want to d

  • To schedule a database back-up

    Hi All, I am a D2k Developer and now to take a database backup i am using the following process I create a button and write some code like HOST('EXP ' || vUserId || '/' || vPassward || ' FILE=' || DIR_NAME || FILE_NAME || ' LOG=' || DIR_NAME || vFile

  • Learning new Techniques: The best way to pick stuff up - ideas please!

    I am a keen illustrator user, and have been for years. It would be fair to say that I'm not n00b any more (although working with some of the people i do, they might say i am!) In my experience, my personal artwork and enthusiasm levels setup when I h