Frm-40102

i have two block,both are non database block.one is master block (PAY_ROLL)and other is dtl block(PR_DETAIL).and i have a GENERATE PAY_ROLL BUTTON in which i pass the (v_month_year) and then call CALC_EMP_PAYROLL Procedure i have following coding in Procedure but i am getting Frm-40102 error.
CURSOR all_emp IS
                                                       SELECT DISTINCT e.emp_id                                        FROM emp                                              WHERE NVL(e.stat,'A') = 'A'                                   AND PAY_STATUS='N';
begin
SELECT COUNT(*)
INTO v_count
     FROM pay_roll
     WHERE To_Char(month_year,'MON-RRRR') = To_Char(P_MONTH_YEAR,'MON-RRRR');
IF v_count < 1 THEN
SELECT USER
INTO v_user FROM DUAL;
INSERT INTO pay_roll
VALUES(v_pr_id,P_MONTH_YEAR,v_user,v_user,NULL,'N',NULL,null,null);
FOR e IN all_emp LOOP
DECLARE
CURSOR all_emp_pays IS
SELECT PT_ID,AMOUNT
FROM EMP_PAYSTYPE
WHERE EMP_ID=e.EMP_ID AND VERIFICATION_STATUS='Y';
BEGIN
FOR P IN all_emp_pays LOOP
INSERT INTO PR_DETAIL2(PRD_ID,PR_ID,EAT_ID,EDED_ID,EALW_ID,PT_ID,AMOUNT,EMP_ID,PD_TYPE)
VALUES(SEQ_PR_DETAIL.NEXTVAL,v_pr_id,NULL,NULL,NULL,P.PT_ID,P.AMOUNT,E.EMP_ID,'P');
NEXT_RECORD;
END LOOP;
plz help me........
Regards,

Thanks for reply. I have keep all REQUIRE field No. but still getting error.
any help, i will be thanksfull
Regards,

