Handling AutoSave feature in Oracle Forms

Hi All,
For one of our requirement we need to invoke a custom form during save of standard order mangement form.
Working Cases:
1. When user enter line details and click save button in the menu, custom form open without any issues.
2. When user enter line details and give CTRL+S, custom form open without any issues.
Failing Cases:
1. When user creates a new line and navigate to previously created line.(Eg: creates new line 3.1 and navigates to 2.1). What happens is, the line gets auto saved. User is not using save button/CTRL+S options. During this the custom form is not getting invoked.
2. When user creates a new line and navigate to header region. (Eg: add new line 3.1 and click header tab). Now again the line gets auto saved. Custom form is not getting invoked.
3. When user changes a field and navigates to another field. Eg: Changes unit selling price and tabs out. Changes getting auto saved. User is not using save button/ctrl+s options. During this case custom form not opening.
Summary:
Custom form gets invoked if user add/modify lines and press save button/Ctrl+S.
If user do autosave as mentioned in failing cases, custom form is not getting invoked.
Request to provide pointers in handling the failing cases. In which triggers we need to handle the codes to invoke the custom form. Any pointers/Suggestions will be helpful.
Thanks in advance.
Regards,
Rajesh.

The required functionality can be achieved by -
1. When user created a new record and moved to an existing record w/o explicitly saving it.
Just track a mandatory field, say USP in this case. Compare the values of that field in when-new-record-instance and when-validate-record. If there's a difference, we can invoke the custom form.
2. While at the item level, we have to track it down with when-new-item-instance for the desired item. As, when-validate-item is not supported by PLL.
But, for the data concerned with both these cases to be populated in the custom form that you are invoking, you need to issue a commit statement before invoking the form.
Regards

