Calling seeded oracle form from custom form

Hi All,
I wan't to call oracle seeded form for Item Entry(INVIDITM) from a custom oracle form in Inventory module. When I call the form using FND_FUNCTION.EXECUTE and pass item_id as one of the paarmeters, the seeded form open but with very limited capability to changes. Most of the field are disabled or non updateable.
I wan't to know if its possible to open the seeded form in full change mode??
Thanks in advance

Hello,
You can open a form by typing an url in the browser.
e.g. http://machine:port/forms90/f90servlet?config=...
So, it is easy to place the call in your jsp (window.open)
Francois

Similar Messages

  • Error while calling standard OAF page from custom Oracle Form

    Hi,
    I am calling standard OAF page from custom oracle form using the following code.
    FND_FUNCTION.EXECUTE(FUNCTION_NAME=>'FUN_TRX_ENTRY_OUT_VIEW_BATCH',
    OPEN_FLAG =>'Y',
    SESSION_FLAG =>'N' ,
    OTHER_PARAMS =>'&ViewBatchID = "' || NAME_IN('FUN_AGIS_LINE_D.BATCH_ID') ||
                        '&CallingFunction = "' || 'MANEXPINQ' ||'"');
    But I am getting this error.
    oracle.apps.fnd.framework.OAException: This request was not processed as the request URL %2FOA_HTML%2FOA.jsp%3Fpage%3D%2Foracle%2Fapps%2Ffun%2Ftransaction%2Fentry%2Fwebui%2FViewOutBatchPG%26OAPB%3DFUN_PRODUCT_BRAND%26OAHP%3DFUN_SSWA_MENU%26OASF%3DFUN_TRX_ENTRY_OUT_SEARCH%26_ti%3D1217029204%26language_code%3DUS%26%26ViewBatchID%20%3D%20%22203148%26CallingFunction%20%3D%20%22MANEXPINQ%22%26CallFromForm%3D%27Y%27%26oas%3DqZqg3tmdEdUNyw_HtskVow.. contained potentially illegal or un-encoded characters. Please try again by submitting a valid URL or contact your systems administrator for assistance.
    Please let me know any thing I missed out here.
    Any suggestion will highly appreciated.
    Thanks & Regards,
    Sunita

    I am using FND_FUNCTION.EXECUTE to call a OAF page from PLSQL in R12. I am getting following error"Error(9,23): PLS-00302: component 'EXECUTE' must be declared"

  • Implementation restriction 'apps.fnd_api.g_false' call from custom form

    Hi guys
    the following PL/SQL bit executes successfully from a toad session. db user "apps"
    SET SERVEROUTPUT ON;
    DECLARE
    v_api_return_status  VARCHAR2 (1);
    v_qty_oh             NUMBER;
    v_qty_res_oh         NUMBER;
    v_qty_res            NUMBER;
    v_qty_sug            NUMBER;
    v_qty_att            NUMBER;
    v_qty_atr            NUMBER;
    v_msg_count          NUMBER;
    v_msg_data           VARCHAR2(1000);
    v_inventory_item_id  VARCHAR2(250) := '24445';
    v_organization_id    VARCHAR2(10)  := '110';
    BEGIN
    inv_quantity_tree_grp.clear_quantity_cache;
    DBMS_OUTPUT.put_line ('Transaction Mode');
    DBMS_OUTPUT.put_line ('Onhand For the Item :'|| v_inventory_item_id );
    DBMS_OUTPUT.put_line ('Organization        :'|| v_organization_id);
    apps.INV_QUANTITY_TREE_PUB.QUERY_QUANTITIES
    (p_api_version_number  => 1.0,
    p_init_msg_lst        => apps.fnd_api.g_false,
    x_return_status       => v_api_return_status,
    x_msg_count           => v_msg_count,
    x_msg_data            => v_msg_data,
    p_organization_id     => v_organization_id,
    p_inventory_item_id   => v_inventory_item_id,
    p_tree_mode           => apps.inv_quantity_tree_pub.g_transaction_mode,
    p_onhand_source       => 3,
    p_is_revision_control => FALSE,
    p_is_lot_control      => FALSE,
    p_is_serial_control   => FALSE,
    p_revision            => NULL,
    p_lot_number          => NULL,
    p_subinventory_code   => 'KSP-02', --NULL,
    p_locator_id          => NULL,
    x_qoh                 => v_qty_oh,
    x_rqoh                => v_qty_res_oh,
    x_qr                  => v_qty_res,
    x_qs                  => v_qty_sug,
    x_att                 => v_qty_att,
    x_atr                 => v_qty_atr);
    DBMS_OUTPUT.put_line ('on hand Quantity                :'|| v_qty_oh);
    DBMS_OUTPUT.put_line ('Reservable quantity on hand     :'|| v_qty_res_oh);
    DBMS_OUTPUT.put_line ('Quantity reserved               :'|| v_qty_res);
    DBMS_OUTPUT.put_line ('Quantity suggested              :'|| v_qty_sug);
    DBMS_OUTPUT.put_line ('Quantity Available To Transact  :'|| v_qty_att);
    DBMS_OUTPUT.put_line ('Quantity Available To Reserve   :'|| v_qty_atr);
    END;However, while called from a custom form, we receive the following error starting with 'apps.fnd_api.g_false' cannot directly access remote package variable or cursor.
    Does it mean, if we need to call the API through a custom form we should initiate any POLICY CONTEXT(s)? if we change the same like below code, the API call compiles successfully and we are able to display the results over the custom form objects.
    DECLARE
    v_api_return_status  VARCHAR2 (1);
    v_qty_oh             NUMBER;
    v_qty_res_oh         NUMBER;
    v_qty_res            NUMBER;
    v_qty_sug            NUMBER;
    v_qty_att            NUMBER;
    v_qty_atr            NUMBER;
    v_msg_count          NUMBER;
    v_msg_data           VARCHAR2(1000);
    v_inventory_item_id  VARCHAR2(250) := :QTY_HEADER.ITEM_ID;
    v_organization_id    VARCHAR2(10)  := '110';
    BEGIN
    inv_quantity_tree_grp.clear_quantity_cache;
    apps.INV_QUANTITY_TREE_PUB.QUERY_QUANTITIES
    (p_api_version_number  => 1.0,
    --p_init_msg_lst        => apps.fnd_api.g_false,
    p_init_msg_lst        => 'F', --Value manually assigned
    x_return_status       => v_api_return_status,
    x_msg_count           => v_msg_count,
    x_msg_data            => v_msg_data,
    p_organization_id     => v_organization_id,
    p_inventory_item_id   => v_inventory_item_id,
    --p_tree_mode           => apps.inv_quantity_tree_pub.g_transaction_mode,
    p_tree_mode           => 2, -- value manually assigned
    p_onhand_source       => 3,
    p_is_revision_control => FALSE,
    p_is_lot_control      => FALSE,
    p_is_serial_control   => FALSE,
    p_revision            => NULL,
    p_lot_number          => NULL,
    p_subinventory_code   => 'KSP-02', --NULL,
    p_locator_id          => NULL,
    x_qoh                 => v_qty_oh,
    x_rqoh                => v_qty_res_oh,
    x_qr                  => v_qty_res,
    x_qs                  => v_qty_sug,
    x_att                 => v_qty_att,
    x_atr                 => v_qty_atr);
    :QTY_HEADER.ONHAND_QTY := v_qty_oh;
    :QTY_HEADER.RES_QTY := v_qty_res;
    END;Please input your valued suggestions.
    regards,

    Done, by creating a database stored procedure and returning values. Example procedure as following:
    CREATE OR REPLACE PROCEDURE xx_retrive_quantity (item_id       NUMBER,
                                                     org_id        NUMBER,
                                                     subinv        VARCHAR2,
                                                     oqtt      OUT NUMBER,
                                                     oqtr      OUT NUMBER)
    IS
       v_api_return_status   VARCHAR2 (1);
       v_qty_oh              NUMBER;
       v_qty_res_oh          NUMBER;
       v_qty_res             NUMBER;
       v_qty_sug             NUMBER;
       v_qty_att             NUMBER;
       v_qty_atr             NUMBER;
       v_msg_count           NUMBER;
       v_msg_data            VARCHAR2 (1000);
       v_inventory_item_id   VARCHAR2 (250) := item_id;
       v_organization_id     VARCHAR2 (10) := org_id;
       v_subinventory_code   VARCHAR2 (20) := subinv;
    BEGIN
       inv_quantity_tree_grp.clear_quantity_cache;
       apps.INV_QUANTITY_TREE_PUB.QUERY_QUANTITIES (
          p_api_version_number    => 1.0,
          p_init_msg_lst          => apps.fnd_api.g_false,
          x_return_status         => v_api_return_status,
          x_msg_count             => v_msg_count,
          x_msg_data              => v_msg_data,
          p_organization_id       => v_organization_id,
          p_inventory_item_id     => v_inventory_item_id,
          p_tree_mode             => apps.inv_quantity_tree_pub.g_transaction_mode,
          p_onhand_source         => 3,
          p_is_revision_control   => FALSE,
          p_is_lot_control        => FALSE,
          p_is_serial_control     => FALSE,
          p_revision              => NULL,
          p_lot_number            => NULL,
          p_subinventory_code     => v_subinventory_code,
          p_locator_id            => NULL,
          x_qoh                   => v_qty_oh,
          x_rqoh                  => v_qty_res_oh,
          x_qr                    => v_qty_res,
          x_qs                    => v_qty_sug,
          x_att                   => v_qty_att,
          x_atr                   => v_qty_atr
       oqtt := v_qty_att;
       oqtr := v_qty_atr;
    END xx_retrive_quantity;This stored procedure could be called from a custom form or report by passing values. Hope this is useful for few others out there. A complete writeup is available over here
    http://windows7bugs.wordpress.com/2011/04/17/oracle-ebs-r12-how-to-call-standard-apipackages-from-custom-form-or-reports/

  • How to close a custom form from CUSTOM.pll

    Dear Friends,
    We need your help on the following issue related to Oracle Apps Forms.
    We have a requirement to show a popup message (message should remain open and user should be able to continue working in the order entry form. User use this message as a reference while entering order details) when user enters a customer name or number in the order entry form . This is similar to the Stock Availability form which gets opened automatically when control enters into Order Entry Lines form, where the stock availability form remains open while entering line details.
    To fullfil the requirement, we have designed a custom form with a single text field in which the message text (some customer information) will be shown.
    We are using custom.pll to call this custom form (thru FND_FUNCTION.EXECUTE) when the control leaves customer number field. User could leave this custom form open and continue with entering order details. Till this point we could achieve what we want. i.e. we could show the popup message in the custom form after user enters a customer number.
    The problem is, after the custom form is opened, when we enter a new order for different customer, we need to close the custom form (which is opened for the previous customer) if the customer is not qualified.
    we could not achieve this. We tried using CLOSE_FORM, CLOSE_WINDOW, but did not help.
    Any body have any suggestions on achieving this... Basically, we need your help to know how we can close the custom form from CUSTOM.pll.
    Thanks,
    Uma

    I thing you haven't any (supported) option to close a form via custom.pll.
    For a long time, we have search a solution for the same problem without any result.

  • How to call standard form in custom form

    sir,
    please help me .in calling standard form through custom form
    Edited by: user11996389 on May 15, 2012 10:00 PM

    Hi,
    As far as I understand, you have a standard form, S and a custom form, C. You want to call S from C.
    The API mentioned in my previous reply is the standard way to call one form from another in Oracle Apps. You may invoke this API from a trigger like WHEN-BUTTON-PRESSED. The API has a few mandatory parameters which you need to provide in order to successfully call the form. As mentioned, please refer to the Developer's Guide.
    If you have any doubts or face any problems/errors, post the details here. Forums members will be reluctant to help if you do not put in some efforts of your own.
    Regards,
    Sujoy

  • How to view concurrent program LOG from custom FORMs

    Hi,
    How to view concurrent program LOG from custom FORMs?
    Thanks
    ESL

    Hi Thanks for your response....
    lets assume there are 2 buttons, first button to submit concurrent program and second button to view concurrent program output/log.
    Actually im able to submit concurrent program from oracle custom form(6i) in ebusiness(11.5.0.2) i.e first button (WHEN-BUTTON_PRESSED buitin).
    Rather user navigating to VIEW-> REQUEST, i would like to give option to user to view concurrent program output/log when user clicks on second button (WHEN-BUTTON_PRESSED buitin)
    How can i achive this?
    Thanks,
    ESL

  • Error while calling a form from another form's menu item

    I created a main form and menu module for this form.
    I am calling another form from main form menu item.
    i moved both the forms and menu and compiled them.
    But, when i run this form i am getting an error saying
    FRM 92100: Your connection to the server was interrupted
    This may be the result of a network error, or a failure on the server.
    You will need to establish your session.
    I set the seperateframe = true
    networkentries = 30
    But still getting the same error.
    Is there any parameter that i am missing.
    I will greatly appreciate if anybody can direct me to the solution.
    Thank you.
    Navya.

    Hi guest,
    the data definition is:
    DATA: XVBKD LIKE VBKDVB OCCURS 0 WITH HEADER LINE.
    the assignment:
    XVBKD-PRSDT = likp-erdat.
    Thanks,
    Hagit

  • What are the 3 ways to call a form from another form?

    What are the 3 ways to call a form from another form?
    What is the command to call a report from within a form?
    How do you attach a menu to a form?

    Hi,
    1. Should be new_form, call_form and open_form
    2. The command is run_product
    3. There is a property 'Menu Module' in form, just change it to your menu file name
    Regards,
    George
    Can anyone help me with the following questions...
    What are the 3 ways to call a form from another form?
    What is the command to call a report from within a form?
    How do you attach a menu to a form?
    Thanks for your time..
    Madhu

  • HOW TO CALL A FORM FROM ANOTHER FORM

    HOW TO CALL A FORM FROM ANOTHER FORM [local machine]

    Balraj wrote:
    HOW TO CALL A FORM FROM ANOTHER FORM [local machine]The way you asked question is this bit of request or order?
    Secondly, you used capital latters which are being treated as Shouting Language. So, always try to switch off the Capslock of your keyboard.
    Thirdly, you are very lazy to serach on forum or google for your problem instead of waiting someone to anwer your question.
    Your should seriously have a look at FAQ.
    http://wikis.sun.com/display/Forums/Forums+FAQ
    Also here.
    http://www.catb.org/~esr/faqs/smart-questions.html
    Please read documentation for the initial questions.
    -Ammad

  • Run Oracle reports from the FORM builder

    Hello All,
    We have Oracle Form base application running on the window OS.
    (Form version is 9.0.4.1.0)
    Our Database is installed on Linux box (DB version: 10.1.0.3.0)
    I need to run different Oracle reports from the form based application or from the form builder. (Report Builder 9.0.4.1.0)
    Any feed back will be appreciated.
    Regards,
    D

    try this
    Run_product(REPORTS,' <path to the report>', ASYNCHRONOUS, RUNTIME, FILESYSTEM,' ',NULL);
    in some event ( whichever event you want your report to show up)

  • How to call an Oracle Report from a Self Service HR page.

    Hi,
    I am trying to call an Oracle Report from a Self Service HR page. I personalized the page to add a button and link the report's URL to that button; but I am having issues passing/manipulating parameters to this report.
    Is there a better approach to do this, please post your suggestions. Also If you can direct me to some usefull documentation that will be great.
    Any help will be greatly appreciated.
    Regards
    Hilal

    Tapash,
    Thanks for reponding.
    Here is the URL I am currently using :
    https://gccss.glendale.edu:8001/dev60cgi/rwcgi60?server=rep60_crp3+userid=apps/pswd@crp3+report=/u07/oracle/crp3appl/gcccus/11.5.0/reports/US/GCC_ACCRUAL_BAL_0505.rdf+desformat=html+paramform=yes+destype=cache+p_accesscode=""
    The p_accesscode is the parameter I need to pass to the Oracle report.
    Currently, when I click the button, it invokes the above URL and takes me to the parameter form of the Oracle report and when I enter the Username, it runs the report and displays the desired output. But, what I need to achieve is, to pass the current user who has logged in behind the scene and to get rid of the parameter screen totally. Is this doable ? If yes, please help me !!!
    Thanks
    Hilal

  • Query a second form from another form by passing value

    Hi,
    I have two forms. I am trying to query a second form from another form. I have managed to display the query results in the second form by passing value from the first form. I did it according to the details in the Oracle 9ias Portal Technical FAQ html file.
    It works fine when there is already a row in the first form. When I insert a new row in the first form and query the second form which has key from the first form, there is no matching rows displayed which is correct but detail action mode is 'NONE' for all detail rows.
    According to the FAQ, it says the following:-
    "When the called form is started, it executes a query with the supplied condition (in this case, "where deptno=10"). If the query is successful, the matching rows are displayed in Update mode. If no matching rows are found, the form starts in Insert mode."
    It does not happen for me. I get NONE mode for no matching rows. Is this a BUG ? I am working on Portal version 3.0.9.8.0.
    Is there something wrong in the code I wrote ? I would like to have all the detail mode as Insert.
    Here is the following code I wrote on SUCCESSFUL SUBMISSION OF THE FORM.
    declare
    my_url varchar2(1000);
    v_deptno number;
    begin
    v_deptno := p_session.get_value_as_NUMBER(p_block_name => 'DEFAULT', p_attribute_name => 'A_DEPTNO');
    my_url := 'PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1268491962&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=deptno&p_arg_values='||LTRIM(TO_CHAR(v_deptno))||'&p_arg_names=_deptno_cond&p_arg_values=%3D';
    go(my_url);
    end;

    Hi,
    The behaviour is OK as in the MD form there are two states "Save" and "Query and Save" and when the form is in "Query and Save" mode that means you can use it for both Query aswell as Save which is decided by your "Master action" if that is None it is used for Query , for Insert you will have to select Insert ,this is the Insert Mode behavior.
    If you open a new MD form that is also in the "Query and Save" the same behaviour will be there.
    Hope this answers your query.
    rahul

  • Frm-92101 happens when I open a form from another form and close it.

    Frm-92101 happens when I open a form from another form, check something, show a message to the user and exit the form to the previous form.
    Forms version: 10.1.2.0.2. Java: 1.6.0_23. Browser: IE6
    When I put before the "EXIT_FORM" two messages, everything is fine and the second form is closed and I repeat to the first form just as I wanted.
    In forms 9.0 it didn't happen.
    Does it have a connection with the fact I use JRE instead of JInitiator?
    Thank you.

    >
    There are numerous causes of the FRM-92101 error. I recommend you start your investigation by tracing your Forms session so you can see what your form is doing when the error occurs. Check out My Oracle Support document How to Use Forms Trace with Forms [ID 209372.1] for information on how to enable the trace. Also, take a look at My Oracle Support document Known Causes of FRM-92101 Error In Forms [ID 604633.1].
    Hope this helps,
    Craig
    >
    I have just found that there is a "Synchronize" command in one of the main attached libraries, and when I comment that command the application works well. But I don't want to comment it because it's a great library and I assume it has a part in the system.
    I have discovered that in the new Forms' help, the fact that the System.Current_Item mustn't be null so the command "Synchronize" will work, is mentioned. In the old Forms' help, that fact is not mentioned.
    So I tried to put it inside a condition that checks if the current item is not null, but the compiler doesn't recognize the "current_item". I don't know why. Because it's a library? So how can I check this? I can sent it as a parameter, but I don't want. Do you know something about it? Thank you.

  • How to access objects in the Child Form from Parent form.

    I have a requirement in which I have to first open a Child Form from a Parent Form. Then I want to access objects in the Child Form from Parent form. For example, I want to insert a record into a block present in Child Form by executing statements from a trigger present in Parent Form.
    I cannot use object groups since I cannot write code into Child Form to first create object groups into Child Form.
    I have tried to achieved it using the following (working of my testcase) :
    1) Created two new Forms TESTFORM1.fmb (parent) and TESTFORM2.fmb (child).
    2) Created a block named BLK1 manually in TESTFORM1.
    3) Created two items in BLK1:
    1.PJC1 which is a text item.
    2.OPEN which is a push button.
    4) Created a new block using data block wizard for a table EMPLOYEE_S1. Created items corresponding to all columns present in EMPLOYEE_S1 table.
    5) In WHEN-NEW-FORM-INSTANCE trigger of TESTFORM1 set the first navigation block to BLK1. In BLK1 first navigable item is PJC1.
    6) In WHEN-NEW-ITEM-INSTANCE of PJC1, code has been written to automatically execute the WHEN-BUTTON-PRESSED trigger for the "Open" button.
    7) In WHEN-BUTTON-PRESSED trigger of OPEN item, TESTFORM2 is opened using the following statement :
    open_form(‘TESTFORM2',no_activate,no_session,SHARE_LIBRARY_DATA);
    Since its NO_ACTIVATE, the code flows without giving handle to TESTFORM2.
    8) After invoking OPEN_FORM, a GO_FORM(‘TESTFORM2’) is now called to set the focus to TESTFORM2
    PROBLEM AT HAND
    ===============
    After Step 8, I notice that it passes the focus to TESTFORM2, and statements after go_form (in Parent Form trigger) doesnot executes.
    I need go_form with no_activate, similar to open_form.
    Edited by: harishgupt on Oct 12, 2008 11:32 PM

    isn't it easier to find a solution without a second form? If you have a second window, then you can navigate and code whatever you want.
    If you must use a second form, then you can handle this with WHEN-WINDOW-ACTIVATED and meta-data, which you have to store in global variables... ( I can give you hints if the one-form-solution is no option for you )

  • How to refer the trigger written in one form from another form ?

    How to refer the trigger written in one form from another form ?
    Thanks,
    Ravi Shankar

    Try to convert the PL/SQL code from Forms trigger into a PL/SQL library(.PLL),
    and then attach that PLL in your forms.
    Note that all Forms objects should be referenced indirectly, for example,
    you have to rewrite
    :B1.DEPT_CODE := :B2.DEPT_CODE;
    :B3.TOTAL_AMOUNT := 100;
    ==>
    copy('B2.DEPT_NO','B1.DEPT_NO');
    copy('100','B3.TOTAL_AMOUNT');
    This is the best way to share PL/SQL code among Oracle Forms.