Similar Messages

  • Form Error - 40102

    HI all,
    We are using Form version 6.0.8.11.3, Today we just got an weired error FRM-40102.
    In the application their is a Copy button when we press that button its copy all the data of its relative client. Now from today when we press this copy button its giving the above error. I have checked in the Oracle Form Doc. its saying no action required.
    Thanks

    I have checked Navigation property for that copy button and the mouse Navigation property is set to NO and Keyboard Navigation property is set to YES. The other two are set two NULL.
    I am new to Oracle Form so don't know much in deep. Could you please assist me solving this damn problem.
    Thanks Grant

  • Error 40102 creating a record

    Hi,
    this is 'my scenario'.
    In a Form I have created 2 blocks; the first is a data block with 15 rows and scroll bar, populated from a table.
    The second block is a toolbar with button save, new, prev etc.
    In the button New i have a trigger WHEN-BUTTON-PRESSED with statement Create_Record.
    When I click on New Button, this message is displayed:
    FRM 40102 Records must be inserted or deleted first
    How can resolve my problem ?
    Thank You and Best Regards
    Gaetano

    FRM-40102: Record must be entered or deleted first.
    Cause: You pressed [Next Record] or [Down] in a context where it is meaningless.
    Either:
    1. The last record in a block is the current record.
    2. The block is empty.
    3. You are in a new record in the middle of the block created by pressing [Insert Record].
    Action: No action is necessary. Level: 5 Type: Error
    can be resolved using the code under when-button-pressed
    :system.message_level:=10;
    go_block('emp');
    create_record;

  • The declaration of the type of this expression is incompleteor malformed

    error 320 at line 22 column 14
    the declaration of the type of this expression is incompleteor malformed
    error 0 at line 22,column 4
    statement ignored
    DECLARE
         v_value VARCHAR2(50);
         v_prod_id varchar2(100);
         v_prod_name VARCHAR2(100);
    BEGIN
         v_value:=:product.SIZE_LONG;
         v_prod_id:=:product.prod_id;
         v_prod_name:=:product.prod_name;
         IF v_value is not null then
         insert into product (prod_id,prod_name,DRESS_COMPOSITION,WASH_LABEL_INSTRUCTION,PRESSING_CHARGE,DYEING_CHARGE,
         EXTRA_CHARGE,FINISHING_CHARGE,ITEM_TYPE,TOTAL_FOB,SEASON_YEAR,INTERSTAT_CODE,RETAIL_EURO,WHOLESALE_EURO,
         RETAIL_USD,WHOLESALE_USD,RETAIL_GBP,WHOLESALE_GBP,CATEGORY)
         values (v_prod_id||'-L',v_prod_name||'-Long',:product.DRESS_COMPOSITION,:product.WASH_LABEL_INSTRUCTION,
         :product.PRESSING_CHARGE,:product.DYEING_CHARGE,:product.EXTRA_CHARGE,:product.FINISHING_CHARGE,:product.ITEM_TYPE,
         :product.TOTAL_FOB,:product.SEASON_YEAR,:product.INTERSTAT_CODE,:product.RETAIL_EURO,
         :product.WHOLESALE_EURO,:product.RETAIL_USD,
         :product.WHOLESALE_USD,:product.RETAIL_GBP,:product.WHOLESALE_GBP,:product.CATEGORY);
         LOOP
              insert into product_detail1(prod_id,item_code,item_name,qty,price,unit,avg_rate)
              values (:product_detail1.prod_id,:product_detail1.item_code,:product_detail1.item_name,
              :product_detail1.qty,:product_detail1.price,:product_detail1.unit,:product_detail1.avg_rate);
                   exit when NO_DATA_FOUND;
              NEXT_RECORD;
         END LOOP;
    elsif
         v_value is  null then
         delete from product where prod_id=(v_prod_id||'-L');
    end if;
    END;Please Guide
    why this errro comes
    Thanks And Regards
    Vikas Singhal

    i did that
         GO_BLOCK('product_detail1');
         FIRST_RECORD;
         LOOP
              insert into product_detail1(prod_id,item_code,item_name,qty,price,unit,avg_rate)
              values (v_prod_id||'-L',:product_detail1.item_code,:product_detail1.item_name,
              :product_detail1.qty,:product_detail1.price,:product_detail1.unit,:product_detail1.avg_rate);
              MESSAGE('KKKKKKKKKKKKK');
                   exit when :system.last_record = 'true';
                   NEXT_RECORD;
              END LOOP;
    AFTER THAT GIVING ERROR
    FRM: 40102 Record Must be Deleted Or enetered First
    the user requirement is
    i) First record is enetered
    master and detail
    after that he want same record for another record the only change is prod_code
    for LARGE,SMALL or SHORT etc.
    so i will create a button on form and a field with name size if the user choose the size and press the button then the one record is to insert in master detail and the prod_code is cahnged
    please guide
    Thanks And Regards
    vikas Singhal
    Edited by: vikas singhal on Aug 20, 2010 5:59 PM

  • Delete Multiple record in database block

    hi to all,
    i have one button. what i want if i press this button all the records that i selected from detail blocks will be deleted.
    i used this code but i always received an error : FRM-40102: record must be entered or deleted first.
    DECLARE
    Num_Total_Records NUMBER;
    Num_Loop_I NUMBER;
    BEGIN
    GO_BLOCK(<BLOCK_NAME>);
    FIRST_RECORD;
    LAST_RECORD;
    Num_Total_Records := TO_NUMBER(NAME_IN('SYSTEM.CURSOR_RECORD'));
    FIRST_RECORD;
    FOR Num_Loop_I IN 1..Num_Total_Records LOOP
    IF <CHECKBOX> = 1 THEN
    if <condition> then
    else
    if <condition> then
    else
    end if
    --condition is satisfied...deleted the selected record
    delete_record;
    commit;
    end if
    END IF;
    NEXT_RECORD;
    END LOOP;
    <................................................>
    END;

    baguhan,
    by this if u have selected all records, some records will won;t delete.
    because as poelger said, delete_record will already skip 1 record.
    so instead of the code u gave , its beter to all else portion in the condition and in the else portion gave the next record.
    this is the your code modified
    DECLARE
    Num_Total_Records NUMBER;
    Num_Loop_I NUMBER;
    BEGIN
    GO_BLOCK(<BLOCK_NAME>);
    FIRST_RECORD;
    LAST_RECORD;
    Num_Total_Records := TO_NUMBER(NAME_IN('SYSTEM.CURSOR_RECORD'));
    FIRST_RECORD;
    FOR Num_Loop_I IN 1..Num_Total_Records LOOP
    IF <CHECKBOX> = 1 THEN
    --condition is satisfied...deleted the selected record
    delete_record;
    commit;
    else
    NEXT_RECORD;
    END IF;
    END LOOP;
    <................................................>
    END;
    Regards,
    Manu

  • Forms6i behaviour

    hello everyone..
    i have master-detail block form..
    my header block has 2 fields ..
    - tdate (defaulted wth sysdate) and
    - tno (disabled at runtime)
    - tref a Non-required field
    my detail block has
    - actno
    - acode and
    - acamt
    Join relation is set to cascading...where hblk.tno=dblk.actno
    1 of my header block level trigger;
    WHEN-CREATE-RECORD
    get_tno(:tno);
    which brings value for field 'tno' when the form is in CREATE
    i hav WHEN-VALIDATE-TRIGGER for 'tdate'
    get_tno(:tno);
    whats happening is, when the form is dislayed for the first time,
    'tdate' gets its value from sysdate, the cursor is in 'tno' field,
    now lets say at this point,i press down-arrow key,
    'tno' gets filled with a number..(due to triggers defined above)
    and form advances to next new header record No.2,,without promptng that no detail record have been entered for header record No.1.
    As a result, if i unknowingly complete the transaction entering the detail section,
    believing that the i am enterting for the first headerrecord...
    Form actually saves 2 transactions as a result...one with just a header and no details records for it...
    when i press again down-key at the second record,then it flashes error, frm-40102-Record must entered or deleted...
    and stop me from advancing to the 3rd header record.
    i want this message to get raised, when form is at the first record itself....
    any ideas what should i change...
    TY..
    Edited by: enlighten on 26-Jun-2011 21:21

    I assume tno is a Sequence. why you are using sequence no in when-validate-item

  • Some needs in multirecord block

    Hi,
    I need to do some modifications in a multirecord block and need some help
    --i need to loop each record to compare if end date field in the previous record is not greater than the start date field in current record
    --i need also for records which already exist, to disable update on the start date field
    do you have any idea on how to do that? thank you very much and any help will be appreciated.
    Thx

    Hi,
    and thanks
    I did the modification but getting a FRM-40102 Records must be inserted or deleted first,
    do you have any idea on the root cause?
    Also, how to compare values in previous row with values in current row?
    Thanks
    Edited by: Tabit7 on 2012-02-11 08:50

  • Releasenotes, bugfixes and enhancements

    Hello,
    I'm currently using Headstart version 6.5.1(.0). Can anyone send me the releasenotes, bugfixes or enhancements of all patches since then till version 6.5.3., or can anyone give me a good reason of upgrading.
    All can be send to [email protected]
    Thank you very much.

    Kristof,
    The release notes of all patches.
    Headstart Oracle Designer PATCH 6.5.3.0 FOR 9i
    ==============================================
    This patch is ready for use with Designer 9i, Forms 9i and Reports 9i.
    Also it addresses the following bugs and enhancement requests
    (mostly the same that are addressed in PATCH 6.5.3.0 FOR 6i):
    Bug No. Description
    ====== =======================================================================
    2309129 - ERROR IN UNLD_RPTS.SQL SCRIPT
    2309202 - NAVIGATOR FORMS DO NOT HAVE CG$STARTUP_MODE, CAUSES ERROR
    2441289 - SAVE BUTTON STAYING DISABLED WHEN IT SHOULD BE ENABLED
    2482013 - LOGGING INTO 9I SERVER AS SYS MUST BE DONE AS SYSDBA
    2483045 - CHANGE OBJECT LIBRARY USAGE STANDARD IN HEADSTART USER GUIDE
    2497339 - CALENDAR-LOV WITH TIME HAS EXTRA BUTTONS, PROBLEM WHEN NULL VALUE
    2499198 - USE CALENDAR LOV, GET FRM-40102: "RECORD MUST BE ENTERED OR DELETED
    FIRST"
    2504387 - SET QMSOLB65.OLB DISPLAY ONLY ITEMS (CGSO$%_DO) TO ENABLED=YES
    2520101 - OFGTEL65.PLL CANNOT BE COMPILED AGAINST HST65 TEMPLATE PACKAGE OWNER
    2520119 - GENERATION OF HEADSTART DEMO FORM HSD0034F GIVES CDG-01117 INVALID
    DISPLAY TYPE
    2520191 - MESSAGE QMS-00125 DOES NOT EXIST IN QMS_MESSAGE_PROPERTIES, USED IN
    QMSLIB65
    2521218 - HEADSTART 6I DOES NOT COMPILE WITH FORMS 9I
    2529003 - CAPI SHOULD NOT INCLUDE COLUMNS WITH COMPLETE = NO
    2570562 - 'SAVE OLD DATA' NOT GENERATED WHEN CAPI UTILITY PARAM
    'TAPI TRIGGERS' IS NO
    2600939 - IF SUBTYPE ATTRIBUTE MAPPED TO MULTIPLE TABLES, UTILITY CAN TAKE THE
    WRONG ONE
    2605551 - STILL HAVE CODE FOR '_CASDEL' IN QMSLIB65.PLL QMS$FORMS_ERRORS
    2635597 - HEADSTART 6.5 UTILITIES THAT CALL BLTEXT.DELETE_TAGGED_BLOCK FAIL
    2635613 - CALL TO QMS$BLOCK.GO('<BLOCK NAME>') IN QMSLIB65 IS CASE SENSITIVE!!
    2635789 - CAPI VALIDATED BUSINESS RULE AGAINST WRONG ROW FROM INTERNAL ROW
    STACK
    2651107 - CHANGE_CONNECTION DOES NOT UPDATE ENTIRE INFO ABOUT APPLICATION
    Headstart Oracle Designer PATCH 6.5.3.0 FOR 6i
    ==============================================
    This patch addresses the following bugs and enhancement requests:
    Bug No. Description
    ======= ======================================================================
    2309129 - ERROR IN UNLD_RPTS.SQL SCRIPT
    2309202 - NAVIGATOR FORMS DO NOT HAVE CG$STARTUP_MODE, CAUSES ERROR
    2482013 - LOGGING INTO 9I SERVER AS SYS MUST BE DONE AS SYSDBA
    2441289 - SAVE BUTTON STAYING DISABLED WHEN IT SHOULD BE ENABLED
    2483045 - CHANGE OBJECT LIBRARY USAGE STANDARD IN HEADSTART USER GUIDE
    2497339 - CALENDAR-LOV WITH TIME HAS EXTRA BUTTONS, PROBLEM WHEN NULL VALUE
    2499198 - USE CALENDAR LOV, GET FRM-40102: "RECORD MUST BE ENTERED OR DELETED
    FIRST"
    2504387 - SET QMSOLB65.OLB DISPLAY ONLY ITEMS (CGSO$%_DO) TO ENABLED=YES
    2520101 - OFGTEL65.PLL CANNOT BE COMPILED AGAINST HST65 TEMPLATE PACKAGE
    OWNER
    2520119 - GENERATION OF HEADSTART DEMO FORM HSD0034F GIVES CDG-01117 INVALID
    DISPLAY TYPE
    2520191 - MESSAGE QMS-00125 DOES NOT EXIST IN QMS_MESSAGE_PROPERTIES,
    USED IN QMSLIB65
    2529003 - CAPI SHOULD NOT INCLUDE COLUMNS WITH COMPLETE = NO
    2570562 - 'SAVE OLD DATA' NOT GENERATED WHEN CAPI UTILITY PARAM
    'TAPI TRIGGERS' IS NO
    2600939 - IF SUBTYPE ATTRIBUTE MAPPED TO MULTIPLE TABLES, UTILITY CAN TAKE
    THE WRONG ONE
    2605551 - STILL HAVE CODE FOR '_CASDEL' IN QMSLIB65.PLL QMS$FORMS_ERRORS
    2635597 - HEADSTART 6.5 UTILITIES THAT CALL BLTEXT.DELETE_TAGGED_BLOCK FAIL
    2635613 - CALL TO QMS$BLOCK.GO('<BLOCK NAME>') IN QMSLIB65 IS CASE SENSITIVE!
    2635789 - CAPI VALIDATED BUSINESS RULE AGAINST WRONG ROW FROM INTERNAL
    ROW STACK
    2651107 - CHANGE_CONNECTION DOES NOT UPDATE ENTIRE INFO ABOUT APPLICATION
    Headstart Oracle Designer 6i PATCH 6.5.2.3
    CDM RuleFrame Performance Improvement
    ==========================================
    The main purpose of this patch is to improve the performance of the
    CDM RuleFrame engine when large transactions are involved.
    The functionality of CDM RuleFrame is only slightly changed by this patch:
    - The utility 'Create CAPI Custom Service' makes it possible to include
    a CAPI Custom Service (i.e. your own package or function) in more
    than one CAPI (see "BUG 2419371" below)
    - The utility 'Create VAPI Definition' can now also create VAPI's for
    subtypes (controlled by new utility parameter)
    This patch addresses the following bugs and enhancement requests:
    Bug No. Description
    ======= ======================================================================
    2070417 - PERFORMANCE ENHANCEMENT SUGGESTION FOR DISABLING CDM
    RULEFRAME IN BATCH MODE
    2204246 - USE NATIVE DYNAMIC SQL FOR RULEFRAME RUNTIME
    SOFTWARE
    2220682 - IMPROVE RULEFRAME RUNTIME PERFORMANCE WITH NOCOPY
    IN TRANSACTION MANAGEMENT
    2220697 - RULEFRAME STACK: USE TEMPORARY DATABASE TABLES INSTEAD
    OF PL/SQL TABLES
    2220707 - STORE ROWS IN RULEFRAME ROW STACK ON AN INDEX CALCULATED BY
    A HASH FUNCTION
    2220908 - ELIMINATE ROW STACK FROM CAPI AND MAKE OLD ROW STACK SMALLER
    2227746 - ENHANCE RULEFRAME PERFORMANCE BY MINIMIZING CAPI USE OF
    FIND_ON_STACK
    2249250 - WHEN CREATING CAPI FOR TABLE WITH MANY COLUMNS: ORA-06502 VALUE
    ERROR
    2259418 - IMPROVE RULEFRAME PERFORMANCE BY ENFORCING CERTAIN RULES
    IMMEDIATELY
    2394119 - RUNNING UTILITIES ERR.SQL GIVES ORA-20000: ORU-10028: LINE
    LENGTH OVERFLOW
    2394166 - WHEN BUSINESS RULE ALREADY EXISTS, UTILITY STILL TRIES TO
    INSERT TRIGGER
    2396132 - UTILITY JOURNALLING BUSINESS RULES ORA-01401: INSERTED VALUE
    TOO LARGE IN BLTEXT
    2419371 - POSSIBILTY TO USE SAME CUSTOM SERVICE IN MORE THAN ONE CAPI
    PACKAGE
    2441447 - REMOVE WORKAROUND FOR BUG 1347738 IN CAPI GENERATOR (HSU_CAPF)
    2481957 - DEFAULT IN SPECIFICATION OF HSU_BRTR.RUN AT WRONG PARAMETER
    2485658 - CDA-01305 COLUMN UID - WHEN SAVING RESULTS OF REFRESHING JOURNAL
    TABLE UTILITY
    Headstart Oracle Designer 6i PATCH 6.5.2.2
    ==========================================
    This patch addresses the following bugs and enhancement requests:
    Bug No. Description
    ======= ======================================================================
    2283093 - RUNNING REPORTS USING DESTYPE=CACHE FROM REPORT LAUNCH FORM
    2283122 - ERROR WHEN CLOSING WINDOW AFTER DUPLICATE RECORD KEY
    2285936 - PROBLEMS WITH REPORT LAUNCH FORM IN 6.5.2.1 SUPPLEMENT OPTION
    2303927 - QMS0012 REPORT LAUNCH FORM NO DEFAULT VALUES IN PARAMETERLIST AFTER
    STARTUP
    Headstart Oracle Designer 6i PATCH 6.5.2.1
    ==========================================
    This patch addresses the following bugs and enhancement requests:
    Bug No. Description
    ======= ======================================================================
    1696475 - ONLINE HELP FOR REPORTS HAS STRANGE URL
    1702857 - ORA-00600 WHEN TRYING TO RUN HEADSTART FORM USING FORMS DEBUGGER
    1727439 - POOR PERFORMANCE IN UTILITY 'CREATE CAPI DEFINITION'
    1727886 - ERRORS IN 'CREATE CAPI DEFINITION' UTILITY ARE IGNORED
    1747626 - RULEFRAME 6I BUS. RULE VIOLATION ON DELETED RECORD GIVES ORA-01403
    OR QMS-00100
    1754565 - PROCEDURE QMS$ABOUT_THIS_APPLICATION IS MISSING IN YOUR APPLICATION
    LIBRARY...
    1754740 - SETUP PART OF USER GUIDE SHOULD MENTION ACCESS TO HEADSTART DATABASE
    OBJECTS
    1754906 - CREATE FIND WINDOW(S) - SAVING CHANGES FAILED WITH CDA-01151
    1764270 - CHAPTER 17 REFERS TO SCRIPT HSU_USER.GRT, WHICH IS NOT AVAILABLE
    1769077 - SERVER SIDE INSTALLER SAYS USER ALREADY INSTALLED WHEN MANUAL IMPORT
    UTILITIES
    1769234 - LONG BLOCK.ITEM NAME RESULTS IN QMS-00100: ORA-06502:
    PL/SQL: NUMERIC/VALUE ERR.
    1769321 - VALUE ERROR IN HTML ONLINE HELP GENERATOR WHEN ITEMS HAVE LONG HINT
    TEXTS
    1781424 - CDM RULEFRAME: TRIGGER ALREADY EXISTS ERROR EVEN IF TRIGGER IS IN
    OTHER FOLDER
    1781454 - CREATE DOMAINS FOR DISCRIMINATOR COLUMNS TRIES TO UPDATE DOMAIN IN
    WRONG FOLDER
    1802399 - WHEN VIEWING LOG: UNHANDLED EXCEPTION IN VIEW_LOG_MESSAGES:ORA-06502
    1832171 - DROP THE PK ON QMS_TRANSACTIONS FOR PERFORMANCE REASONS
    1869480 - REPORTS MODULES NOT SHOWN IN MULTI SELECT LIST OF UTIL SET
    IMPLEMENTATION NAME
    1877521 - ORA-06502 WHEN MAINTAIN BUSINESS RULE DESIGN DEFINITIONS FOR STATIC
    DOMAINS
    1885204 - BUSINESS RULE TRANSFORMER: TRIGGERING EVENT <X> IS INVALID.
    IT HAS NO ENTITY...
    1890011 - UNABLE TO GENERATE DEFAULT NULL PARAMETER IN CAPI CUSTOM SERVICE
    1890029 - HSD 65 USER GUIDE MENTIONS STFFMB PREF.INST. OF PREF.
    SET QMS65_LOV_MODULE
    1890035 - SMALL OMISSIONS AND TYPOS IN HEADSTART 65 USER GUIDE
    1891637 - REDIRECT HEADSTART REFERENCED OBJECTS: INVALID VALUE FOR OLD QMS
    APP VERSION
    1978916 - WITH OLD DB TRIGGER, SEE 'ORA-20998'IN FORM INSTEAD IF THE ACTUAL
    MESSAGES
    1979278 - F9 DOES NOT WORK FOR LIST OF VALUES ON MODAL DIALOG FORM
    (ALSO UP/DOWN)
    1985903 - APPLICATION CLOSES WHEN USING MULTI-SELECT FEATURES IN MODAL DIALOG
    WINDOW
    1987743 - ORA-06508: PL/SQL: COULD NOT FIND PROGRAM UNIT.. <TAPI PACKAGE>.INS
    2093405 - WHEN INSTALLING HEADSTART IN A 9I DATABASE, CG$ERRORS WON'T COMPILE
    ANYMORE
    2101690 - ONLINE HELP FOR REPORTS (QMS0012F) DOESN'T WORK
    2148764 - CG$ERRORS WON'T COMPILE ON 9I DATABASE
    2148774 - ENABLED PROPERTY SET YES ON CGSO$..._DO OBJECTS IN OBJECT LIBRARY
    2176331 - ERROR WITH ORDER BY CURRENT FIELD
    2176348 - GET ERROR IF LAST REPORT PARAMETER IS TYPE DATE
    2176364 - CREATE VIEW DEFINITION DOESN'T UPDATE WHERE CLAUSE OF DOMAIN KEY
    CONSTRAINT
    2185321 - COMPILATION ERRORS ORACLE 9I: DIFFERENCES PARAMETER DEFAULTS PACKAGE
    SPEC/BODY
    Regards,
    Marcel

  • 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

  • Can not delete the  last record ,  frm-40202 field must be entered

    hi ,
    i have built a form which contain master and details blocks
    the problem is
    when i look for a record by executing query on on transaction serial and try to delete this 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
    the question is :
    why it gives a new serial when i delete the record ??if any one has any ideas pls help me
    thank u
    ------- the master block has a trigger when-create-record
    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;

    Hi ayadsufyan,
    As it looks Andreas assumption of internal status change was correct. So taking into account this fact I would assume you are doing some data manipulation on the row you are unable to delete.
    What I would suggest to do is to put the following code in your KEY-DELREC trigger :
    clear_message;
    message(:system.record_status);pause;Now when you delete the record you should get the INSERT status of the record. If so it definitely means you are doing some manipulation on the record you are trying to delete. From this point on you will have to pinpoint the offending code.
    Best regards.
    Edited by: GregorM on May 11, 2013 10:41 AM

