FRM-40222, Sequence

I set attribute ENABLE to FALSE (ID).
Pre-Insert-Trigger:
set_item_property(':block.id', enabled, property_true);
select my_seq.nextval into :block.id from dual;The user should not actual the id in the form, because it is a primary key. This is OK!. But
when he would like to save the record,he get a FRM-40222: Disabled item 'BLOCK.ID' failed validation error.
Does anybody know a solution?

try removing the ':' from your command
set_item_property('block.id', enabled, property_true);Ahmad Esbita

Similar Messages

  • FRM - 40212 / FRM - 40222 error on a radio group during query

    Hi all,
    This is my first post so please bear with me if I haven't provided sufficient information or am unclear at all.
    I'm using Forms Builder (Web) on a 10g Database. I have a number of database and non-database items as part of a data block.
    My problem is that, when I enter a value in any field and click the query button, I get a FRM-40212 Invalid value for field error on my radio group (disabled, non-database item that is programatically populated in the post-query and list-changed triggers only). When I click ok, I get a FRM-40222 Disabled Item Failed Validation error on the same radio group.
    This does not happen if I click the 'Enter Query' button before entering values into fields, however I don't want my users to encounter this error if they try to query without clicking on 'Enter Query' first.
    I'd like to know why exactly does this error happen - what does it mean?
    I've read in other forums that setting the item's Required property to false solves this issue. But how can I do this with a radio group? And if it's not possible, does anyone have any suggestions for other workarounds?
    Thanks in advance,
    Abigail

    Hi,
    You can avoid this by setting 'Mapping of other values' to the one fo the radio buttons value.Like if you have to radio button radio1 and radio2 associated with radio group R1 ,then set any radio buttons initial value to this 'Mapping of other values' property of radio button R1.You won't see this error.
    This error occurs because your loading a screen without assigning a value to the radio button.
    If this helps mark question as answered or helpfull.
    Thanks,
    Pavan.

  • FRM-40222: Disabled item 'NES.DCD' failed validation

    Hi,
    I have a couple of forms migrated from 6i to 10g. I am verifying the functionaltiy of each form.
    I came across this issue in a converted form in 10g. This form works fine in 6i.
    In WHEN-NEW-FORM-INSTANCE based on a condition we hide a poplist item as follows:
    SET_ITEM_PROPERTY('DCD',VISIBLE,PROPERTY_FALSE);
    Here item 'DCD' is a poplist.
    When I run this form & I click on a button, the control is transferred to the ON-ERROR trigger, where I get the folloing message:
    FRM - 40222 : Disabled item 'NES.DCD' failed validation'We never had this issue in 6i?.
    There are no triggers on this poplist item 'DCD'. Don't know why I am getting this error???
    How to fix this issue?
    Thanks

    Found the solution: Set required property to false

  • 40222 Disabled item failed validation.

    When I run a Forms app, I receive this error message after I click one of its buttons:
    41012 Invalid value for field Renewal_Type
    40222 Disabled item RB.Renewal_Type failed validation.
    There is a radio group by that name in one of the blocks, although it has not been assigned to a canvas. I think the developer of this app may have intended it for another form that he was going to build, but never got to it; thus it's disabled. Is that what causes this error message or is it something else? How can I fix this? Thanks.
    Edited by: Prohan on Sep 10, 2010 9:42 AM

    I found the answer here:
    FRM - 40212 / FRM - 40222 error on a radio group during query
    I can't say I understood the explanation for why it worked, but it did.

  • Problem with a primary key when creating a new record in Forms

    My table has a field - MDD_KEY - that is a primary key. It is updated from a sequence with a before-insert database trigger. I know this works properly as the primary key was accurately populated when I inserted 1433 records.
    In Forms 6, I have a form based on that table. I have set the mdd_key as a hidden field because I assume it will be entered by the before-insert trigger. However, when I enter data into the table, and then try to save it, I get a FRM-40202: Field must be entered. - followed by - FRM-40222: Disabled item MDD_KEY failed validation.
    If I set DATA Required to no, when I try to save I get an FRM-40600: Record has already been inserted - but no such record exists in the database. I know this record is unique and does NOT exist because I deliberately made it up.
    In the property palatte, the attributes of the field are:
    DATA Data Type Number
    Required Yes
    DATABASE Database Item Yes
    Primary Key Yes
    Query Only No
    Query Allowed Yes
    Query Length 0
    Insert Allowed Yes
    Update Allowed Yes
    Update Only if Null No
    Lock Record No
    I assume that my problem is that with a new record, the form wants to see the MDD_KEY populated before it saves - but that isn't going to happen until the before insert trigger fires in the database. I assume I have to populate that field within forms, but how do I do that without messing up the database trigger/sequence? I will have to load more data directly into the database - so I need the database trigger in place.
    I have not used primary keys before so I am more than a little bit confused about how and when it should be populated when a new record is created in Forms.
    Any help would be appreciated as I cannot enter new data into my form (works well with existing data).
    Thanks
    Glenn

    hi
    if u have any problem using seq then try that statemetn ur block level in ur form
    PRE-INSERT trigger
    select nvl(max(nvl(srno,0)),0)+1 into :srno from tablename;
    Rizwan

  • FRM 92120  Registry dat is missing

    The error> FRM-92120 <to log into an EBS instance and click on a Form (with all the forms).
    ------- error ------
    FRM-92120 Registry file http://hhh.xxx.com.br:8000/OA_JAVA/oracle/forms/registry/Registry.dat is missing
    Details:
    Java Exception:
    oracle.forms.engine.RunformExeception: FRM-92120:Registry file http://hhh.xxx.com.br:8000/OA_JAVA/oracle/forms/registry/Registry.dat is missing.
    at oracle.forms.engine.Runform.initRegistry(Unknow Source)
    at oracle.forms.engine.Runform.startRunform(Unknow Source)
    at oracle.forms.engine.Main.createRunform(Unknow Source)
    at oracle.forms.engine.Main.start(Unknow Source)
    at sun.plugin2.applet.Plugin2Manager$AppleExecutionRunnable.run(Unknow Source)
    at java.lang.Thread.run(Unkwon Source)
    I have done the following steps
    ----------------------------------------------------- >>>> http://finance-kc.gsa.gov/webbill/faq.shtml#l10
    Step 1: Verify that SSL v2.0 and v3.0 options are checked in Java Control Panel.
    a. Click 'Start' menu on Windows taskbar and select 'Control Panel'. If you do not find 'Control Panel' directly under 'Start' menu, then you should find it under 'Settings'
    b. Locate an entry named 'Java' on Control Panel window and double click on it
    c. Click 'Advanced' tab on Java Control Panel window
    d. Locate setting named 'Security' and click on the plus sign prefixing it to show options
    e. Verify the option 'Use SSL 2.0' is checked and if not check it
    f. Verify the option 'Use SSL 3.0' is checked and if not check it
    g. Click 'Apply'
    h. Click 'OK'
    Step 2: Close your browser session.
    Step 3: Open a new browser session and try the register or login action again to see if it works okay. If not, proceed to next set of steps.
    Step 4: Re-start your computer.
    Step 5: Open a browser session.
    Step 6: Clear your browser temporary Internet files by taking the steps stated below.
    a. Select 'Tools' from Internet Explorer browser menu
    b. Select 'Internet Options'
    c. On the 'General' tab, under section labeled 'Temporary Internet Files', click 'Delete Files' button
    d. Click 'OK' on Delete Files confirmation box
    e. Upon completion of delete files, click 'OK' on Internet Options
    Step 7: Close your browser session.
    Step 8: Open a new browser session and try the register or login action again to see if it works okay. If not, proceed to next set of steps.
    Step 9: Clear your Java temporary Internet files by taking the steps stated below.
    a. Click 'Start' menu on Windows taskbar and select 'Control Panel'. If you do not find 'Control Panel' directly under 'Start' menu, then you should find it under 'Settings'
    b. Locate an entry named 'Java' on Control Panel window and double click on it
    c. On the 'General' tab, under section labeled 'Temporary Internet Files', click 'Delete Files' button
    d. Click 'OK' on Delete Files confirmation box
    e. Upon completion of delete files, click 'OK' on Java Control Panel
    Step 10: Close your browser session.
    Step 11: Open a new browser session and try the register or login action again to see if it works okay. If not, provide the following to the help desk: the browser name and version used, Java plug-in version used, sequence of events leading up to the issue or problem being reported and any message displayed in a screenshot or text format and/or describe browser behavior that will help us with troubleshooting.
    ====================================================================================================
    And also did not resolve the error then appealed to the Deployment Guide in página157 --http://otndnld.oracle.co.jp/products/forms/htdocs/install/Materials/doc/EN/B14032_02.pdf
    A.2.3.6 FRM-92120
    Cause:
    This is a server configuration error, which occurs when the client is unable to find the
    file Registry.dat on the middle tier.
    Solution:
    When this error occurs, check if the file Registry.dat is present on the middle tier in the
    directory ORACLE_HOME/forms/java/oracle/forms/registry. If it is not
    present, then it needs to be placed.
    In a running Forms application, if you suddenly come across this error, there is a
    possibility that the HTTP server has gone down. You may verify this by typing the
    Diagnosing Server Crashes with Stack Traces
    A-8 Deployment Guide
    URL http://myserver.com:NNNN in your browser. Here you need to replace
    myserver.com with your host name and NNNN with your HTTP server’s port
    number. If your browser says that it could not connect to the server, then your HTTP
    server is down and you need to contact your system administrator to bring it up.
    When the HTTP server is up and running, on giving the URL
    http://myserver.com:NNNN your browser will show the “OracleAS welcome”.
    =============================================================================================
    also had no positive effect.
    I test in different browsers, different machines, the Jinitiator removed and installed again.
    The versions I'm using are
    EBS - R12.0.4
    Java 1.6.0_15
    Browsers - IE 8 e Mozzila Firefox 3.0
    Can someone suggest something else.
    Extremely grateful for any suggestion.

    Hi,
    What changes have been done recently?
    Did AutoConfig complete successfully on all tiers?
    If SSL has been enabled recently, please run SSL diagnostics tests and make sure all runs successfully -- Search "My Oracle Support" for "SSL Diagnostics R12".
    Enable debug and see if you get more details about the error -- See (Note: 422419.1 - R12, 12.1.1 - How To Enable and Collect Debug for HTTP, OC4J and OPMN) and (Note: 438652.1 - R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications).
    Regards,
    Hussein

  • Forms 6i gives FRM-40734 Internal PL/SQL Error after Hourglass for 30 Min

    Hi,
    I am developing a New custom Form using a copy of Oracle Apps. TEMPLATE.FMB
    (Out of two custom forms , I am getting the below issue in only one form and the other is working fine)
    Everything works fine but I observed one unique issue during my testing.
    I executed the form and entered a value in one column of the master record
    (now the record in CHANGED status).
    Now I pressed the F11 Key (for Enter-Query in Apps) for doing the
    Query by ignoring the entered record values.
    Instead of giving a message "Do you want to Save the changes you have made (or)
    A Required Field must be entered"
    But the Form shows the Hourglass(Busy) for 30 Minutes then gives the error :
    FRM-40734 Internal PL/SQL Error
    May I know in the above situation, what are the triggers the form will fire and in which sequence (forms 6i)
    In summary what form triggers will be fired :
    When a NEW record status is CHANGED and when the user invokes Enter-Query
    (F11 on Apps and F8 on standalone) , before form changes to Enter-Query mode.
    Any pointers to my issue resolution.
    Below is my form canvas/block layout and I am getting the issue Only in Master Block and not in any of the detail blocks
    MASTER BLOCK
    DETAIL1 BLOCK
    DETAIL2 BLOCK DETAIL2 BLOCK DETAIL2 BLOCK
    thanks,
    Shashi

    Issue got resolved:
    ==================
    In my case, The solution I found is renaming the Relations with a unique name.
    When the Relation is created for two different master blocks
    the "Block creation wizard" has given the same name for both
    these relations.
    I renamed both of them with a custom unique name then the issue got resolved now the form is behaving correctly.
    thanks,
    Shashi

  • FRM-11324: Value is invalid.

    hi im trying to add a sequence to my form for a user field, each time i enter the inital value :pk_judgeid.next val i recieve the error - FRM-11324: Value is invalid.
    could anyone tell me what could be wrong and how to get the next value to display

    Hi,
    for assigning the sequence value to the form user field, i am using this way. try out this .
    using select statement like this
    Select sequence.nextval into :block.fieldname from dual
    with some exception handling for the select statement.

  • Sequence error, help ?

    Hi All,
    i am new in Dev.
    I have problem with my procedure when i want use sequence.
    DECLARE
    TEMP NUMBER(20);
    BEGIN
    select (coba.currval) into TEMP from user_sequences;
    END;
    I have error like this :
    FRM-40735. WHEN-NEW-RECORD-INSTANCE trigger raise unhandled exception ORA-08002
    please help me if you can or know to solve my problem.
    Thank you
    null

    CURRVAL and NEXTVAL are session specific. CURRVAL will return an error if you use it in any session that has not executed NEXTVAL. NEXTVAL is the proper way to get a new, unique number issued to your session. Remember, CURRVAL shows the last value returned by NEXTVAL to YOUR SESSION... not the last number ever returned by the sequence.
    If you
    SELECT sequence_name, last_number
    FROM user_sequences;
    You will get the names of your sequences and the next numbers to be created by them. However, because sequences are cached in the SGA, often numbers that have been created have not been issued. The only reliable way to find out the last number actually used by a sequence is to
    SELECT MAX(the_col)
    FROM the_table
    Using the name of the column that the sequence numbers are inserted into for "the_col" and the name of the table for "the_table".
    Best!

  • Random FRM 92101 and FRM 92050

    Hello Everyone,
    I have Oracle EBS R12.1.3 installed with Vizio Demo Instance on Oracle Database 11.0.7.0. I have 3 application servers. Web Server runs on all three application servers.
    While trying to launch forms from Security->User->Define/Monitor and Concurrent->Manager->Administer, I get FRM-92101 and FRM-92050 errors randomly.
    Sometimes the error doesn't happen and I am able to launch the forms properly from the same client. But other times, I get one of the 2 errors mentioned. When I close the error window and try to reopen again, the error sometimes doesn't happen. There is no particular sequence of steps with which I can reproduce the error. It is totally random.
    Extract from $LOG_HOME/ora/10.1.3/j2ee/forms/forms_default_group_1/application.log is shown below:
    12/12/27 07:27:54.910 formsweb: Servlet error
    java.lang.UnsatisfiedLinkError: no frmjsl in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1030)
    at oracle.forms.servlet.RunformProcess.loadLibrary(Unknown Source)
    at oracle.forms.servlet.RunformProcess.<init>(Unknown Source)
    at oracle.forms.servlet.RunformProcess.<init>(Unknown Source)
    at oracle.forms.servlet.RunformSession.<init>(Unknown Source)
    at oracle.forms.servlet.RunformSession.get(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.getRunformSession(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.getInfo(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    12/12/27 07:57:16.933 formsweb: Forms session <4> aborted: runtime process failed during startup with errors
    Unable to switch to Working Directory: /u01/appR12/VIS/apps/tech_st/10.1.3/forms
    12/12/27 07:57:16.933 formsweb: Forms session <4> failed during startup: no response from runtime process
    12/12/27 07:57:33.179 formsweb: Forms session <5> aborted: runtime process failed during startup with errors
    Unable to switch to Working Directory: /u01/appR12/VIS/apps/tech_st/10.1.3/forms
    12/12/27 07:57:33.180 formsweb: Forms session <5> failed during startup: no response from runtime process
    12/12/27 08:05:04.228 formsweb: Forms session <7> aborted: runtime process failed during startup with errors
    Unable to switch to Working Directory: /u01/appR12/VIS/apps/tech_st/10.1.3/forms
    12/12/27 08:05:04.228 formsweb: Forms session <7> failed during startup: no response from runtime process
    12/12/27 08:11:19.11 formsweb: Forms session <8> aborted: runtime process failed during startup with errors
    Unable to switch to Working Directory: /u01/appR12/VIS/apps/tech_st/10.1.3/forms
    12/12/27 08:11:19.12 formsweb: Forms session <8> failed during startup: no response from runtime process
    I have already checked the supported list of browsers, security level and disables XSS filter.
    Thanks in advance.

    As I mentioned earlier, the error is totally random. If I close the error window and click on the responsibility again, the forms launch fine. My research shows it might be because of Session Persistence. As of now, we have set JSESSIONID in cookie as the persistence check. I am still researching on it. But I found useful information from the notes you have mentioned.Please review these docs and see if it helps.
    How To Check Session Persistence On BigIP F5, Cisco Ace, Citrix Netscaler or Radware AppDirector Load Balancer Appliances [ID 601694.1
    Using Load-Balancers with Oracle E-Business Suite Release 12 [ID 380489.1]
    Random error Your login session has expired when using Load Balancing [ID 387306.1]
    11i/R12 How to Debug "Transaction Context Is Lost" or "You are trying to access a page that is no longer active" [ID 456906.1]
    Thanks,
    Hussein

  • FRM-47013 error: Cannot add parameter P LEVEL to Parameter List REPDATA: pa

    Hello! I am using Forms 6i and get the above error-FRM-47013 error: Cannot add parameter P LEVEL to Parameter List REPDATA: parameter with this name exists. when clicking on the Run Report button on a parameter form. I have googled and I'm doing everything I know to do, but cannot get rid of the error. Any help is greatly appreciated! I only have 3 months Oracle experience coming from a VB/C# background.
    Here's my code that is on the Run Report Program Unit on the parameter form:
    PROCEDURE run_report IS
    pl_id ParamList;
    pl_name VARCHAR2(10) := 'repdata';
    v_rep_num number;
    hold_where_clause varchar2(2000);
    charFY                                                  varchar2(4);
    the_connect varchar2(10);
    CharAlertText          varchar2(300); --Alert message text
         NumAlertVal      number; --Alert prompt 
    begin
         if :CONTROL.BEGINNING_FISCAL_YEAR is null or :CONTROL.ENDING_FISCAL_YEAR is null then
                        CharAlertText := 'You must enter Beginning and Ending Fiscal Years before running this report!';
                        set_alert_button_property('ALERT_1',ALERT_BUTTON1,LABEL,'Ok'); --alert value equals 88
                        set_alert_property('ALERT_1',title,'No Year');
                        set_alert_property('ALERT_1',alert_message_text,CharAlertText);
                        NumAlertVal :=show_alert('ALERT_1');
                        raise form_trigger_failure;
         end if;
         if :CONTROL.BEGINNING_FISCAL_YEAR > :CONTROL.ENDING_FISCAL_YEAR then
                        CharAlertText := 'You must enter an Ending Year Fiscal Year greater than or equal to Beginning Year!';
                        set_alert_button_property('ALERT_1',ALERT_BUTTON1,LABEL,'Ok'); --alert value equals 88
                        set_alert_property('ALERT_1',title,'Invalid Year');
                        set_alert_property('ALERT_1',alert_message_text,CharAlertText);
                        NumAlertVal :=show_alert('ALERT_1');
                        raise form_trigger_failure;
         end if;
    --This section creates system identified parameter list.      
    BEGIN
    pl_id := Get_Parameter_List(pl_name);
    IF Not Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_name);
    --pl_id := Create_Parameter_List(pl_name);
    --IF Id_Null(pl_id) THEN
    --Message('Error creating parameter list '||pl_name);
    --RAISE Form_Trigger_Failure;
    --END IF;
    END IF;
    pl_id := Create_Parameter_List(pl_name);
    Add_parameter(pl_id,'P_LEVEL',text_parameter,:control.hierarchy);
    IF Id_Null(pl_id) THEN
    Message('Error creating parameter list '||pl_name);
    RAISE Form_Trigger_Failure;
    END IF;
    END;
    --End section that creates parameter list.
    BEGIN
    -- This will get the next sequence number from the database to make the
    -- report file name unique
    select ombil.report_seq.nextval
    into v_rep_num
    from dual;
    exception when no_data_found then
    display_error_text(203,'S','N');
    raise form_trigger_failure;
    END;
    If :control.hierarchy = 1 then
    hold_where_clause := ' ';
    elsif :control.hierarchy = 2 then
         hold_where_clause := ' AND DIV.ID = ' || :control.division_poplist ||' ';
    elsif :control.hierarchy = 3 then
    hold_where_clause := ' AND DIST.ID = ' || :control.district_poplist ||' ';
    elsif :control.hierarchy = 4 then
              hold_where_clause := ' AND PS.ID = ' || :control.psite_poplist ||' ';
    elsif :control.hierarchy = 5 then
    hold_where_clause := ' AND PS.ID IN ' || :CONTROL.MULTI_PROJECT_SITES ||' ';
    end if;
    --charFY := 'where to_char(MP.fiscal_year, ''RRRR'') = to_char(:CONTROL.FISCAL_YEAR, ''RRRR'')';
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'FILE');
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,:global.cur_reports_path||to_char(v_rep_num)||'.'||:control.format);
    Add_parameter(pl_id,'P_WHERE',text_parameter,hold_where_clause);
    Add_parameter(pl_id,'P_FY_BEGIN',text_parameter, to_char(:CONTROL.BEGINNING_FISCAL_YEAR, 'DD-MON-YYYY'));
    Add_parameter(pl_id,'P_FY_END',text_parameter, to_char(:CONTROL.ENDING_FISCAL_YEAR, 'DD-MON-YYYY'));
    --Add_parameter(pl_id,'P_LEVEL',text_parameter,:control.hierarchy); 
    /*if :control.format = 'CSV' then
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'DELIMITED');
              Add_Parameter(pl_id,'DELIMITER',TEXT_PARAMETER,',');
                        run_product(REPORTS,'es_adm_mit_percent_csv.rep',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_id,NULL);
    else */
              --Add_parameter(pl_id,'P_LEVEL',text_parameter,:control.hierarchy);
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,:control.format);
         --end if;
    run_product(REPORTS,'es_fish_mit_reqs.rep',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_id,NULL);
    --Destroy_Parameter_List(pl_id);
    web.show_document(:global.cur_reports_url||to_char(v_rep_num)||'.'||:control.format,'_SELF');
    exception when others then
    display_error_text(202,'S','N');
    end;
    Edited by: [email protected] on Feb 27, 2009 6:35 AM

    A coworker figured out that the switchboard data input form was pointed at the wrong executable file. I knew there wasn't anything wrong with my code! I'll remember this one next time!
    Edited by: [email protected] on Feb 27, 2009 12:24 PM

  • FRM-41051:  You cannot create records here

    Hello all,
    I have two blocks 'FIND_EMP' and EMP_HDR.
    In 'FIND_EMP' i have fields below like
    Dept name -------
    Location ------
    EMP no -------------
    find(button) new_emp(button)
    I you need to create a new employee we need to select dept name and location from lov and click new emp button.Then it will navigate to EMP_HDR block
    In EMP_HDR block i have fields below like
    Dept name -------(wiil be defaulted from 'FIND_EMP' block)
    Location ------(wiil be defaulted from 'FIND_EMP' block)
    EMP NAME ---------(USER INPUT)
    DOB-----------(USER INPUT)
    Emp no----------(populates a sequence no when user clicks submit)
    Submit(button)
    for the coresponding dept name and location user enters new employee name and dob and clicks submit button then empno field will be populated and it will close the EMP_HDR block window and will return to 'FIND_EMP' block.
    Again if I try to create new employee by pressing new_emp(button) it is giving an error message below.Even in the block level propery pallete also insert allowed and update allowed is set to YES
    "FRM-41051: You cannot create records here." (ie,Do not attempt to create and insert new records into this block until you have set the Insert Allowed block property to True.)
    To avoid the above error i enabled the block property insert allowed to true under new_emp(button) logic
    SET_BLOCK_PROPERTY('EMP_HDR',INSERT_ALLOWED,PROPERTY_TRUE);
    now it is not giving any error and everything is working fine.
    But my doubt here is before block property insert allowed to true is not enabled, then
    for the first time I try to create new employee it is creating a record and for the same session
    creating again new employee it is giving error message(FRM-41051). I could not understand.Any body please clarify on this.
    Regards,
    Kiran

    i think you had some other code which was blocking the insert allowed in your EMP_HDR block...
    kindly check other places where it was blocking it...
    might be possible on submit button you have such code to block insert.. because you entered first record than submit,, after that block property changed to insert_allowed false...
    -- Aamir

  • FRM-40657:  Record changed or deleted by another user.

    I have a forms module with a module component based on a view.
    This view is a simple view with 1 base table.
    This view has a 'client derived' primary key with a sequence.
    This view has a instead of trigger, which is calling the table API.
    There are no server derived columns etc.
    When I insert a record via the form and try to update the same record
    without requery, I get the message:
    FRM-40657: Record changed or deleted by another user.
    When I drop the trigger the error is not raised.
    Any idea ?
    Configuration:
    Forms 6.0.5
    Designer 6.0.5
    Headstart 5.1
    Oracle 8.1.7.4.0

    From Documment : 1236623.1
    Cause:
    1. Navigation from (Responsibility) System Administrator > Security > User > Define > Query out the responsibility, found responsibility key is <NEW_VALUE>. ..................... This is wrong Navigation
    2. Found value <OLD_VALUE> is included in column role_name of the responsibility under the user by sql statement:......................................................................................... Not sure whats the old Value
    select * from wf_local_user_roles
    where user_name = '<user_name>'
    and role_name like '%<OLD_VALUE>%';
    Solution :
    4. Identify the Role (responsiblity) to be changed, click 'Show' to expand the record, select a date to field 'Active To' to provide an end date to this role assignment. ..... Not sure how to get role for particular responsibility.
    From Document : 1273157.1
    We have created new responsibility , But now we are getting error while END_DATE old responsibility.
    New Responsiblity name : BPC-160 DC Staff-New
    Old : BPC-160 DC Staff

  • Why self-defined access sequences of free goods can not work?

    Hi gurus,
    I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work!
    when i used the standard access sequences ,it is OK .
    Can anybody tell me why?
    thanks in advance

    Dear Sandy,
    Go to V/N1 transaction select your self defined access sequence then go in to the accesses and fields and check all fields are activated.
    Make sure that these fields are flowing in your sales order.
    I hope this will help you,
    Regards,
    Murali.

  • Getting error message FRM-40700:No such trigger: SPECIAL20

    Hi,
    We have designed a custom report (Quote) and would like to use Special Menu's(Reports Menu) to open this custom Report. When I try to open this Report using
    REPORTS->Quote, The Report is opening seccuessfully but i am getting following error message at the bottom of screen bar.How can I clear this message ?
    FRM-40700:No such trigger: SPECIAL20
    The code which I wrote in the custom.pll is
    IF (form_name = 'OEXOEORD') THEN
    -- Enable View Order Report -- V1.4 --
    if (event_name = 'WHEN-NEW-FORM-INSTANCE') then
    app_special.instantiate('SPECIAL20', 'View Order Report');
    app_special.enable('SPECIAL20',PROPERTY_OFF);
    else
    if (event_name='WHEN-NEW-BLOCK-INSTANCE') THEN
    if block_name='ORDER' then
    app_special.enable('SPECIAL20',PROPERTY_ON);
    else
    app_special.enable('SPECIAL20',PROPERTY_OFF);
    end if;
    end if;
    end if;
    if (event_name='SPECIAL20' and block_name='ORDER') then
    param_to_pass1 := name_in('ORDER.HEADER_ID');
    select order_number into param_to_pass2 from oe_order_headers_all where header_id=param_to_pass1;
    editor_pkg.report(BSI_Quote(param_to_pass2), 'Y');
    null;
    end if;
    end if;
    Please give me valuable inputs on this issue.
    Thanks,
    HTH

    Hi,
    your package " app_special" does a call to "execute_trigger('SPECIAL20');" ,
    but there is no trigger with this name in your form. ( perhaps an Menu-item exists with this name.)
    Lock for "execute_trigger" in:
    app_special.instantiate('SPECIAL20', 'View Order Report');

