FRM-41217

When running in Developer 6i, the code below works fine. Now we are upgrading to IDS Release 2, the code below is having an errorr: FRM-41217 Unable to get Report Job Status. Forms are runnning on web.
Code:
Declare
repid REPORT_OBJECT;
v_rep VARCHAR2(20);
rep_status varchar2(30);
tmp varchar2(2000);
v_parm1 Varchar2(1000);
v_parm2 Varchar2(1000);
BEGIN
v_parm1 := 'P_WHERE_CLS='''||nvl(:PARAMETER.p_where,'X')||'''';
v_parm2 := 'P_SHOW_DOC='''||nvl(:REPORT.show_doc,'X')||'''';     
repid := find_report_object('REPORT1');
Set_report_object_property(repid,REPORT_OTHER,'PARAMFORM=NO');
Set_report_object_property(repid,REPORT_OTHER,v_parm2||' '||v_parm1);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER, 'REPORTSRVR');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
rep_status := report_object_status(v_rep);
END LOOP;
if rep_status in ( null, 'FINISHED', '' ) then
     MESSAGE('Report Completed ');
else
MESSAGE('Error when running report.');
Raise FORM_TRIGGER_FAILURE;
end if;
*********************************************** This part of code is the only different
/* For IDS 9i Release 2 */
tmp := '/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||
'?server='||:dummy.REP_SERVER||'&authid=orcladmin/workflow1';
/* For Developer 6i */
tmp := '/dev60cgi/rwcgi60.exe/getjobid='||substr(v_rep,instr(v_rep,'_'))||'?
server='||:global.report_Server;
Web.show_document(tmp, '_blank');
exception
when others then
     Message(sqlerrm);
END;

Most administrators turn the ability to check the status off because of security concerns. I know I do.
We make Form Developers call a URL rather than using the built in to run a report and loop to check the status.

Similar Messages

  • FRM-41217 Unable to get report job status

    Hi everyone
    Um running a forms9i (9.2.0.4.0) application on XP which connects to an oracle9i database. I recently moved the database to a new server but since then all reports do not run as I am getting the said error. No changes have been made to the location or content of the application. Could someone explain how this would be resolved?

    Nathan,
    does the Reports Server queuemanager shows any activity (e.g. Reports that fail) ? Can Reports connect to the database (e.g. can you run the Reports from a URL using teh http://server:port/reports/rwservlet?server=...&report=...
    request URL ?
    Frank

  • FRM-41214- unable to run reports

    Env:
    Solaris running 6i forms and reports server patched to patch 9.
    when calling report from form using run_report_object, I get
    FRM-41214- unable to run report
    FRM-41217- Unable to get report job status
    FRM-41213- Unable to connect to report server RepsrvSMARTS
    This only occurs for one of the reports. I am able to run a different report
    with no problem.
    TIA!

    Jim,
    My guess is that the problem identified in bug 1731733 is the root cause. It manifests itself in various ways (see related bugs). The base bug is 1953704 and is fixed in Net80, and is available in one-off patches for various platforms, including Solaris.
    regards,
    Stewart

  • Frm-41214 and frm41217

    hi there
    I got problem like this
    one form call report
    report object report17 property like the following
    name : report17
    filename : f:\ora9ias_bi\reports\report11.rdf
    report destination type : cache
    report destination format:html
    report server: repserver90
    report execution mode:batch
    report comm mode :sychnorous
    trigger code like the following
    declare
         report_id report_object;
         v_rep     VARCHAR2(100);
         rep_status VARCHAR2(20);
    begin
         message('before find');
         report_id:=FIND_REPORT_OBJECT('report17');
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'html');
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'repserver90');
         message('before run');
         v_rep:=RUN_REPORT_OBJECT(report_id);
         message('after run'||v_rep);
         rep_status:=REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status in('RUNNING','OPENNING_REPORT','ENQUEUED')
         LOOP
              rep_status := REPORT_OBJECT_STATUS(v_rep);
         end loop;
         if rep_status = 'FINISHED'or rep_status IS NULL THEN
              WEB.SHOW_DOCUMENT('HTTP://watfapp2.wat.michelin.com:7778/reports/
              rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
         else
              message('Error when running report');
         end if;
         end;
    it works fine on 9iDS environment
    when copy report11.rdf to http server ,f:\ora9ias_bi\reports,
    it is windows 2000 server
    rwserver -install repserver90 autostart = yes on http server
    copy forms.fmx to f:\ora9ias_bi\forms
    check http server register table
    reports_path f:\ora9ias_bi\reports
    add one entry on default.env file
    REPORTS_CLASSPATH=F:\ora9ias_bi\jlib\zrclient.jar;F:\ora9ias_bi\reports\jlib\rwrun.jar
    when I run the form call the report
    I got frm-41214 on run_report_object and frm-41217 on show_Document
    Hopefully somebody can give a help
    thanks in advance
    Lionel

    Lionel,
    all i could find was a problem reported for Reports9i that was about parameter values containing spaces. I don't see a space in your parameter settings, but you didin't mention if you use Reports_Other to pass additional values to the query.
    I found Note 235802.1 that should be available on Metalink
    Arte you passing anything else than the values you mention in your post ?
    Frank

  • STILL having issue with WebUtil/Run_Report_Object

    We tried the solutions that you suggested about including webutil.jar in the Reports Path. In fact, we did the following over several iterations and get these errors in place of the FRM-41213:
    FRM-41214: Unable to run report
    FRM-41217: Unable to get report job status.
    1) Added webutil.jar to our custom version of default.env
    2) Added webutil.jar to the regular default.env
    2) Restarted Reports Server
    3) Added /usr/oracle/product/webutil/lib/webutil.jar to the end of REPORTS_CLASSPATH in reports.sh, and restarted the Reports server again.
    The UNIX permissions for /usr/oracle/product/webutil/lib/webutil.jar are 665. Is this correct?
    Is there anything else that needs to be restarted besides the Reports Server?
    Any help is appreciated. This is a high-priority, critical path item for our project. We won't start Customer Acceptance Testing unless it's resolved.

    Hi,
    FRM-41214: Unable to run report
    FRM-41217: Unable to get report job status.
    could also be a problem with teh Reports Server not finding teh reports module. Can you check teh Reports Queue Manager (from ths Windows star menu) or try
    http://server:port/reports/rwservlet/showjobs?server=<report server name>
    --> click onto the Status link to get detailed errors if available.
    I assume that you don't use the in process server but a separate Reports Services process.
    Frank

  • Running report from forms

    hi,
    I am having problems in running report from form.
    I am using oracle 9i on windows 2000 server and no 9iAS at the moment. On client side, i have windows xp and 9iDS installed. I want to run report from forms in 9iDS testing environment.
    my forms are running ok but now i need to run report. so what i have done is that i have created a report object in form and following are enteries present in it at the moment.
    Name REPORT7
    FileName D:\Projects\IBMR\forms\soil_water_quality_data.rdf
    Execution Mode Batch
    Communication Mode Synchronous
    Destination Type Cache
    Report Server 9irep
    and in when_button_pressed trigger
    DECLARE
    Report_Id REPORT_OBJECT;
    Report_Job_Id VARCHAR2(20);
    Report_Status VARCHAR2(80);
    Report_Svr VARCHAR2(20);
    BEGIN
    Report_Id := FIND_REPORT_OBJECT('REPORT7');
    Report_Svr := '9irep';
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_FILENAME, '\projects\ibmr\forms\soil_water_quality_data.rdf');
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_OTHER, 'paramform=no');
    Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
    Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
    WHILE Report_Status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
    END LOOP;
    IF Report_Status = 'FINISHED' then
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(Report_job_id,instr(Report_Job_Id,'_',-1)+1)||'?'||'server=9irep','_blank');
    else
         message ('report server failed with error message '||report_status);
    END IF;
    END;
    i have installed report server with following command
    rwserver -install 9irep
    i have changed entry in rwservlet.properties like
    SINGLESIGNON=NO and i have removed the following entire block of 9irep.conf, which i have read from some documentation
    <!--security id="rwSec" class="oracle.reports.server.RWSecurity">
    <property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </security-->
    i get the following error message when i run my form
    frm-41214 Unable to run report
    and then next message is
    frm-41217 unable to get report job status
    i debugged the report id and it is
    9irep_0
    returned by Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
    When I checked the Report Queue Manager
    it is showing status like
    (9irep)Terminated with error
    and detail it shows is
    Unable to connect to the specified database.
    Now I am wondering what to do next.
    any suggestions???????

    Hello,
    From your description, it seems like the report is faling due to a database authentication problem. When you run your report from Forms, Forms internally passes the its database connection information to Reports automatically. So ensure that you are connected to a valid database in Forms, before the report is called.
    Please verify whether a simple report which does not require a database connection, for example, a report containing only a boilerplate text object, is running correctly. Also, in the trigger code that you have specified, you should add the following:
    SET_REPORT_OBJECT_PROPERTY(Report_Id, REPORT_DESTYPE, CACHE);
    so that the report output gets generated to the server cache, and can be retrieved using rwservlet/getjobid.
    Thanks,
    The Oracle Reports Team.

  • Incorrect PDF output after Bursting an Oracle 9i Report

    I have created a report for distribution. It is a single query based on several tables. I have 3 repeating frames -1 for the Budget Holder, then the cost centres for the Budget Holder, and then the nominal account for each of the cost centres.
    I removed the repeating frame for the Budget Holder and in the Main Section of the report set the "Repeat On" field to Budget Holder.
    The XML that I am using is :-
    <!-- Send a mail with an attachment for each budget manager -->
    <destinations>
    <foreach>
    <mail id="BudMon1"
    to="[email protected]"
    subject="Budget Monitoring Position Statement for &amp;&lt;TRIM_SUBSTR_BMBALSUM_BUDGET_HO&gt;">
    <body srcType="text">Attached are your current periods Budget Monitoring Figures.</body>
    <attach format="pdf" name="rep_&amp;&lt;BUDGET_HOLDER&gt;.pdf" srcType="report" instance="this">
    <include src="mainSection"/>
    </attach>
    </mail>
    </foreach>
    </destinations>
    The distribution is working correctly as far as creating the correct number of files and attaching the files to the individual emails.
    The problem is the content of the PDF report. For example if there are 2 Budget Holders and I run this report for each Budget Holder separately. It would generate 2 PDF's Budget Holder A has a 5 page report and Budget Holder B has a 2 page report.
    If I run the report for a range of Budget Holders and attempt to distribute the report it correctly generates 2 PDF's files with their ID's as part of the filename.
    In the file named A.pdf the resultant pdf is 6 pages - pages 1-5 of A's data and then the second page of Budget Holder B's data (page 2 of 2).
    In the file named B.pdf the resultant pdf is 6 pages - pages 2-5 of A's data is first followed by the 2 pages of Budget Holder B's data.
    It does not matter how many Budget Holders are in the range, the result is always the same. In each report there is all Budget Holders page 2 to ??? of data, except for the actual Budget Holders (M) whose report is being created, where all of their pages are included.
    If the other Budget Holders excluding (M) have only page 1 of 1, then this is not included in the report for M.
    Has anyone else experienced this problem before?
    Thanks
    Michael

    Hi Jennifer,
    The errors you are getting FRM 41214 and 41217 according to documentation means the following :
    FRM 41214 : Unable to run report.
    Cause: The report server was unable to run the specified report.
    Action: Check the Report server and make sure it is up and running.
    FRM 41217 : Unable to get report job status.
    Cause: There is a problem getting report status for a given report job.
    Action: Check the Report server and make sure that the specified job exists.
    The report itself is not run. Also it couldn't get report job status. Can you retry the operation after re-starting the server and also ensuring the report is run to success before firing the no result report.
    Thanks,
    Vinod.

  • Report object status not found

    The frm-41217 error is shown when runing report from forms, deployed from forms5.0 to forms 9.0.2.9. The form is in Oracle 9i Application Server Release 2.
    This forms is running using Internet Explorer 6.0
    I migrate this form using ifplsqlconv90.bat and the original call have PARAMFORM=NO
    The code generated are:
    lista := Create_Parameter_List('CUPMAT');
    Add_Parameter(lista, 'P_RUT', TEXT_PARAMETER, prut );
    Add_Parameter(lista, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    rp2rro.rp2rro_run_product(REPORTS,'c:\cup_matrut.rdf',ASYNCHRONOUS,RUNTIME,FILESYSTEM,lista,NULL);
    Destroy_Parameter_List(lista);
    My configuration is:
    windows 2000 server with Ora9iAS 9.0.2.2.0 with Bundled Patch 9.0.2.2.0 applied
    Jinitiator 1.3.1.9
    Browser IE 6.0
    Database Oracle9i Enterprise Edition Release 9.2.0.1.0

    Hello,
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_strt.htm#i1005629
    Beginning with Oracle Reports 10g Release 2 (10.1.2), running Reports Server as a Windows service is no longer supported (rwserver -install server_name). As a result, the related command line keywords INSTALL and UNINSTALL are also obsolete. If you start or stop a Reports Server that is managed by OPMN running as a Windows service or through the command line, you may face the following issues:
    Regards

  • Problems with reports on AS 10g R2

    Hi.
    We have installed a Oracle Application Server 10g Release 2 on a Windows Server 2003 SP1.
    We start the Report Server with rwserver server=<servername>
    We put one entry for this report server in the tnsnames.ora.
    Which port is used for report server? There is a standard entry with port 1950. So we now set the new entry to port 1951.
    And we set the path to the reports in the <ASHome>\reports\<servername>.conf for "SourceDir".
    What is also needed? Have we forgot something?
    When we start a report via http://<host>:7778/repdemo/runrepIAS.html on this report server, it doesn´t work. We got connection errors (connection refused).
    Normally we want to start the reports from our forms-application. The forms and reports are migrated from an old 6i application (running in the past on a 9i AS and DB).
    We don´t know what the problem is.
    When we connect via forms we got the error: FRM-41214 ("can´t run report") and FRM-41217 (can´t get job status). The 2nd error is based on the first I think.
    And when we start from a other computer the forms and want to run the reports, it runs and runs ... until world go down...
    I hope someone can help.
    Thanks for any suggestions.

    First of all, did you install the Reports Demo on this Application Server? If so, did you follow every steps in the Demos installation guide?
    Also, did you set up this Application Server according to the documentations? Reports_Path etc...?
    ... and as this is a Reports issue, I'd suggest to ask it in the Reports Forum for best response!
    Regards,
    Martin

  • 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');

  • FRM-92010 Error while saving a form in HRMS

    Hi,
    I created a new 12.1.1 instance and impletented HRMS as per doc id#145837.1.
    Applied patch 8934107, Ran DataInstall and hrglobal.drv.
    Now while saving the forms we are getting the following error: (in application.log)
    10/05/13 18:12:03.269 formsweb: Forms session <1> aborted: unable to communicate with runtime process.
    10/05/13 18:12:03.270 formsweb: Forms session <1> exception stack trace:
    java.io.IOException: FRM-93000: Unexpected internal error.
    Details : No HTTP headers received from runform
    at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    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 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)
    I have also applied patch 8682249 as per doc 867501.1 (since error was the same) but still no luck.
    Please help.
    Regards,
    Neeraj
    Edited by: user556153 on May 13, 2010 6:19 AM

    Hi;
    Did you checked
    Queries Error With FRM-92101 In Many NLS Forms [ID 443922.1] << seems similar error like yours
    Forms FRM-92050, FRM-92100, FRM-92101, FRM-92102 Reference Guide [ID 444690.1]
    If its not help please enable trace
    How To Perform System Tracing For All Forms Runtime Processes? [ID 400144.1]
    Regard
    Helios

  • FRM-41211 Integration Error SSL - OracleAS 10g

    Hi.
    I have error Frm-41211 Integration Error SSL Failure Running Another Product error while calling a report from web form in oracleAS 10g.
    I have problem with RUN_REPORT_OBJECT in web forms.
    I have error: FRM-41211 SSL integration error .....
    OracleAS server began on Windoes XP SP2.
    Do you help me ?

    Hi,
    I remember having seen this issue in teh apst. My best recommendation is to work with customer support (metalink.oracle.com)
    Frank

  • FRM-41211 Integration Error SSL - Oracle Forms 10g

    Hi all.
    I have FRM-41211 Integration Error SSL Failure Running Another Product error while calling a report from web form in oracleAS 10g.
    I have problem with RUN_REPORT_OBJECT in web forms in this code:
    =====================================================
    DECLARE
    BEGIN
    repid := find_report_object('MODULE21');
    v_rep := RUN_REPORT_OBJECT(repid);
    -- jobid := substr(v_rep, length('rep60_WS70004')+2, length(v_rep));
    -- web.show_document('/reports/rwservlet/getjobid'||jobid||'?server=rep3945','_blank');
    END;
    =====================================================
    I have error: FRM-41211 SSL integration error .....
    OracleAS 10g server began on Windows XP SP2.
    Do you help me ?
    Very thanks !!

    Do you help me ?
    Thanks.

  • FRM-92101 error while running report from a button or menu

    Hi All,
    I am getting the error FRM-92101 while running report without parameter from a button or menu. I am using Developer Suit 10g. I get the error as it shows there has some configuration problem in my form. Will you please help me anyone how can i solve the problem. My previous forms running very well both with parameter and without parameter.
    Arif

    Hello Sir,
    Thanks for your cooperation. I have solved my problem by myself. The fact was that, when i tried with the following code which made my report---
    SELECT br.bid, br.bname, br.branchtxnstatus, dif.difference
    FROM branch br,
    (SELECT gladbrid branchid,
    SUM
    (CASE
    WHEN ga.gl_acc_categry IN ('L', 'I')
    THEN gd.gladbalance
    ELSE -1 * gd.gladbalance
    END
    ) AS difference
    FROM glaccount ga, glaccountdetail gd
    WHERE ga.glid = gd.gladglid
    GROUP BY gladbrid) dif
    WHERE dif.branchid = br.bid AND br.branchtxnstatus = :Br_Status
    and dif.difference!=0
    ORDER BY br.bid;
    and the code against the button or menu item is---
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('ASSET');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://192.168.0.21:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    Clear_message;
    END;
    Clear_message;
    which has shown the error FRM-92101 and didn't run the report.
    In that case I have changed the query to run the report. first of all i create a view following the query and build the report using a simple select query. that's etc. my report running fine now.
    It is mentioned that there had no error on my codes.
    Arif

  • Can not delete record from the master block ,frm-40202 field must be entere

    hi ,
    i have built a form which contain master and details blocks
    the problem is
    when i try to delete a record from the master block it gives me new serial for the transaction and when i try to save it, it says
    >frm-40202 field must be entered
    where this field is required and i cant save it
    although in another form when i delete from the master it gives me the previous record and it works properly
    if any one has any ideas pls help me
    thank u
    ------- the master block has a trigger when-create-recoder
    Declare>v_dummy number;
    Begin
    Select nvl(max(ERNT_NO),0) + 1 >Into v_dummy
    From LM_RENT_EXPNMST >Where cmp_no = :LM_RENT_EXPNMST.cmp_no
    And brn_no = :LM_RENT_EXPNMST.brn_no>and fiscal_yr = :LM_RENT_EXPNMST.fiscal_yr;
    >:LM_RENT_EXPNMST.ERNT_NO := v_dummy;
    END;
    IF :PARAMETER.RNT_NO IS NOT NULL THEN
         :LM_RENT_EXPNMST.RNT_NO:=:PARAMETER.RNT_NO;
              :LM_RENT_EXPNMST.RNT_YR:=:PARAMETER.RNT_YR;
         :LM_RENT_EXPNMST.CUST_DESC:=:PARAMETER.RNT_ADESC;
    END IF;Edited by: ayadsufyan on May 8, 2013 2:03 PM

    If this is a FORMS question you should mark this one ANSWERED and repost your question in the FORMS forum
    Forms

Maybe you are looking for

  • Item user status at plant level

    Hi All I have configured certain User Status which are assigned to Item category. Item category is used in all the plants but user status is applicable for only few plants. So User status will also appear in those plants where it is not applicable. I

  • Cannot create a new layer when opening a gif

    Using Photoshop Elements 8, I open a gif that I want to change the text for. I open the file and the first thing I want to do is create a new layer, but I am not able to. the New Layer button in the layers area is disabled, as is the Layers menu.  Ho

  • SQL Memory Usage

    Hello I am updating some items with the DTW. i am updating 9000 items. I have made 9 files of 1000 records, i am just updating the picturname field. When i start to upload the files the SQL Memory usage starts to grow more and more. When i try to upl

  • Mobile Data entry configuration

    Hi All, What is the procedure to configure RF device for WM. Please let me know the step by step procedure for RF configuration for Put away and Stock removel. The help in this regard highly appreciated. Rgds Madhavan

  • Joining two datasets for one report

    Hi All, I have 2 datasets i want to joing together. The 1st is a mysql query and 2nd is a mssql query, I have set a parameter which is the userid from the mysql query and added this to my mssql query. If i execute the mssql query and add the paramete