Disable checkbox in multiple record block with form personalization in r12

hi
i try to personalized form 'Autocreate Document' in purchasing super user responsibility in R12
i want to disable some checkbox in block REQ_LINES that meet some criteria
but why when personalized run, it disable all checkbox in all record in block REQ_LINES
--Condition--
Event trigger     : WHEN-VALIDATE-RECORD
Trigger object    : REQ_LINES
--Action--
Type               : property
Language         : all
Object type     : item
Target Object     : REQ_LINES.SELECT_LINE
Properti name     : enabled
value               : false
please give me advice about this
thank you very much for help

I recommend you these forums for your question:
Forums Home » Oracle Technology Network (OTN) » Products » Database » JVM
Java in the Oracle Database
Forums Home » Oracle Technology Network (OTN) » Technologies » Java » Java Server Pages (JSP)
Java Server Pages (JSP)
Forums Home » Oracle Technology Network (OTN) » Technologies » Java
http://forums.oracle.com/forums/index.jsp?cat=24
Joel Pérez

Similar Messages

  • Sort multiple record block

    Hi,
    i want to sort a multiple record block by pressing a key on a non updatable field in the block.
    Example:
    i have a list of adresses in the block. Now i want to jump to all Adresses which starts with B.
    Does anybody know a solution ?
    Thanks in advance. MM

    No problem:
    When your records are ordered by the name (using block's order-by-clause),
    use a procedure like the following:
    procedure find_name(p_letter in varchar2) is
    begin
      go_block('BLOCK');
      loop
        exit when :system.last_record = 'TRUE' or :block.name >= p_letter;
        next_record;
      end loop;
    end;

  • Interactive messages with form personalization

    Hi All,
    Can we have interactive messages with form personalization.
    For Eg : If we i want two buttons proceed or cancel, then is this possible with personalization.
    Regards,
    Shruti

    Hi;
    Can we have interactive messages with form personalization.
    For Eg : If we i want two buttons proceed or cancel, then is this possible with personalization.Yes it possible, please check below thread's mention note, i belive you can find some good notes in there
    Forms Customization
    Re: Enable Submit Button at User Level and Disable at Block Level
    Forms Personalization Document
    Re: Forms Personalization Document
    Personalization Issue
    Regard
    Helios

  • Grey out checkbox in muti-record block

    Using Forms 6i
    I have a multi-record block which has a checkbox on each record. On some records I want to disable the checkbox. I use SET_ITEM_INSTANCE_PROPERTY for this and it works OK. However, when I disable the checkbox I also want to change its appearance and make it look grayed out. How can I do this using SET_ITEM_INSTANCE_PROPERTY (or any other built-in)?
    I've tried SET_ITEM_PROPERTY but that disables and grays out ALL the checkboxes on the block

    Thanks Tony
    Yes, I used INSERT_ALLOWED, UPDATE_ALLOWED and NAVIGABLE all set to Property_False via set_item_instance_property.
    I've set up a named visual attribute and tried various combinations of Foreground/Background colors and Fill Patterns setttings. None of the combinations alter the colour of the 'check' (or tick) or the background behind the 'check' in the checkbox (it still shows black 'check' on white background). The settings only alter the colours of the border surrounding the check box. Presumably the colour of the check/tick is coming from the font setting (in visual attributes) but there's no option to change the font color (or the font background).
    Any ideas??

  • Problem in UPDATE statement In Multiple Record Block

    Hi Friends,
    I have problem in update Statement for updating the record in multiple record data Block.
    I have two data Block the master block is single Record block and the 2nd data block is Multiple Record data Block.
    I am inserting the fields like category,and post_no for partiular job in single data block
    Now in second Multiple Record Data Block,i am inserting the multiple record for above fileds like no. of employees work in the position
    There is no problem in INSERT Statement as it is inerting all record But whenever i want to update particular Record (in Multiple Block) of employee for that category and Post_no
    then its updating all the record.
    my code is Bellow,
    IF v_count 0 THEN
    LOOP
    IF :SYSTEM.last_record 'TRUE' THEN
    UPDATE post_history
    SET idcode = :POST_HISTORY_MULTIPLE.idcode,
    joining_post_dt = :POST_HISTORY_MULTIPLE.joining_post_dt,
    leaving_post_dt = :POST_HISTORY_MULTIPLE.leaving_post_dt,
    entry_gp_stage = :POST_HISTORY_MULTIPLE.entry_gp_stage
    WHERE post_no = :POST_HISTORY_SINGLE.post_no
    AND category = :POST_HISTORY_SINGLE.category
    AND roster_no = :POST_HISTORY_SINGLE.roster_no;
    AND idcode = :POST_HISTORY_MULTIPLE.idcode;
    IF SQL%NOTFOUND THEN
    INSERT INTO post_history(post_no,roster_no,category,idcode,joining_post_dt,leaving_post_dt,entry_gp_stage)
    VALUES(g_post_no, g_roster_no, g_category, :POST_HISTORY_MULTIPLE.idcode, :POST_HISTORY_MULTIPLE.joining_post_dt,
    :POST_HISTORY_MULTIPLE.leaving_post_dt,:POST_HISTORY_MULTIPLE.entry_gp_stage);
    END IF;
    next_record;
    ELSIF :SYSTEM.last_record = 'TRUE' THEN
    UPDATE post_history
    SET idcode = :POST_HISTORY_MULTIPLE.idcode,
    joining_post_dt = :POST_HISTORY_MULTIPLE.joining_post_dt,
    leaving_post_dt = :POST_HISTORY_MULTIPLE.leaving_post_dt,
    entry_gp_stage = :POST_HISTORY_MULTIPLE.entry_gp_stage
    WHERE post_no = :POST_HISTORY_SINGLE.post_no
    AND category = :POST_HISTORY_SINGLE.category
    AND roster_no = :POST_HISTORY_SINGLE.roster_no;
    AND idcode = :POST_HISTORY_MULTIPLE.idcode;
    IF SQL%NOTFOUND THEN
    INSERT INTO post_history(post_no,roster_no,category,idcode,joining_post_dt,leaving_post_dt,entry_gp_stage)
    VALUES (g_post_no,g_roster_no,g_category,:POST_HISTORY_MULTIPLE.idcode,
    :POST_HISTORY_MULTIPLE.joining_post_dt,:POST_HISTORY_MULTIPLE.leaving_post_dt,:POST_HISTORY_MULTIPLE.entry_gp_stage);
    END IF;
    EXIT;
    END IF;
    END LOOP;
    SET_ALERT_PROPERTY('user_alert',ALERT_MESSAGE_TEXT, 'Record Updated successfuly' );
    v_button_no := SHOW_ALERT('user_alert');
    FORMS_DDL('COMMIT');
    CLEAR_FORM(no_validate);
    Please Guide me
    Thanks in advence

    As you do a loop over all the records in the block, of course every record is updated.
    Also, what you do is not the way is intended to be used. In general, you base a block on a table,then there is no need at all for writing INSERT's or UPDATE's. Forms also know's then, which records to be updated and which not.

  • How can I compare values in a multiple records block

    I have a form with multiples records whit a date in each record. I need test if the date typed in record 2 is greather than the date on record 1, if the date typed in record 3 is greather than the date on record 1 and so on. How cai I do it???is grather than the date on record 1

    Pedro,
    Venelin's code works perfectly, but if you try to use it in a When-Validate-Item or When-Validate-Record trigger, it won't work since you can't invoke navigation routines (FIRST_RECORD, NEXT_RECORD) from these two triggers (among others).
    First, we have to understand that Forms wasn't built to perform multi-row validations. It's a fact.
    Second, the way I prefer to do this is: let the user enter the data as he wants.
    When he commits, in a POST-FORMS-COMMIT trigger, you can check the values using SELECT statements, because they are already written to the data tables. If you don't like them, just issue a RAISE FORM_TRIGGER_FAILURE and the transaction gets rollbacked (and the inserts will be undone).
    Hope this helps,
    Pedro das Neves

  • Updating multiple records from single form (ASP)

    I have a nested repeat region.
    I have created in the parent, a form with 3 fields and an update button.
    the child records all have multiple columns, 3 of which correspond to the parent.
    Athe parent is bound to the child records by the shipmentID
    I need to be able to update all child records from the form in the parent.
    The case is this.
    The child records are orders with shipdates and frequencies
    The parent contains a form with fields for shipdate and frequency
    The administrator needs to change the shipdate and/or frequency for all child records.
    (The child records are forms as well--but that's another issue that works fine)
    Shipment ID
    Date Field
    Freq Field
    UPDATE Button
    ShipmentID
    Record 1
    Data case1
    Date
    ShipmentID
    Record 2
    Data case 2
    Date
    I am doing this in classic asp with an SQL database.
    So how do I get the form to update all record
    [Subject title edited by moderator to make clear ASP involved]

    Hi,
    This is one of those questions that would require far more explanation that is reasonable to expect in a forum. You should do a little poking around in the nearest Barnes & Nobles. About a half hour in a chare with a good ASP book and vanilla latte should have you on the right track.
    Lawrence   *Adobe Community Expert*
    www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and CF

  • Disable checkbox for some records in a datasource

    Hi,
    I am having a datatable which is binded to a datasource. There is a check box for every record in the list. Check on some records and click the submit button. After that i want the records i have already submitted to be disabled(checkbox disabled) when the page is refreshed. Is there any way to do it. plz help. Thanks in advance

    I would have a table field to store the submitted items, so that when you open the page you can compare with that field and use <html:checkbox disabled="true"....> for the submitted records. I think it will work out. Is this only just for that session?

  • Fill a multi record block with a for-loop

    Hi
    I've got a simple question but I couldn't find a solution yet.
    I have a multi record block and behind this i wrote a post-query-trigger with a cursor and a for-loop. Now I try to show each record of the for-loop in the multi record block. The loop works correctly, but the problem is that I only see the last found record of the loop in the first multi record and I'm not able to go to the next multi record when the loop finds more then one record.
    I tried to use NEXT_RECORD but then I got the error message "100500: non-ORACLE exception".
    May someone help me? Thanks a lot!

    What exactly are you trying to do? If you are simply trying to display the result of a query in a Multi-Record Block (MRB), I would recommend basing your block on the query (From Clause Query) or if you are simply displaying the contents of a table or a view in the block, base your MRB on the table or view and let Forms handle displaying the records.
    The Post-Query (PQ) trigger will execute for each record displayed in the MRB, which I'm sure is not what you intended. Since the trigger fires for each record, your loop is essentially assigning the value of each row in the cursor to the same row in the MRB.
    Hope this helps.
    Craig...

  • How to convert a puch button disabled in a multi record block?

    Hi!
    I have a multi-record block and I need to set some specific item to disabled.
    I tried using set_item_instance_property with the following sentence:
    set_item_instance_property('INAF_ESC.EEAS_TIPO' ,CURRENT_RECORD, ENABLED , PROPERTY_FALSE);
    but it didn´t work.
    Anyone have any idea?
    Thanks
    Vero

    Hi,
    ENABLED is not supported SET_ITEM_INSTANCE_PROPERTY built-in.
    If you are env. has no mouse enabled, you can disable NAVIGABLE property using above builtin.
    There is a way make the end-user to feel like it is disabled.
    Create a visual attribute DISABLE_VA, with colors simillar to disabled buttion and set thie DISABLE_VA when the conditon is failed.
    Inside the button-pressed trigger check whether the conditon is true or false. If the conditon is failed you simply do nothing.
    ~Gouri Sankar
    But we can not stop the click action,

  • Moving cursor on  multi-record block with pjc components

    Hi, this thread question is updated to a more specific and correct one in the new thread:
    Need help on using navigation function in when-custom-item-event trigger
    Please, follow there...
    I have a pjc on a multi-record block. When I activate the pjc the forms cursor does not navigate to the item.
    The when-custom-item-event is activated. My question is how do I move the cursor to the current record?
    Best regards,
    Constantin
    Edited by: ConstGl on Jan 11, 2011 5:47 AM

    +"... When I activate the pjc the forms cursor does not navigate to the item..."+
    Sorry, but this is not clear for me.
    Francois

  • To display multiple records in smart form

    hi,
    In the smartform how to use  the LOOP option to display the multiple records .

    Two possible reasons,
    Here is a very good code sample for using Template,Table,Loop in smartforms with screen shot
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    Please do not post multiple threads. Kindly reward point and close the duplicates.
    Regards
    Kathirvel

  • Multiple records displayed on form at one time- 2 lines for each record

    Hello,
    I have a canvas in which I want to display 8 records at at time, so in the data block I specified 8 as the "number of records displayed" value.
    However, the record has too many fields to display on 1 vertical line, so I want to split the fields into two separate lines, so there will still be 8 records but each in two lines.
    How do I do that?
    I'm using Forms 10g. The block is a database block using FROM CLAUSE QUERY , and the canvas is stacked.
    Thanks

    Sandy,
    You will need to set the "Distance Between Records" property for each item in the Multi-Record Block. This will increase the space between rows so you can stack them into two rows. Unfortunately, you can't set this property at the block - so you have to set it for each displayed item.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Call form in EBS with form personalization

    Hi all guru,
    i try to call a form (function in EBS) with the form personalization and pass it one parameter (P_PO_HEADER_ID) in new SPECIAL41 menu:
    1) create new sequenze with condition "TRIGGER: special41"
    2) create action Built-in, type "Launch a function", function code "XX_TEST", parameter "P_PO_HEADER_ID = 3473".
    In this case it's work fine
    But i want pass the parameter P_PO_HEADER_ID dynamically coping the valus from the field :PO_HEADERS.PO_HEADER_ID....so parameter "P_PO_HEADER_ID = :PO_HEADERS.PO_HEADER_ID".
    In this case dosen't work!!!!!
    Any idea for solved the problem?
    Tank's all
    Attilio

    with these tests I got the following errors:
    1) P_PO_HEADER_ID = $(PO_HEADERS.PO_HEADER_ID)
    errors(a,b,c,).....
    a)no such parameter named G_QUERY_FIND exists in form XX_TEST.
    (note: the parameter G_QUERY_FIND exist in the custom form)
    b)Unabled to resolve reference to item PARAMETER.G_QUERY_FIND.
    c)Parameter P_PO_HEADER_ID type does non match definition in form XX_TEST.
    end of errors...
    2) P_PO_HEADER_ID = ${PO_HEADERS.PO_HEADER_ID}
    error....
    Tokens in the string (P_PO_HEADER_ID = ${PO_HEADERS.PO_HEADER_ID}) could not be evaluated. Please check the syntax
    Attilio

  • Is It possible with forms personalization

    Hi,
    Is it possible to prefix two characters before the standard PO number using forms personalization.
    Thanks and Regards
    Zaheer.

    At the present, no...it's all or nothing.

Maybe you are looking for

  • How to uninstall trial of Acrobat XI

    I had a trial version of Acrobat XI pro. I paid for and downloaded the full version when trial ended. When I try to open it I get the message that the trial has ended and do I want to buy. How do I uninstall the trial?

  • Cisco 4400 summary page doesn't display proper # of active AP's

    4400 series WLC with 100 supported AP's. present capacity is 62 active AP's but summary only shows 48 active...Why???????

  • ACR vs CS 5 interpolation

    Certainly is a minor question, but an advise is always helpfull! To get the final size of the picture, in my case A3 o A3+, from a D 700 NEF, it is better to use ACR interpolation before to open the image in CS5 or open the file at native size and th

  • Getting problem with realms

    Hi Guy's I created realm and i assign that realm at user level. But it is not reflecting.. Any other set up i have to do?. The same stuff i applied at responsibility level. It is working.. If anyone knows reply Thanks & Regards Palakondaiah.U

  • Error 13 and 14 when i go to restore my iphone  3gs

    Hello i keep geting Error 13 and 14 when i go to restore my iphone 3gs could someone please help me sort it out. I have try 2 leads and look at youtube but still cant get it to work