Maybe you are looking for

  • Windows 2008 R2 on Cisco UCS B200M networking problems

    This is driving me completely nuts.  Let me start by saying I am new to blade servers and Cisco UCS.  I did take an introduction class, and it seemed straight-forward enough.  I have a chassis with two B200M blades, on which I am trying to configure

  • PSE 7.0 Invalid Serial Number under Win 8.1

    Moved from a Dell PC running Win XP SP3 to an HP with an 3.80 GHz AMD 6200 6 core processor, 10 Gb RAM running Win 8.1. Had installed PSE 7.0 four or five years ago on the Dell - it meets my limited needs and I don't really want to upgrade. I re-inst

  • Items qty not updated  in VL02

    Hi,         I've searched in forum.I've got solution.I've 26 line items and want to update all the records.It updates only 24 items remaining 2 items are not updated.Because the screen size is for 12 items.Please assist me. n = 1. LOOP AT it1 WHERE v

  • Deleting the del doc no and sal doc no..

    Dear Friends,                    IS there Any Function Module Available for Deleting the Delivery Document and the Sales Document.

  • ALE IDOC to XML IDOC scenario using XML port

    Hi, I am working on ALE IDOC to XML IDOC scenario using XML port . The requirement is to place a XML IDOC on the application server using ALE IDOC scenario ( output type is created in NACE which is ALE enabled ). Can anybody help me on the steps. Reg