Query Only - Form Name : INVIDITM

Oracle Apps 11i (11.5.10.2)
Database : 9i
Hi,
Is it possible to make the Master Item(KIM) form as Query Only.
Form Application : Inventory
Form Name : INVIDITM
I have tried it, but from Tools the attributes can be changed.
Any Idea about this , or do i have to do Personalization.
Thanks & Regards,
Sakshi

Hi,
Found out following Notes - which worked
Doc ID: 787189.1 Item Master Not Query Only When Passing Query_only="Yes"
Doc ID 274866.1 How to Create a View Only Version of the Master Items Form INVIDITM
Reagrsd,
Sakshi

Similar Messages

  • Query-only Forms?

    By default, the form wizard for portal assumes that I want to enable dml (insert/update/delete). The application forms that I need to build are query (read) only. Is there an option in the wizard for query-only that avoids building all the related dml code?
    I'm new to Oracle Portal (but used SQLForms back more years than I care to admit!). Are there any examples/demos of forms where the end user can enter query criteria (e.g., I only want to see employees with last name of "Smith")?

    You can try deleting the INSERT, UPDATE and delete buttons during the forms design time.
    For the query button, you need to use the following code, depending on the type of form :-
    For Form on Table/View, add the following code after doQuery; :-
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => '_FORM_STATE',
    p_value => 'QUERY_AND_INSERT');
    For Master-Detail forms, add the following after doQuery; :-
    p_session.set_value(
    p_block_name => 'MASTER_BLOCK',
    p_attribute_name => '_FORM_STATE',
    p_value => 'QUERY_AND_SAVE');
    Ideally, if you do not want to do any DML, you can use a Report and for the report layout, you
    can choose Form and set the Max Rows per Page as 1 so that you get one record at a time in a form like layout.

  • 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

  • Enabling item on a query-only form

    Hi,
    I call a custom 6i form in query-only mode. However, now I need to enable one item on the first window for search purposes. I tried using SET_ITEM_PROPERTY,(ITEM_NAME,'Insert Allowed','TRUE') but it doesn't work. How do I achieve that functionality?
    Thanks.

    Hi,
    Thanks for the reply. I tried to set the property 'enabled' of the item to true so that I might be able to enter or update data into it.
    I am trying to change the form status from query only = YES and disable the blocks associated with it.

  • Query-Only Form

    How can I restrict a form to be used for Query-Only sometime (for some users) which can also be used as Insert/Update etc another time (for other users).
    I am using Open_Form not Call_Form.

    use
    CALL_FORM('<formname>', no_hide, no_replace,
    query_only);
    Thanks

  • Query only form problems

    I have a data block linked to a parent table in a parent/child relationship. The parent table's query key is made up of 2 data items. When the form is executed I want the users to enter values in these 2 data items and then press a button that has a trigger to execute the query. How can this be done and what properties should be set on the data block and items in this data block? Also, this form is a query only type form, no updating is to be premitted to the database.

    1. Consider to build a control block with these two items in the block.
    2. Create a LOV which will return the two items from a record group to the items in the control block.
    3. Passing the control block items' value for your query.
    Good luck.
    Jimmy

  • How would I create an assembly of forms using only form names?

    I want to create an assembly of forms by passing only the names of the forms stored in the LC repository to the Assembly service. How would I do that? Is the assembly service the correct service to use in this case? Thank you.

    String classname = "Abc.class";
    Class class = Class.forName(classname); // catch ClassNotFoundException
    Object object = class.newInstance(); // catch InstantiationExceptiion
    MyIntrface myInterface = (MyInterface)object; // catch ClassCastException

  • Query regarding form names

    What are the form names for goods reciept ,
    Goods sent , Billing and what are th corresponding transaction codes to check the form print preview ?
    I have already checked in  TNAPR table but i didnt get.
    can anybody help me out?

    Hi Mohammed,
    the entries in TNAPR comes from the values maintained in NACE transaction .
    To find any SAP standard SAPScripts and SMARTFORMS, you need to check NACE transaction.
    BR,
    Preema
    *Pls award all helpful answers

  • 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

  • Query Only form having issue

    I have a simmilar situation here.
    Am using a form which has 2 non-DB fields on the canvas and two DB fields on null canvas. While fetching the record I want to show derived values in Non-DB fields based on DB records. So i used Post query.
    Now every time it ask me 'Do you want to save your records?' when I hit F4.
    Also If i made a Form function with function parameter Query_only = 'Y' . When I hit Ctl+F11 it says you cannot updtate this record. and stuck on those two fields.
    Am using Set_Record_Query_Status in post_query but still facing the same issue. Do you have any solution here?
    Thanks,
    Adi

    Adi,
    Do you have the Non-DB items in the same Data Block as your DB Fields? Ideally, you should place the non-db items in a Control Block. Another alternative would be to make your non-db items "Display" items. Both will prevent Forms from registerting changes when you Post-Query data into the non-Db items.
    Hope this helps.
    Craig...

  • Purchase Order form in Query only mode for some users

    Hi All,
    I want to make the Purchase Orders form as query only for a single user. I tried by giving 'Query_only=Yes' in the parameters section. I am getting 'FRM-04151: You cannot query records here' message more than 10 time. I know we get this message and this is applicable to all the users. But this message is comming more than 10 times.
    Is there anyway that I can restrict the Query only mode to a single user and please suggest about the message also.
    Thanks in Advance,
    Naresh

    Naresh,
    Since you want to achieve this for one user only, I would suggest you create a new function/menu/responsibility and assign this responsibility to the user.
    Note: 400380.1 - How To Create a QUERY-ONLY FORM
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=400380.1
    For the FRM error, please review the following document.
    Note: 116074.1 - ACCESS LEVEL - REVIEW ONLY - PO
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=116074.1
    Regards,
    Hussein

  • 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

  • Use form name insted of complete path

    Hi.
    I am using 6i. i developed many forms and save them in one folder. when i want to open another form through a main form i always have to use a complete path(address) of other form like (D:/HR-SYSTEM/POSTING.FRM)
    I always face problem when i have to deply my project at other than D drive.
    Is there any posibity to use only form name insted of complete path.
    thnx

    Hi Dear;
    It is very easy, you only create the global variable on main form, and when want to call any form then you only give the name of the form then it will run very easilly.
    for example,
    U will wirte this one line code in main form which will run firsttly,
    :GLOBAL.MY_FORM_PATH := 'D:\PROJECTS\FORMS\'
    and when you call nay form you write only this code,
    CALL_FORM(:GLOBAL.MY_FORM_PATH||'PAY_ROLL_FORM.FMX');
    WHEN YOU WANT TO CHANGE ANY DRIVE THEN YOU WILL ONLY CHANGE ONE LINE CODE IN YOUR APPLICATION LIKE IF YOU CHANGE THE DRIVE FROM D TO E YOU ONLY DO THIS....
    :GLOBAL.MY_FORM_PATH := 'E:\PROJECTS\FORMS\'
    OK I HOPE IT WILL WORK... THX.

  • Data entry form problem - form in query-only mode

    Hi there,
    I am trying to create an data entry form to insert recordacross 2 out of 3 tables. The last of the four tables already have details and does not need to have record inserted into.
    This is the scenario, my four tables are Factory, Employee, Works_in. Works_in resolves a many to many relationship between Factory and Employee
    Now for a person to be employed in a factory, he must be assigned to a factory.
    I have a list of factories already in the database. After choosing a factory from the database, I want to insert records to do with his Fname, Lname, Hiredate bla, bla, bla to the Employee table.
    I have a single form with Factory as the master, and 2 tabs each for Employee and Works_in.
    After linking all my tables with the ability to choose a factory first on the master form from a combo box and after inserting records into the other forms, it says form running in query-only mode.
    What do you think?
    Many thanks in advance.
    Cube60

    I think that's too much of the wrong information.
    It sounds like you have multiple forms. Are they Modal or Non-Modal?
    What code do you use to call the form that's not working?
    Does it work initially and then stop working?
    James.

  • Called form in query only mode shows messages....

    Hi All,
    I am calling a form (say B ) in query only mode from a main form (say A) . When i query the called form B , i get 5-6 alerts (which has to be acknowledged by the user) and messages of the same error type saying :
    "FRM-40208 : Form running in query only mode . Cannot change database fields. "
    I have a 100 forms to be called from the main form A. So, I prefer not to change anything in the called forms . I tried to set message_level in the form A and code the on-error / on-message triggers to avoid the messages being shown, but nothing is working . Is there anything I can do in Form A i.e the main form ???
    Thanking you in advance.

    Since the error messages are being generated by form B, it is unlikely you will be able to fix form B problem using form A. Unfortunately, you may have to fix each of the 100 called forms.

Maybe you are looking for