Maybe you are looking for

  • BAPI to post a Goods issue with relation to Sales Order?

    Hi Everyone, After creating a delivery order, I need a BAPI to automatically post a goods issue for this DO. I tried using BAPI_GOODSMVT_CREATE but it returns the message 'Goods Movement not possible with mvmt type 601'. Any advice? Best Regards, Jun

  • How to make MSI D16 (MS8216S) read DVD+RW disks

    Greetings I have MSI D16 drive, for the last 6 months. When I found out that it cant read the DVD+RW disks, I replaced it with the NEC Drive. Since MSI havent released nothing since 2003. Why was this drive in strores in 2004? Is there some beta firm

  • 培训邀请函 - SAP DB2 Migration Optimization workshop -- SAP DB2迁移优化 (免费)

    尊敬的客户,您好: 为了帮助SAP客户更好地进行系统异构迁移,提高用户在DB2数据库环境下的SAP迁移和管理能力,我们代表IBM公司邀请您参加由IBM公司提供的<SAP DB2 Migration Optimization>培训. 此次免费培训将在北京(4月12日 -4月14 日 )举办.授课对象为具有一定SAP管理经验,希望进一步深入了解DB2 LUW,并了解如何在SAP环境下有效进行异构迁移的SAP系统管理员,DBA和技术顾问.培训为每位学员提供实验环境,其授课目标为: u2022     

  • Oracle Express ~ HR Schema visual

    Good day, How can I see the schema visual in SQL Developer? I want to see how each table is joined, is this possible? Thanks, J

  • How to query if item is mutistate without selecting it

    Is it possible to query whether a page item is a multistate item without having to select it first? Currently I'm having to select it then call: InterfacePtr<IFormFieldSuite> formFieldSuite(SelectionUtils::QuerySuite<IFormFieldSuite>()); bool16 multi