Similar Messages

  • How to handle Java popup in oracle forms application through Open Script?

    I want to record and test oracle form application but it popup java dialogue box and Open Script can't handle java object.
    So how to handle the Java popups in forms application?

    Hi, Have you been able to resolve this?

  • How the handle the LOV in oracle forms 10g

    Hi All,
    Could anyone can tell how to handle the LOV error in blocks as no data is there in db..while clicking on button, the LOV message is getting continously and its not allowing me to close the screen, this makes me to forcefully close the applicaiton...
    please suggest how to handle this..
    Regards,
    Badri.

    You should ask this in the Forms forum (this is the Reports forum) and when doing that, mention your Forms version etc. Also, explain what you mean by this:
    LOV error in blocks as no data is there in dbWhat error do you get? An LOV can return no records without a problem, so you probably did not use standard LOV funtionality.
    while clicking on buttonWhat is the code behind this button?

  • Calling Sql*Loader from oracle Form builder

    How do i call sql* loader from my forms to import the external data in different formats into my existing database?
    Specify the flexibility of sql* loader to import external data from .txt files or .xls files.
    Would be thankful if certain examples are given along with the answer.

    Hi,
    1. First you have to create seperate ctl (Control files) which maps to different file formats
    2. Using Oracle Forms,
    2a) You can use the 'HOST' command to execute the command line ie. In this case executing
    SQL*Loader script
    2b) You also have the feature in ORACLE forms to read text files and load the data into
    ORACLE db.
    This can be achieved by using TEXT_IO package which comes with ORACLE Forms.
    Hope this helps
    Ta
    Shailender

  • Enterprise portal integration with Oracle forms

    Hi
    Can anyone help me on this .
    "Enterprise portal integration with Oracle forms".
    I want to integrate oracle forms to EP .I am trying to work with app Integrator but I am not able to make any headway.Do you have any documents pertaining to this or any place where I can look for details.
    Thanks
    Alok

    Hi,
    i'm not aware of special integration feature with Oracle forms, but if as you said we are talking about a web application available via url then i see no problem doing so. the way you can implement the SSO is using something called Application Integrator which helps you build smart URL iView's that can use the portal framework (like systems, user profile , etc) , so you can build your oracle forms integration iView that will take the user password data from the portal (via system) using user mapping or sap logon tickets.
    for more details on Application Integrator see
    http://help.sap.com/saphelp_nw04/helpdata/en/70/5a3842134bad04e10000000a1550b0/frameset.htm
    regarding to the java applet, i don't really know what you mean by "jinitiator" but if your regular browser can do it then i see no reason for problems.
    i hope it helps

  • Help for designing the same forms like Oracle form!!!

    Hi everyone!
    I am working for some projects and now I want to make a form like Oracle form, there are some features in Oracle form that I don't know how to do the same so I would like to ask someone here. Please help me to design form like the form I mention below. I mean when I open my form, it must be the same with Query Material after that I press Enter then it must be the same Material Workbench form. Please help me!!! Thanks in advanced.
    Inventory => On-hand Availability => On-hand Quantity, it will display Query Material Form then Enter after that it will display Material Workbench.

    Hi, welcome to the forums. Please take a few minutes to reveiw the following:
    <ul>
    <li> Before posting on this forum please read
    <li> 10 Commandments for the OTN Forums Member
    <li> Announcement: Forums Etiquette / Reward Points
    </ul>
    If you follow these general guidelines, you will greatly increase your chances of getting a solution to your question in a shorter period of time. While your questions may make sense to you - when you post a question here, you have to remember that we do not have the same point of reference as you. You can't assume we will understand vague references like *"I want to make a form like Oracle form"*. I've seen so many different UI variations in Oracle Forms that a blanket statement like this has no meaning. The only thing that limits the funtionality of a Form is your imagination.
    Perhaps, after reviewing the aforementioned articles, you could provide us with some basic information like your Oracle Forms version, Browser and version, OS and version and a more detailed description of the type of functionality you are trying to emulate. With this information, we (the Forum participants) will be better able to help you.
    Regards,
    Craig...

  • Capabilities of Oracle forms 10g

    Hi,
    I have some requirements from the client and trying to analyze what all features are present in Oracle 10g forms so that we can take a decision regarding which form software to use:
    1.)In an entry field of oracle form can we attach a document(word or pdf)or an image.Also how does this file get stored in the database.
    2.)Can we define a workflow in Oracle forms.That is developing a sequence of different forms and the user enters the data in first form and by clicking on next button navigates to 2nd form and finally submits the data.Can this functionality be achieved.
    3.)Is spell check available for the form while it's content is being entered as we have huge amount of data to be entered via forms.
    4.)How is Role based security implemented i.e some selected group of users have access to particular forms and even within forms some of the input fields available for entry are also filtered depending on the profile of the user.
    5.)Can we generate a pdf output of a particular form.
    6.)From security perspective do the Oracle forms have digital signature capability.
    7.)Can the users temporarily enter the data in the form and then save it and again edit it at some later data and finally submit.Can we achieve this functionality.
    8.)Does ORacle forms comply with the latest XForms standard.
    9.)Are ORacle forms 10g XML based.
    Answers to above questions would be highly aprreciated.
    Thanx
    -Vipul

    We currently have forms developed on Pure Edge and we would like to replcae those forms with either Documentum or Oracle Forms.Just trying to understand the features of Oracle Forms and analyse the effort required to replace Pure edge forms with oracle forms.
    If Oracle forms does'nt have digital signature capability then is there any other type of identification and authorizing capability within the form.Basically the reqirement is that the person who fills up the form should sign it also.
    Thanx

  • Oracle Forms New Features - Your input.  Supporting data types

    I am interested to know IF we were to support any new database types in Oracle Forms 11g, which types would you like supported and why. I'd also like to know if you are currently working around the absence of a database type.
    Please note, this is not any kind of commitment to support new data types in Oracle Forms applications but we are interested to know if there is demand and if so, for what types.
    Thanks
    Grant Ronald
    Oracle Forms Product Management
    p.s lets keep the thread focused on the topic so please don't post technical questions or comments about different new features - if you want to, start a new thread - thanks

    Hi Grant,
    support for the "new" - well they exists since 9iR1 ... 2001 - data types TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE, INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND would be very helpful.
    Currently it's not possible to use the Data Block Wizard to create a data block for table/view that contains one of these columns.
    (In Forms Builder 10.1.2.3 it fails with a strange error message ... iewbdbc_oracle_to_id ... C:\forms\101220\src\ie\iewbdb.c:724 ...)
    So, one has to create the data block and the items manually. The items have to be CHARS.
    Then forms is able to fetch and display these columns. The user can edit them as normal.
    A WHEN-VALIDATE-ITEM trigger can be used to make sure that the implicit conversion from CHAR to the "new" datatype works.
    For example, an INTERVAL YEAR TO MONTH column (b):
    declare
      l_invalid_interval exception;
      pragma exception_init(l_invalid_interval, -1867);
      l_invalid_month exception;
      pragma exception_init(l_invalid_month, -1843);
      l_dummy interval year(9) to month;
    begin
      l_dummy := to_yminterval(:block2.b);
    exception
      when l_invalid_interval
      then
        message('invalid interval');
        raise form_trigger_failure;
      when l_invalid_month
      then
        message('invalid month');
        raise form_trigger_failure;
      when others
      then
        message(error_text);
        raise form_trigger_failure;
    end;This nasty trick works for most of the "new" datatypes except with TIMESTAMP WITH TIME ZONE.
    In Forms 10.1.2.3 the following WHEN-VALIDATE-ITEM trigger can (incorrectly!) fail:
    declare
      l_dummy timestamp with time zone;
    begin
      l_dummy := to_timestamp_tz(:block2.a);     
    end;It fails with "ORA-01804: failure to initialize timezone information", if the time zone is not like "-11:00", but like "EUROPE/PARIS". Don't know why...
    If we recode our trigger to make a round-trip to the database, it works:
    declare
      l_dummy timestamp with time zone;
    begin
      select to_timestamp_tz(:block2.a)
      into   l_dummy
      from dual;     
    end;We could avoid these tricks, if Forms (and Reports) would support these type natively.
    Thanks, Michael
    PS: The TIMESTAMP and INTERVAL data types should of course be supported as items, parameters, globals and record groups columns.
    Edited by: michael76 on 25.10.2010 01:14

  • New features I like Oracle to include in Oracle Forms

    I believe Oracle Form is the best tool to develop Database Application in Oracle Database. The weakness I see in Oracle Forms 10g may be its deployment as Java Applet. Java Applets are to be downloaded in the client browser, that's why it's not lightweight as PHP/ ASP/JSP scripting technology. So as a true web application it is not really handy.
    Oracle provides JDeveloper/ Apex to accomplish that. But JDeveloper is very complicated to understand and Apex is rigid and you have little freedom on your user interface design, you cannot design a page as freely as you do in Adobe Dreamweaver for PHP. We as Form developer want oracle to develop a new development tool with following features:
    1. Language will be PL/SQL.
    2. There will be simple drag and drop interface design.
    3. It will generate HTML/JSP page so that it can be light weight.
    4. Provide a wide range of packages to accomplish javascripts/ajax while using PL/SQL language. Developer will just know what to do and by what technology javascripts/ajax, and accordingly invoke packages from withing PL/SQL editors.
    5. Will have good old simple look in Form Development (JDeveloper is so complex and Apex is so shy in revealing it's features) while having same even better inner strength of developments.
    6. Will require no client side tool like jinitiator or jre
    7. Better and easy or even no use of web_util package but still accomplish file/image/spreadsheet access
    Bye
    Hasan Al Mamun
    Edited by: hasan_al_mamun on Mar 20, 2010 7:31 PM
    Edited by: hasan_al_mamun on Mar 22, 2010 10:51 PM
    Edited by: hasan_al_mamun on Mar 22, 2010 10:53 PM

    Hasan,
    There is a dedicated thread for that:
    What new features would you want to see in Oracle Forms?
    Francois

  • Java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava

    Hello to all
    I hope it is right forum for my question
    I have found for error I get in Directprint this following:
    When you migrate to the latest Forms version (10.1.2.3 or 11) and try using a JavaBean created with an older Forms version, you can get the following error, at runtime, in the Java Console:
    Exception in thread "thread applet-oracle.forms.engine.Main-1" java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet
    The reason is you try to use a Java Bean compiled with an older Forms JAR file, like f90all.jar.
    So, to correct the issue, you have to change the Java code then re-create the JAR file:
    private Main formsMain = null;
    Replace:
    formsMain = (Main) handler.getApplet();
    by:
    // getting the Forms Main class
    try{
    Method method = handler.getClass()
    .getMethod("getApplet", new Class[0]);
    Object applet = method.invoke(handler, new Object[0]);
    if (applet instanceof Main) {
    formsMain = (Main)applet;
    }catch(Exception ex) {;}
    Then create and deploy the new JAR file to your /forms/Java folder.
    My problem is
    But I am very poor in java code, could you guide me to do what that article said, or pointing me where find instruction how do this following
    So, to correct the issue, you have to change the Java code then re-create the JAR file:Can I create Jar Directprint.jar, with command
    jar cf jar-file input-file(s)
    C:\DevSuiteHome_1\jdk\bin\jar cvf DirectPrint.jar DirectPrint.java
    Because when I open jdeveloper to associate (Creating JAR deployments using JDeveloper ) it got error (jdeveloper with debug
    Thanks for any help

    I hope it is right forum for my questionIt's not {noformat}:){noformat}
    Try {forum:id=82}
    Best,
    john

  • How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods

    Hi All,
    How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods.
    This is a enhancement requirement.
    When ever user enter value in field 1 then automatically cursor should go to next field.

    Hello Bobb,
    You can create a trigger(when-list-changed) for each list item where you could:
    1.recreate the record groups and then use POPULATE_LIST so you can hide the selected values. In forms builder online help there are some good examples about create record groups dynamically.
    or
    2.you can perform a validation instead of hiding the selected values. If the values is already selected the display a message 'Value already selected....'
    Second option is much faster(only an 'if clause')
    Hope this helps.
    Regards,
    Alex

  • Handling oracle forms errors (frm-nnnnn) locally

    is there a way to handle an oracle form error (e.g. frm-40508) locally in a way similar to handle oracle database errors.
    e.g.
    procedure insert_something is
    insert_error exception;
    pragma exception_init(insert_error,-40508);
    begin
    :c1.a := 1;
    :c1.b := 2;
    commit_form;
    exception
    when insert_error then
    <handle insert error on c1 block>;
    end;
    Edited by: mojo on Oct 7, 2008 4:34 AM

    by locally i mean within the pl/sql block that will have raised the error.
    an example i encoutnered recently, but by no means the only occasion i have wished such things:
    function mseRecStatus returnvarchar2 is
    rtnChar varchar2(32);
    begin
    rtnChar := get_record_property(mouseRec,mouseBlock,status);
    return rtnChar;
    end;
    This is called from a pre-pop-menu trigger. mouseRec and block are calculated previously. A right-click on a record item below the last record raises error frm-40741 (unable to locate record on block). it would be nice to be able to do something like the following without incolving an on-error trigger:
    function mseRecStatus returnvarchar2 is
    rtnChar varchar2(32);
    non_record_clicked exception;
    pragma exception_init(non_record_clicked,-40741);
    begin
    rtnChar := get_record_property(mouseRec,mouseBlock,status);
    return rtnChar;
    exception
    when non_record_clicked then
    return null;
    end;

  • 1Z0-140 Oracle Forms Developer: New Features

    Can any one help me with study material to pass 1Z0-140 Oracle Forms Developer: New Features tests? Please email me @ (email address removed by moderator for security purposes). I could not find any specific book for prepration for Z0-140.
    Edited by: user4202610 on Aug 23, 2009 4:40 PM
    Edited by: Certification Forum Moderator on Aug 24, 2009 8:13 AM

    user4202610 wrote:
    Can any one help me with study material to pass 1Z0-140 Oracle Forms Developer: New Features tests? Please email me @ [email protected]
    A request for emailed information outside of forum is likely to result in reciept of material that is unauthorised training material or material in breach of copyright. Please read and drill down from forum post [The route you choose|http://forums.oracle.com/forums/ann.jspa?annID=1122] which provides some information on this.
    I could not find any specific book for prepration for Z0-140.There is no specific book relating to this exam. As OCP level and especially as already an OCP I would anticapte candidates should have th capacity to review exams topics [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=28&lang=US&p_exam_id=1Z0_140] and look up related documentation. If not they should probably seek out and attend oracle training.
    >
    Edited by: user4202610 on Aug 23, 2009 4:40 PM

  • How to handle oracle.forms.handler.TextAreaItem

    Hi guys,
    i get following error if i try to set the text of a oracle.forms.handler.TextAreaItem.
    If i "inspect path" the pathfinder show me that it is a oracle.forms.handler.TextFieldItem.
    Now, if i run the script, following error occurs:
    Paused by Exception
    Reason:
    Replay Action: TextField(//forms:textField[(@name='FPAA_FPAA_ZUSATZ_INFO_0')]).input() failed. Cause: oracle.forms.handler.TextAreaItem cannot be cast to oracle.forms.handler.TextFieldItem
    What to do now?
    There is no oracle.forms.handler.TextAreaItem that i can select in the menu of "right-click --> Add new action/item".

    Any suggestions on this problem?

  • Difference between Oracle forms & Apex

    Hi
    what are all the differences between Oracle APEX and oracle forms.
    explain main features of both
    thanks
    ~noc

    ~noc,
    Oracle FORMS is a traditional IDE tool in that you use to develop a User Interface (UI). APEX is a web service (hosted on an web server) that allows you to create a UI and more, but does not require any software to installed. Everything is handled by the Web Browser. This is a very simplistic explanation, but it will gives you the basic differences between the two.
    Craig...

Maybe you are looking for

  • Mouse Problems on new DC G5? or just normal mighty mouse behaviour?

    Hey guys i bought a Dual core 2.0 G5 about 6 days ago, and i love it to death, theres just one thing thats bothering me, the Mighty Mouse tends to be annoying at times. Let me go into detail, sometimes i will be searching up documents or going on the

  • Changes to Integration Process not reflected at runtime.

    I have changed an Integration Process (eg removed a loop) and then activated this in IR and ensured that RunTime Cache is refreshed - I even forced another Run Time Cache refresh via SXI_CACHE. however the Process is still running under the old versi

  • Delimit button not working in table maintainance generator

    Hi Gurus,                i created table maintenance generator for the view.in this view i hide one field i.e. sequence no. and when ever user entering the values, this sequence no. automatically increased for each record. I just included the code in

  • Converting absolute links to relative links

    Using RH 7 HTML our corp wants to have help files able to function as "standalone" files on local PC's without network or server for business continuity. Presently most files have 150 or less topics and are published to a server. External files are i

  • Video problems after 10.0.5 update

    Ever since I updated to Final Cut Pro X 10.0.5, all of my video has a green tinge at various places during the playback. Not sure how to correct it. It happens on my existing projects and new video I import. Here is an image of what I'm seeing, but i