Is it possible to update (=change) control block items in a query only form ?

From Form.A we call Form.B with the parameter query_mode = query_only.
This works fine.
But in Form.B we have a non table block (=control block) with an poplist item.
Allthough in query_only mode we like to change (it's not a real update cause it's control block) the poplist.
But because of query_only mode this item is not updateable.
Is there a workaround to make the poplist updateable in query_only mode ?

Hi,
It is not possible to change the BOX position using the Layout painter like changing windows position.
You have change in the page Windows text elements only by changing their co ordinates.
Regards,
Anji

Similar Messages

  • Issue while updating(Changing) quantity on line at quick sales order form

    Hi,
    I am facing a issue while changing quantity ordered on the order line in quick sales order form. (R12.1.3)
    Although the same logic works exactly as required in 11.5.9.
    There is a custom logic, post booking line status is Awaiting Shipping.
    Now when quantity is changed +(Saved), the status changes to a custom state but at the same time a new row is created with the same line id but different reservation id in the MTL_RESERVATIONS.
    The quantity here is the difference between the original quantity and the new entered quantity.
    And post completion of the custom logic the original row is updated, but being there a additional row the quantity reserved at the shipping tab comes wrong.
    Our requirement is of update which is happening but not the additional insert which is going into MTL_RESERVATIONS.
    The logic is perfect in 11.5.9 and no additional insert is being made.
    Kindly help and give some ideas for the possible reason the issue.
    Please ask for more information if required.
    Thanks,
    Vishal

    Hi Mahendra,
    I have gone through the note id that you have given. sorry to say that, that is refering to diffrent issue.
    Actually what i did is, At form header level, I have hide the fileds using the folder options. once after changes I have closed the form and re-opened it. by that time I can see that Button names got changed in bottom of the "Quick sales order form". Not sure how it become changed. there five buttons over the form, only two button names got changed.
    Kindly suggest any other options.

  • Update a single column in query only form

    Forms 9i, database 10g
    I am migrating the form from 6i to 9i. I have a form that is query only except for one field that can be updated. The main block1, based on a view, includes most of the person's personal data, none of which is updateable.. Another block2, based on a table, includes the 3 not-null colums that cannot be updated, and a remarks field, which can be updated. The block2 properties are set YES for insert, update, delete. The three non-updatable columns have properties set to NO for I,U and D, but the remarks column has I,U and D properties set to YES. When I enter data into the remarks field and press the Save on the Forms icon bar, I get error FRM-40508:unable to insert record and the ORA-00001:unique constraint. I don't should not be able insert and I don't want to, I just want to update one column.
    What am I not setting correctly in 9i? The same triggers and code works in 6i.
    Any suggestions are greatly appreciated.
    Vija

    No, there are no on-update triggers, but there are Post-Qry. I did run it in debug mode, but there is no good place to put a break point, since retrieval of the data works fine. Should I have key-commit trigger on the block to do the update?
    Vija

  • Is it possible to update / change ipod 2 nd generation settings so I can play games/ download apps?  Thanks

    Is the Ipod 2 useless??

    The 2G iPod can on go as high as iOS 4.2.1. To more easily find compatible apps:
    iOSSearch - search the iTunes store for compatible apps.
    Vintapps 3.1.3 - paid app.
    Apple Club - filter apps by iOS version.

  • Send value from control block item to parameter in report

    hi
    can I dont watch at runtime report the paper parameter form to input value for it but instead of it take value or values to parameter or parameters if the report had more than one... if I can make it please tell me how ?

    Follow my example in thread
    For FORMS/REPORT 6i
    Re: URGENT STart date and end date in to generate reports in form
    For FORMS/REPORT 10gR2
    Re: Run Report10g  Through form 10g
    From forms if you don't want display parameter form
    add parameter=NO in add_parameter

  • No item change if :block.item1 != variable

    hi,
    i have a datablock with 5 columns, one of which is LOGIN. i want to change other 4 items of a record only if value of LOGIN column(item) of that record mathces with the login name the user has used to log in to the app.
    which trigger should i use? I tried validate-item, new_item-instance.. but all these trigger fires after the change is made. i dont want to allow update if both the values of login doesn't match..
    any idea??

    i tried when-new_record-instance too.
    here is my code:
    if :bolck1.login_id = :parameter.user then
    set_block_property('block1', update_allowed, property_true);
    else
    set_block_property('block1', update_allowed, property_false);
    end if;
    but it doesnt work properly, e.g. if both the login and user are same then it does not allow the change in one of the poplist (bcz at block level update = no). so it says UPDATE NOT ALLOWED. But immdly after that, if you try to modify the other record for which user != login, it lets you change.. after which it again sets update = no..

  • Update one column in Query only block

    Hi,
    I have a question regarding multi-record, multi-columns form block.
    A block has 100 columns (column1 to column100).
    We have two separate version of same form. In query only mode, update_allowed property of all the blocks in the form is False.
    But in query only form, one specifc column should be updateable.
    How can use Custom.pll to achive this functionality ?
    I tried following steps
    1. In when-new-item instance of column 54, wrote set_item_property and set_block_property
    2. Update allowed for block and specific item is True
    I know that Block property will override the property of items.
    Now all the items are updateable in query only form. But i want only one column updateable.
    Appreciate you valuable input on this.
    Thanks

    This is an eBusiness-related question, you should post it in the eBusiness-forum. From the "pure" forms point of view, set the Block as updateable and set all item except the one you want to be updateable to UPDATE_ALLOWED =PROPERTY_FALSE

  • Tab pages which Database and Control Block.

    I have 3 tab pages, 1st and 2nd with database first block and 3rd page has a control block .
    When I query these Pages I only get one record display though it is a multiple record block with scroll.
    The only difference is that every pages contain multiple blocks with relationship created.
    If some one can help me to bring all the records when I execute the query through F8 key.
    Thanx
    Khan

    Create master detail relation this may help you

  • Can we create a list item as a data block item?

    Hi,
    I have changed a text item to list item on the data block.
    This list item used to get populated when it was control block item, but after i changed it to data block item, it's not getting populated.
    My question is, can we create a list item(poplist) as a data block item?
    Any idea?
    Thanks in advance
    R.G

    Hi
    When you use ctl blocks data dose not fetch from Database. But in data blocks it get fetches when you execute query. So you have to make sure table column values are matching with the List Box values you have given.
    So please check table values.
    Nilaksha.

  • Inserting/updating data in control block based on view

    Hi!
    I`ve created a block based on a view to display data.
    I want this block to be insertable and updateable, that is I will use a on-insert/update trigger to call an insert/update procedure located in the database.
    When trying to change/insert a value in the block, the error message "Error: Can not insert into or update data in a view" pops up. I`ve tried to get rid of this error, without success.
    How can I make a data block based on a view insertable and updateable?
    My guess is that this have something to do with locking the records(there is no rowid in the view)... but I'm not sure.
    Pls advise!!

    Morten
    As well as on-update, on-insert, on-delete triggers you also need an on-lock,
    (even though it might just contain null;) otherwise the form will try to lock the view and fail.
    Actually your terminology is wrong, the block being based on a table or view is not a control block. A control block is not based on anything and has no default functionality for communicating with the database. If it was a control block, the on- triggers would not fire.

  • What property/preference sets block property "Update changed columns only"

    Hi, we are wondering how Designer (latest version 10.1.2.4) desides when it generates a form with block property "Update changed columns only" set to Yes.
    Under some cricumstances this property is No in the generated .fmb
    We checked the object library, but the .olb has this property set to No, so Designer overrules it.
    Our goal is to generate all blocks with the "Update changed columsn only" set to No, because we ran in a forms bug that it can't handle Insert statements on blocks with this property set to Yes (ORA-01036). This bug only occurs in the latest forms version 10.1.2.3
    Hope anyone can help to force this property to be No when we want to achieve 100% generation from Designer.
    Kind Regards
    Auke Quist
    Edited by: aukequist on Oct 13, 2008 8:49 PM

    I think that's not possible in designer. You could define a block with this property set in the template form or in the object library. The use this block use the template/library object property in designer.
    Regards Erik

  • Change to display field on control block not reflected until form refreshed

    Hi guys, hope someone out there can help me with this query.
    I'm currently developing a form that will allow users to generate offer letters and contracts via a custom form which is used within Apps 11i. This form is a fairly standard multi-text field form with tickboxes which hold the applicant details, two buttons (one to Select All, the other to Clear All) and another button to produce the actual contracts selected.
    There is also a display field which is part of the control block attached to the form; both it and the Produce Contracts button are part of this control block. I've added a bit of code to change the text in the display field to inform the user that the contract or contracts they've requested are being generated, but although the call to the relevant code to do this appears before kicking off the concurrent request to generate the contracts, the update to the field fails to appear until after the concurrent request is complete and its output appears on another screen.
    Does anyone know why this is? I've racked my brains over it and can't seem to understand why. I've pasted the code in below if anyone has any ideas!
    Many thanks, Geoff
    --- procedure display_status_message ---
    --- Displays a status message in the request_extract_ctrl.query_information ---
    --- display item informing user what is going on ---
    --- Changes: ---
    --- G Butler 21/08/08 First version ---
    procedure display_status_message(p_tab_count in binary_integer default 0) as
    c_proc_name constant varchar2(50) := 'display_status_message';
    v_position pls_integer;
    v_msg_string varchar2(500);
    v_status_msg varchar2(2000);
    begin
         v_position := 1;
         --- go to the request_extract_ctrl block
         go_block('REQUEST_EXTRACT_CTRL');
         --- check how many records have been sent for generation
         --- get the correct message from the message dictionary
         if p_tab_count = 1 then
         fnd_message.set_name('XXJSDATA','SSL_CA_LETTER_CONTRACT_SUBMIT');
         elsif p_tab_count > 1 then
              fnd_message.set_name('XXJSDATA','SSL_CA_LETTER_CONTRACTS_SUBMIT');
         end if;
         v_position := 2;
         --- copy the message into the display item field
         v_status_msg := fnd_message.get;
         :request_extract_ctrl.query_information := v_status_msg;
         -- synchronize the change in the display item field with the form on screen
         synchronize;
         v_position := 99;
    exception
         when others then
    v_msg_string :='Unexpected error occurred in display_status_message procedure, position: '||v_position;
    v_msg_string := v_msg_string||'. SQL error: '||sqlerrm;
    fnd_message.set_string(v_msg_string);
         fnd_message.error;
         raise form_trigger_failure;
    end display_status_message;

    I had a similar problem, but it was with the message line. I found that with Web Forms, I had to issue the Synchronize; a second time, but in Client/Server Forms 6i, the first synchronize worked. Here is the code I used:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy"> SYNCHRONIZE;
    if Get_Application_Property(User_Interface) = 'WEB' then
    synchronize;--first does not work on web
    end if;</font></pre>
    Let us know if this works.

  • Change control process for updating the UPK topics

    Is anyone using a change control process for updating the UPK topics for JD Edwards EnterpriseOne?
    With publishing the whole module and everything linked, I am finding it difficult if a developer is updating a topic and maybe in the middle of it, but has it checked in to the server?
    I would like to hear what others may be doing to control this.
    Thank you,
    Linda Paar
    MOM Brands

    Hello,
    If you have not already joined the UPK community in My Oracle Support, I would recommend you ask your question in that forum as there is a lot of experience there. Additional information can be found in the announcement at the top of this forum: https://forums.oracle.com/forums/ann.jspa?annID=1175
    Best regards,
    Marc

  • To change payment block option in Propasal list(F110)

    Hello,
    I need help about automatic payment transaction (F110 Tcode).  In edit proposal payment screen it is only possibly to change payment block option in lines one by one  according to vendor (and customer). We need to change multiple lines (by user selection) in that list, for this purpose we developed a custom program which lists all open items (free from vendor or customer), I need a BAPI, or function to change payment block option for any individual line in my program.

    We have prepared a  report which shows   proposal list.. After that,  we have debugged the standart report.  This standart program is updating the database. we couldn't find any function or bapi..
    We do not  want  to update process to sap tables.   We want to use function or bapi in my program .

  • SOS Help!! Control Block is hitting me on my nerves....

    Hello All!
    I have a problem and id any body can solve this then i will be very thankful to her/him.
    Actually, i have four tables.One of them(studentfee) has two primary keys.(Rollono & Date)in this table the rollno is both PK & FK which reference the rollno of student table.Now problem is that i have a control block and two txt items on it. One is for Month and is used to add the date in the studentfee table and other fields will be added by mean of another data block.And that is the problem bcs the form generate the error(may be bcs other primary key is not entered).
    I think that this problem can be solved by Global variable(assigning the values to Golbal variable in the control block form
    and referencing them in the data block form)
    but this is not helping,too.Now i know
    that i am doing something wrong but couldn't grasp that one.Either i am not generating right code for Global variables OR am starting another session that is why the form is unable to get information from the global variable when i use it in the next form.
    Another question is that: Is there any way to build an .exe Or other file of my
    project which can be run and be ported to another machine(with all tables and data).
    Please, send me the answer to my email or to the oracle site and i will be very thankul to you. Bye..
    [email protected]

    Hi,
    In one block you can have items EXPLECITELLY belonging to only one DB table. You mention this table in the property palette of the block.
    If your block has items which belong to other DB table one way (but not the only way) to work around is with POST_QUERY trigger using primarykey_foreignkey (or other) relation to insert in the item the appropriate value. If there are many values we use master-detail relationships and second block.
    Do not forget before exiting the block to insert, update, delete ,etc. the changed value belonging to different tables using the PRE_INSERT, PRE_UPDATE, ... etc. triggers.
    Try to by a book explaining the Forms principles and methods.
    Keep in eye that Forms is a complex, very complex software tool. Before using them successful you have to invest time and efforts to study the basic solution methods.
    Success!
    Joseph Schwertner,
    Prof.Dr. In Computer Science

Maybe you are looking for

  • Currency Translation on Calculated Key Figure in BW7.0

    I am trying to use a currency translation in BW7.0 on a calculated key figure.  Unfortunately the options for this are greyed out in the conversions tab for the calculated key figure. I took a simple example.  I have a KF that is revenue.  I put this

  • Macbook pro to HP w1907

    I just bought an external monitor and mini-DVI adapter for my macbook pro 13'( latest model)   I got everything connected correctly, but when I tried to use the external monitor, all I got was a message saying "No signal", and the display promptly we

  • Custom Label on webform

    Hello, I'm using Planning 11.1.2.1 and I want to know if theres a way of having a custom label on a webform without having to customize the JSP files? I just want a heading or a label preferably on top of the form or around the page section. Regards,

  • How-to protect static content

    Hi ! I have a site with many files (pictures, XML files, etc) How can I protect those content from unauthorized access / sniff ? I was thinking in two options 1) a filter servlet, validating sessions permissions etc 2) a servlet to write out the file

  • H:Message doesn't show message

    In my bean, I do some check and add message to FacesContext , than, navigate it to error page, just use <h:messages/> to show error messages. but it show nothing, Why? here are my source: in java source: FacesContext ctx = FacesContext.getCurrentInst