Maybe you are looking for

  • Multiple ID's on one computer

    Just bought a new iMac for our home office.  Can we set up multiple Apple ID's on one computer.  Do we each have our own itunes and app folders on the computer or do they get merged.

  • Getting ODI - 20088 error while Generating the Scenario.

    Hi Gurus, When i am trying to create a scenario for the duplicated Package i am getting the following error. Source temporary interface SDE_ORA_WorkorderDimension_EAM.W_WORKORDER_DS_SQ_WIP_DISCRETE_JOBS cannot be used as a derived table. Source datas

  • Recognising a third-part driver for 'Ingres' database

    Hi, Great product, SQL Developer. I use it a lot, recommend it to everyone. I am trying to connect to an 'Ingres' database. I have the JDBC driver jar file. I have gone to preferences -> Database -> Third party JDBC driver -> Add Entry. From here, th

  • How to create parameter: =Today() minus some number of days

    SSRS 2005 on XP SP2 How does one format a date time parameter as, for example, today's date minus 7? Attempting to use: =Today() - 7 throws the error "Operator '-' is not defined for types 'Date' and 'Integer' Thanks in advance

  • Body missing in recievr Communication channel payload

    hi all. i have done a  file to file scenario and when i tested it its working fine the message is showing in greencolour in sxmb_moni but when i look at reciever channel message(payload) its showing only header and trailer but no body (i can see the