About application trigger

Oracle Forms 9i
Hai All
In forms when_button_trigger is a block level or item level trigger and give me some
Form level trigger,block level trigger, item level trigger
Thanks & Regards
Srikkanth.M

in forms u have 3 level triggers
Level triggers basically defines the scope of the trigger
FORM LEVEL : can see all blocks and items in the block
Block Level : can see only items in its block
Item level: Works on only item to whom it is attached.
IF U HAVE SAME WHEN-BUTTON-PRESSED TRIGGER on all levels (FORM, BLOCK, ITEM) then first ITEm level trigger will fire then block then Form
but u can change the execution of trigger in TRIGGER's property EXECUTION HIERARCHY to Before/after or Overide
Hope it helps
Plz mark it correct or helpful
Baig,
[My Oracle Blog|http://baigsorcl.blogspot.com/]

Similar Messages

  • Change_connection does not update entire info about application

    The procedure change_connection does not update the entire info of the about application window. When I change my connection the connect string in the about application window still shows the old connection string.
    I added the line g_connect_string := get_application_property(CONNECT_STRING);
    to the procedure change_connection between the lines
    -- Reset user preference settings for new user connection
    qms$user_prefs.init;
    and the lines:
    -- The menu must be replaced because the new user might have other security privileges
    Now the connect string will change in the about window.

    Mark,
    This has been implemented in Headstart PATCH6530_for_6i and PATCH6530_for_9i.
    Regards,
    Marcel

  • Why think about Application virtualization before going to VDI or desktop virtualization

    Hi Team,
    I am new in ThinApp technology.
    My question is that "Why think about Application virtualization before going to VDI or desktop virtualization."
    Please help to clear my question.
    Thanks
    Yogesh

    With Application Virtualization you'll make any transition easier. While the term isn't really clear to understand for anyone new to the technology I usually find it easier to explain by calling it Application Isolation/Redirection, which actually gives a clearer idea of what it is doing. What ThinApp (or any other Application Virtualization) does is catch calls the operating system does to the registry and files and reroute that to a single contained environment. With Application Virtualization you can deploy your applications without touching the other applications or operating system. The nice thing about ThinApp is that it's clientless so there is no need for any backend or client. The runtime is contained in the ThinApp, which is why you can even use multiple versions at the same time.
    With VDI you try to consolidate resources and not buy 1000's of desktops every few years, because physical desktop migrations are a pain. You also try to make managing them easier because basically you'll only have to manage a single desktop (master image). But to get there you will have to do a migration, having Application Virtualization in place will make it an easy project instead of a hard one.
    The second reason why you would want to do it is because with ThinApp there is no need to actually deploy the application to the VDI, they can be shown on the machine but actually run from a share or even dynamically mapped with virtual disks.

  • About Application Identity

    Hi,All
    I have a problem about application Identity.
    If table has numberic primary key columns,when reversemapping,it will be
    mapped to built-in data type like "long","int".But I want it be wrapped
    class like "Long","Integer".How to do?
    Regards,
    Jia shunlin

    See our documentation on customizing reverse mapping.
    http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_pc_reverse.html#ref_guide_pc_reverse_custom

  • Questions about application server architecture

    Hello guys,
    I have few questions about application server architecture�
    I have a task to build a server application which will do the following: Clients (special java clients) will connect to it and send some data for further processing on server side. Chunks of data will be relatively small but they will take a lot of time for processing (it is ok that it will be quite slow).
    Also server will run some sort of �database� where all clients� working data will be stored. So, in case a client loses its data he/she is always able to download it from the server.
    For me it seems, like server will consist of the following components:
    1. �Reception�. This part will be responsible for all client-communication procedures.
    2. �Data storage�. This part will simply store all clients� data and provide some API interface for clients through �reception� to manage it (add/get/delete and so on).
    3. �Processor�. Some sort of dummy-sophisticated module. It will take some input data from �data storage� when it receives order for this and process it. �Processor� will have two states: �busy� which means �processor� processing some data and �available� which means �processor� ready to process new data.
    4. �Manager�. This part will always check �data storage� for new data and �processor� for availability. When �processor� and new data are available �manager� will make an order for �processor� to take new data from �data storage� and process it.
    So, my question is the following: Which technology and approaches I should use to realize my plan?
    I think that I can make �reception� as a Session Bean, but I don�t know yet, what are the best for the rest, for example �manager� and �processor�. I was thinking about writing my own application server (and I can do it), but I would like to learn j2ee technologies, so I think it is a perfect chance for me (I read a lot about j2ee before I wrote this post, but all examples have only �account�-�bill�-�money transfer� I think it is quite far away from reality or I am doing something wrong ;-)!
    p.s. I am thinking about using JBoss as an Application Server. I tested it and wrote some tests. They work and run fast enough, so I like it. Moreover it has module architecture.
    Please, give me some advises and tips!
    Thank you in advance!

    1. �Reception�. This part will be responsible for all
    client-communication procedures.Session bean with remote interface.
    2. �Data storage�. This part will simply store all
    clients� data and provide some API interface for
    clients through �reception� to manage it
    (add/get/delete and so on).Session bean that will use entity beans or hibernate to work with persistant data.
    3. �Processor�. Some sort of dummy-sophisticated
    module.Use a message driven bean. Make Reception to enqueue a message when new data is available for processing. Processor will process the data and store the resut in database using Data Storage session bean.
    4. �Manager�. This part will always check �data
    storage� for new data and �processor� for
    availability. When �processor� and new data are
    available �manager� will make an order for
    �processor� to take new data from �data storage� and
    process it.It's redundand component, because application server will manage messages and processors.

  • Several questions about Application Security

    Hello,
    I have several questions about Application Security and perhaps I need a few tips...
    I have a lot of users in a few groups which have access to my application! And the different groups should have only access to their pages.
    In my application I use trees to navigate through the application.
    So my idea is that i display different trees for the different user groups and restrict the user to access the URL....so the user can only see and contact "their" pages.
    I know how to create the logic behind the trees, but how can I create the restricted URL access...
    The "No URL Access" in the Session State Protection can not be used, because I use a lot of links in reports and HTML regions.
    Is there another way to solve that?
    But I am unsure if that is a "good" solution for my problem!
    What do you think about that?
    Am I going to do that too complicated?
    Could that be done by authentication or authorization?
    (By the way, I do not understand the differences between authentication and authorization. Can anyone help?)
    I would be glad for any reply!
    Thank you,
    Tim

    Hey Arie and Scott,
    thank you for your quick reply!
    Now I understand the context around authorization and authentication...
    I try the Access Control List and I think that is a very nice feature! Really good!
    But now I am wondering, how I can create more privileges?
    So that I have a few "end-user-roles" and then I can choose who have access to a page and who not!
    Does anybody know how to do that?
    Thank you,
    Tim

  • Important conceptual question about Application Module, Maximum Pool Size

    Hello everyone,
    We have a critical question about the Application Module default settings (taking the DB connections from a DataSource)
    I know that on the Web it is generally suggested that each request must end with either a commit or rollback when executing PL/SQL blocks "directly" on the DB without the framework BC/ViewObject/Entity service intervention.
    Now, for some reasons, we started to develop our applications with thinking that each Web Session would reference exactly one DB session (opened by any instance taken from the AM pool) for the whole duration of the session, so that the changes made by each Web session to its DB session would never interfere with the changes made by "other" Web Sessions to "other" DB sessions .
    In other words, because of that convincement we often implemented sort of "transactions" that open and close (with either commit or rollback) each DB session not in/after a single HTTP request, but during many HTTP Requests.
    As a concrete example think of this scenario:
    1. the user presses the "Insert" button. An HTTP request is fired. The action listener is executed and ends up with inserting rows in a table via a PL SQL block (not via the ViewObjects API).
    2. no commit or rollback after the above PL/SQL block is done yet.
    3. finally the user presses a "Commit" or "Rollback" button, firing the call to the appropriate AM methos.
    Those three requests consist of what I called "transaction".
    From the documentation it's clear that there is no guarantee that the couple AM istance + DB session is the same during all the requests.
    This means that, during step 2, it's possible that another user might reference the same "pending" AM/DbSession for his needs and "steal" somehow the work done via PL/SQL after step 1. (This happens because sessions taken by the pool are always rolled back by default.)
    Now my question is:
    Suppose we set the "Maximum Pool Size" parameter to very a great number (always inferior to the maximum number of concurrent users):
    Is there any guarantee that all the requests will be isolated in that case?
    I hope the problem is clear.
    Let me know if you want more details.

    Thanks for the answers.
    If I am right, from all your answers about resource avaiability, this means that even supposing the framework is able to always give us the same AM instance back from the AM pool (by following the session-affinity criterias), there is, however, no "connection affinity" with the connections from the DataSource. This means that the "same AM instance" might take the "a new DB connection", if necessary, from the connection pool of the DataSource. If that happens, that could give us the same problems as taking "a new AM instance" (that is, not following session-affinity) from the beginning, since each time an a new connection is taken (either via a new AM instance or via the same AM instance plus a new DB connection), the corresponding DB session is rolle back by default, clearing all the pending transactions we might have performed before with direct PL/SQL calls bypassing the AM services during the life cycle of our application, so that the new HTTP request will have a clean DB session to start to work with.

  • The question about application priority in OCAP

    First question:
    I know the AIT includes priority for each application.
    But I find nothing about priority description in XAIT, may be I made a mistake about XAIT's structure.
    Second question:
    OCAP(10.2.2.5) define the priority range from 1 to 255. Where we can use this value, only in AIT?
    BRs.
    Alexander

    hi igor,
    you have to import the IDOC Types under the imported objects in the integration repository objects,
    what are all the data that coming out from the file adapter, you design the datatype.
    the target IDOC should be real and you do the mapping for the all necessary fields.
    refer: --
    File to IDOC:
    Re: how to Sending XML data to idoc
    IDOC Mapping:
    http://help.sap.com/saphelp_crm40/helpdata/en/77/a1d48b1ce06d40932e0a26f3c117ce/frameset.htm

  • Clarification sought about Application type and library availability

    I am new to Adobe's product line and am confused about something and would be grateful for some clarification.
    In Flex Builder 3 when creating a new Project, there is an Application type radio button:
    O Web application (runs in Flash Player)
    O Desktop application (runs in Adobe AIR)
    Is my understanding correct that if I choose "Web application", classes identified in the documentation as "AIR only" (e.g. HTMLLoader class) will be unavailable to my app?
    Here's the source of my confusion. The class is called flash.html.HTMLLoader  and the class is found in the flash.html package, but the documentation reads "(AIR only)".
    Do I have to choose "Desktop application" when creating the new project if I want the app to have access to the HTMLLoader class (and others marked "AIR" in the docs)?
    Thanks

    Yes, that's exactly right.
    I assume the source of the confusion is that the "AIR only" classes are still in the flash.* package. In the early days there was some discussion back and forth about the appropriate place to put AIR only classes. In the end it was decided that they would be in the same top-level package as the Flash Player classes.
    (To add to the confusion, there is also an air.* package. That package contains classes that are AIR-only but are not built-in to AIR. In other words, they're additional code libraries that make certain functionality easier, but they're written in ActionScript and run on top of AIR just like any ActionScript code you write, rather than being part of the AIR runtime.)

  • About database trigger

    Suppose I have 2 tables A and B. There are about 40 table
    columns for table A and 30 table column for table B. Table A
    can insert, update and delete the record from table B. Table A
    can insert, update about 15 table columns into table B. I
    create database trigger on table A to insert, update and delete.
    TAble B can update only 1 table columns into table A. Due to
    these 2 tables A and B have update trigger. So it is mutating
    when I try to update the record from table A and also update the
    record in table B. Please if you have any suggestion, let me
    know. I try to work around by creating the package with
    variable field set to boolean. But, somehow it only allows to
    update from B to A, not from A to B. Thanks in advance.
    null

    Long Tran (guest) wrote:
    : Suppose I have 2 tables A and B. There are about 40 table
    : columns for table A and 30 table column for table B. Table A
    : can insert, update and delete the record from table B. Table A
    : can insert, update about 15 table columns into table B. I
    : create database trigger on table A to insert, update and
    delete.
    : TAble B can update only 1 table columns into table A. Due to
    : these 2 tables A and B have update trigger. So it is mutating
    : when I try to update the record from table A and also update
    the
    : record in table B. Please if you have any suggestion, let me
    : know. I try to work around by creating the package with
    : variable field set to boolean. But, somehow it only allows to
    : update from B to A, not from A to B. Thanks in advance.
    Hi, I've had this type of mutating table problem before ....
    Here's a workaround:
    1. Create temporary table to record the changes on the
    database triggers (row triggers). Then on a after statement
    issue the update statement.
    2. Crear package variables at the package specification. Then
    create procedures or functions to set this values accordingly
    (in before and after trigger statement). Finally use after
    statement triggers.
    null

  • Question about pause trigger: multiple triggersources

    Hello,
    I have two digital signals which I want to use as source for pause triggering. The pause triggering is done with a triggernode. The problem I have is that I can add two sources to the node but it won't react on both, just one. So I guess it only accepts one signal. The first triggersignal will start the logging for an unknown period of time. When the first triggersignal drops, the second trigger signal will follow immediately and will continue for 5 seconds. Maybe there is no need to add a second trigger source because the time the signal has to be logged is known and follows directly after the first trigger signal. But I can't seem to find a solution for that.
    Another problem I have is that I'm logging at a rate of 100 Hz but on my excel file I find only 500 samples after 10 seconds of logging. Im logging the signals from 2 NI9237's and a NI9219. The rate from the NI9237 is 2000 Hz but I decimate it to 100 samples per second. The signals from the NI9219 are logged at 100 Hz and are untouched.
    Thank you
    Solved!
    Go to Solution.
    Attachments:
    Prog.7z ‏138 KB

    Thanks for letting us know it is solved. i will close the call at our end.
    Regards,
    Rik Prins, CLD
    Applications Engineering Specialist Northern Europe, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Something I'm missing about application processes in 4.1?

    So I'm trying to create a new application in 4.1. I'm starting out with just the basic login page and I've created a custom Authorization scheme and login/logout procedures that work fine. On the home page, I'm trying to create a region that allows the user to create a new password. I can't get the process to fire - no completion message, no error message. It's supposed to fire after validations/page submit. Here's what it looks like:
    declare
      v_usrid      NUMBER        := :G_USER_ID;
      v_usr        VARCHAR2(40);
      v_hash       VARCHAR2(40);
      v_old        VARCHAR2(40)  := :P1_OLD_PWD;
      v_new        VARCHAR2(40)  := :P1_NEW_PWD;
      v_newc       VARCHAR2(40)  := :P1_CONFIRM_NEW_PWD;
    begin
      select ADMIN_USERNAME, PWD_HASH into v_usr, v_hash
        from APEX_ACCESS_CONTROL
       where ID = v_usrid;
      if HASH_PASSWORD(v_usr,v_old) = v_hash then
        --Old password matches hash, change password
        if v_new = v_newc then
          update APEX_ACCESS_CONTROL
             set PWD_HASH = HASH_PASSWORD(v_usr,v_new)
             where ID = v_usrid;
            --:new.updated_by := v_usr;
            --:new.updated_on := sysdate;
        end if;
      end if;
    end;It worked fine in the last app under APEX 3.2 - I'm literally copying it across.
    Just to see if I could get ANYTHING to fire, I created a second process that sets an application variable with the user's location. I use this for a lot of items in the application. It won't fire either. It's pretty simple:
    declare
    begin
      :G_KEY_LOC := :P1_KEY_LOC;
    end;P1_KEY_LOC gets set (if null) to a value tied to the user's login (:APP_USER) from my authorization table and that is working fine. It seems like if I put it in a PL/SQL process, it just doesn't fire at all. What am I doing wrong?

    BEFORE Page submit? Uh, in 3.2 I can have page processes that fire On Submit, After Validations and they work fine. If I try to do exactly the same thing here, they never fire. I use the validations to check the values in the fields. It's only AFTER the validations fire that I want the Page Process to fire, because I want the validations to do their job.
    Right now, I have the process set to fire when a button is pushed. That's what I'm confused about. Did they change everything about how page processes fire in 4.1?

  • What to do next?  about application

    hi,
    I have a question about what to do next. This should be an easy question for most of you out there but I am just a beginner.
    I made a java application recently and it contains many classes. My problem is, what should i do to put all classes i made into one package so I can just double click the first main class to start the application.
    Or is it possible to do that? so far all i have learned as a beginner is to go under DOS or use some IDEs such as bluej to run my program. However, what i really want is to just double click it and run it.
    I know i have to put the "package com.something.something" at the very first line in my code for every class i want to have in a package. but then? what to do next so i can double click it and run it?
    Thanks in advance.

    You directory structure should look like this:
    META-INF
    ---Manifest.mf
    org
    ---company
    ------product
    ---------MyFirstClass
    ---------MySecondClassMake sure each class has the "package org.company.product;" statement in them (if not, put it there and compile). The Manifest.mf should contain this:
    Main-Class:myMainClassOnce this is done, you add the META-INF and org directory to a zip file. Rename this zip to product.jar. Voila! Double click it, and the app should run.
    Hope it helps,
    Nille

  • All about Application Logs

    Hello SAP Experts,
    Recently I have been investigating my BI servers for space optimization and I have found that there is a lot space that has been consumed by Application Logs in BALDAT and BALHDR tables. I have referred to the notes: 195157, 141244, 183960, 91519 but I could not understand what exactly will be the impact of deletion of Application logs. Is it safe to delete the old logs? What exactly is stored in the application logs? A simple change in info object is also recorded in the logs? Everywhere it is mentioned that we need to confirm our functional team before deletion of the logs. I didn't understand who exactly needs this data?
    Also, if we run SLG20, data of BALHDR and BALDAT both gets deleted?
    I would like to know as much information as possible as I am very confused.
    Regards,
    Kathakali

    Dutta,
    Apart from BALHDR and BALDAT - you can also look at the request tables which can be archived. As for the actual process in itself - you would first have to :
    1. Identify what BW data is stored in BALDAT and BALHDR - it has information even on IB settings and IB Broadcastings done. Youu can start by looking at each subobject in BALHDR and trying to understand what that means.
    2. Given that you have this data - decide what data is actually critical to your needs - in some cases - you might not need Information Broadcasting logs at all
    3. Test it out in a staging system to see if you have any adverse system impacts
    4. You would need business / user confirmation about the same and get a buy in on time period of retention
    5. Enforce the policy agreed upon by way of periodic jobs etc

  • About Application Workflow Engine

    I have seen a requirement for Application Workflow Engine...I tried hard to find a PeopleBook for that but couldnt find any.Where can we get information about that.Help me out.Thanks.

    Hi,
    Could you please let me know the path on metalink wherein i can find the red paper for AWE.I have been searching a lot but havent got the right one.
    Thanks
    Samidha
    Edited by: [email protected] on Jun 10, 2009 10:23 PM

Maybe you are looking for

  • Who would like to know the name of the person who rated your theme?

    There are the occasional mischief makers that pop up every now and then - when a kuler user rates a theme, knowing the name may ease the flare ups of these - I used to feel "the better the theme, the faster the rating will fall" - personally, I have

  • Can I boot a pulled hard drive from a Mac Pro on an external dock?

    I have a 2008ish Mac Pro that has a dead video card and a few other problems.  Luckily, the hard drive is still functioning.  Is it possible to pull the drive and boot it using an external dock in order to image the drive so I can use it on another c

  • How to Track Changes in G/L Master ?

    Hi, I have a requirement to track changes in G/L master either in company code or chart of account. For this there is a BTE but at the time of BTE calling table CDHDR is not updating, also for this there is no exit or badi exist. Please suggest. Rega

  • Updating iPod After Software Update

    Howdy, Bit of a problem here. All of the software was updated last night and my iPod has been updated, yet it now says I need to plug it in to the standard electricity supply for it to update, but I don't have that plug. So, I can't use my iPod Anyth

  • CommandLink onclick JavaScript

    How to add onclick JavaScript to commandLink ? Why commandButton has onclick method, but commandLink hasn't ?