Where is the best place to put the code pl/sql only for after the events of the insert?

Hi, I can not use database triggers, but I need to run pl/sql code only after an insertion.

I think I need to create a process in the page that inserts into my table, but how do I know if the page is inserting or editing?

Now I have 3 process: (the tablename parameter is in_incidencias)

After the execution of

10 get PK blocked anonymous PL/SQL
30 process row IN_INCIDENCIAS
page 40 of reset

What kind of process that I need to create, and how can I know if there is a new record to insert?

Thanks in advance

Do not be sorry, that this forum is for all kinds of developers :) I am fairly new to APEX.

When you create a process on your page, you choose ' PL/SQL', click 'Next', and then give you it a name, a sequence number and a point of execution (after Submit, generally). You click 'Next' again and then you can code your process. Encode you, click again on "next". Now you have success and failure messages, you can put whatever you want in here. Click 'Next' again, and you finally processing Conditions. Select the button in the field when you press button and're you good to go. If you never want your process to shoot several buttons, and they all have a request, you can also choose the "Request is contained in the Expression 1" Type of Condition and type a comma list of applications in the field of the Expression 1 (something like "CREATE, SAVE", but without the quotation mark).

With respect to the code of the process itself, I still have to code an email sending process myself, but this thread contains the basics that you need, with useful links to the official documentation.

Hope this helps,
Matt

Tags: Database

Similar Questions

  • Where is the best place to put custom functions?

    Hello

    I have a composition that has a number of symbols. I have to call some methods customized to the outside and I was wondering what is the best place to put custom methods?

    I saw the messages I should put the code in the event CompositionReady of the scene, but I'd like a little closer to the coast.

    Is - this best place?

    Sham.

    Here's a case:

    It is a good idea if you understand global and local variables.

    You're right about the whole event.

  • Where is the best place to put the cfqueries?

    What is the best place to get cfqueries, inside the mind of <>< / head > or before the html tag? Thank you

    So before the tag doctype? Thank you

    I just doesn't really matter.  the doctype, body, head, etc., of importance in the browser; the importance of the CF CF tags.  The browser does not see the CFML, and CF cares about the supplement a bit: he knows nothing.

    The best place - as I said - is not in the same file at all.  But if you insist on slapping your logic with your display logic, then the only consideration is that you must set your variables before you use them.  Other than: it does not matter.

    Is a review, you could do - even if she threw everything into the same file - at least separate the file itself into sections: have all your CFML code that gets your data above and try to limit the CFML you have mixed with the supplement, for example: limited to things like loops and conditions.

    But, seriously, to separate your concerns.  Dan pretty much just wrong when he says that it is too technical. It's just sloppy to do not to write a code clean, well-maintained and organized.

    --

    Adam

  • best way to put up a second NETWORK adapter for the data on NAS Server store

    I want to add a second NETWORK card if I can get the best possible performance for when I move the data store of the ESXi host to the NAS (which will also have a dual NIC). What is the best way to set up the NETWORK card on the ESXi host to achieve?

    PS - I am aware that I am limited to the real network speed of 1 Gbps and conditions and I agree with that (any of the virtual machines are eager resources or production).

    SOLVED... I think so. JPM300 got on the right track, but I was still not clear on it so I googled all this involving and finally landed on an iSCSI with MPIO configuration. I ended up as a result of this article (I use a Synology DS415 +, but the steps are pretty universal): How to use iSCSI targets on VMware ESXi with Multipath i/o - SynologyWiki. The article is old but always worked perfectly for me. I checked the two paths/NIC are used simultaneously, but I did not actual test to see if I have 200 MB/s of bandwidth (I've seen 80 MB/s when the cloning of virtual machines to the new iSCSI data store using vmfstools).

    I ran into a problem where the second path is not added during the alternating market; I removed the path shown and then was able to add the second path, then the first path again.

    Hope this helps someone.

  • What is the best way to always increment at index 0 only for an array of multiple elements?

    The principle is to complete a worksheet of left right in the same line but the increment of the column letter only (IE - B4 and C4 etc.). Herewith, I adapted an existing example VI that works for an array of 2 elements (ie - B4) but does not work for a 3-element array (ie - B40, B50 becomes). Keeping simple, what is the best way easier to modify my existing code to always check that the size of the table and the index automatically return to 0 to correctly increment the first letter only (IE - B) and not the number (IE - 4)?

    Thank you!

    Barry

    Instead of 'index automatically to zero', why not just make a zero instead of the size of table manipulation-1-1?

    Of course it will all fall apart once you get to column Z.

    Also look into the Board of Excel.   Do not post question.  This is just a link to the other discussions related to Excel.  Some of them might give you ideas how to manipulate your cell references.

  • Mavericks where is the best place for sites folder?

    Hi there... Thanks for reading

    I need to put in place of the Mavericks and dreamweaver sites

    where is the best place to have the sites folder?

    Thank you very much.

    warmly,.

    Hope

    Hope,

    This is a discussion on the establishment of a local web (Apache) on your Mac server.  Given that you do not use one, it is not applicable to your situation.

    Nancy O.

  • where is the best place to store my information

    I migrated to the new version of the macbook, I am very happy, but the new macbook can not read the external hard drive I used to back up. It could be the fact that I need to use an adapter for USB, I'm looking for suggestions on where would be the best place for me save my information.

    What your old drive to backup link use: Firewire, perhaps? There is no adapter for FW on USB, so you can get a new enclosure that supports USB 3 then move the backup disk in the new case assuming that the disk is a SATA drive. Otherwise, buy something new to use for your backup.

  • Where is the best place and the best prices to buy LCD 15 "display

    I want to buy a 15 "TFT laptop awkward girls...
    any suggestions about where is the best place and the best price?

    Post edited by: peterrothwell

    Hi Peter

    As you probably know the laptop LCD display is one of laptop parts expensive (apart from the motherboard).
    I found a few new LCD for around $ 300

    CA? s your choice. Either you will be by a new one for $ 300 with warranty or you will try to buy a second hand one.
    I recommend to check big famous auction site for some deals! ;)

    Good luck

  • Where is the best place to find Widgets?

    Of course, there are many, many different widgets out there, some free, no more. Where is the best place to find a bunch of them that didn't cost me an arm and a leg?

    Unfortunately, they are not very easy to do. I'm working on a widget to do at the moment, but it's a larger project and I'm not sure when it will be ready for release. When using Muse, the other way to do this is through sites Business Catalyst. You can set up secure areas and manage it this way. But unfortunately I have no experience with that side of him, that I'm not much help here :/

  • Where is the best place to implement the business logic in application of the ADF?

    I use jdeveloper 11g R2, JSF, Facelet

    Where is the best place to implement the business logic in application of the ADF?
    I mean something like the service layer in the spring

    Appreciate your comments

    Concerning
    Mohsen

    your application module...

  • Best place to initialize the View object query where clause or params

    Where is the best place to initialize the View object 'where' clause before the page is initially rendered? Or how should it be done?
    Specifically, I can't set these values in the entity or view objects because I need information from the user or information Session
    the user has entered before you navigate to the page. I want to prepare the View object so that the results of the query appears something reasonable
    the first time before using chooses search.

    Note: The view object must exist and I need to access managed beans to define the query.

    Is there an event hook (java code) that can be called before the page is rendered?
    Also, there are hooks that can be called when the user navigates to another tab or page?

    Published by: Greateful Sep 6, 2012 19:48

    Hello

    Check out this blog: https://blogs.oracle.com/aramamoo/entry/an_epic_question_how_to

    Arun-

  • I have an iPad without any place to put a Sim Card.But I just updated my iPhone IOS 9.3 5 and before the full update there don't say "SIM necessary." Like I said my iPad has no where to put a SIM card on it what should I do?

    I have an iPad that has no place to put a SIM card on it.but I just updated my iPhone 5 in IOS 9.3, but before the end of the update there is a stage says "SIM card required" so I put a SIM card to this topic, but how do I update my iPad to IOS 9.3? Please help I'm really scared of what will happen!

    Only your iPhone needs a SIM card to do the upgrade, you will not be asked this question when you update your iPad unless it's an iPad GSM. I wouldn't do the update again as IOS 9.3 has serious bug (s) to fix first.

  • Where is the best place to 'field of Application only once by application start initiation' coded?

    Dear all,

    Do you have any suggestions on where we should put the opening of scope application code?

    These codes should be used the first time user enter the app, but not every time when you navigate to a new page.

    I use bbUI and currently trying to put it in the webworksready listener in my index.html

    Is this supposed to be invoke only once or will be called each time when I refresh the screen using bb.pushScreen?

    I noticed it was triggerred several times, so this isn't what I want to achieve.

    Any other event listener could I use to put my 'field of Application only once by opening start?

    Appreciate for any suggestion or comment.

    This happens in fact because of the bug of the ripple, this ready recall webworks has been triggerred twice.

    So ideally, it won't be a problem.

  • Where is the best place to trap the keys?

    I want to intercept keyboard events to flip between screens (equivalents of menu) and also invoke actions in each screen.

    For example, if you press a letter on the keyboard to switch between screens and send/end keys to start and stop things.

    I'm currently adding the keypadlistener to each screen and definitions by editing screen. However, when the focus moves to my listfield, I lose the keyboard while this area focuses...

    East - the best place to listen to events for the entire screen? I couldn't find out how to add a keypadlistener to the listfield.

    I could not find a good description of the way in which this should be done. How "correct" and "more effective" to do?

    Thank you

    Ah. The simple answer is to replace KeyChar in the ListField and simply return false. Processing then returns to the screen. Makes perfect sense...

    logList = new ListField(){
        public void onFocus(int direction) {
            setSelectedIndex(this.getSize());
        }
        public boolean keyChar( char key, int status, int time ) {
            return false;
        }
    };
    
  • Where is the best place to go to install the driver for printer hp 1320?

    Where is the best site to get the printer drivers? I have a hp 1320 printer and cannot get it installed correctly.

    HP

    http://h20000.www2.HP.com/bizsupport/TechSupport/DriverDownload.jsp?lang=en&cc=us&prodNameId=410624&TaskID=135&prodTypeId=18972&prodSeriesId=410622&lang=en&cc=us

Maybe you are looking for

  • Upgrade to 2 x 4 GB RAM + Boot Camp

    Hello! I'm planning on getting the crucial 8GB Kit (2 x 4 GB) of RAM for my MBP mid-2012. I also have Boot Camp installed right now. I want to know that if I have to reinstall anything (El Capitan and/or Boot Camp - Windows 10) after I upgraded my RA

  • Extra RAM for Satellite L70-B-14Z

    HelloI cannot find anywhere how to adapt the increase ram for my new Satellite L70-B-14z, am I to guess that this model should be returned to the Toshiba authorized service center? We can just confirm that this model be OK to win 10 updated. I'll tak

  • Mac while a desktop computer

    I have OS X 10.5.8 how upgraded or I can? to 10.6. Processor clocked at 2.66 GHz intel Core 2 duo 1076 MHz 2 GB DDR3 memory

  • FFT to display with newspaper frequency axis

    Hello I'm trying to get my fft to display frequency (x axis) with a logarithmic scale. There is no option for this in the table y/t The xy graph has possibility of HRT, but I cannot "demux" the fft output signal successfully. I use DasyLab 12. Someon

  • My computer shuts down unexpectedly, all the time. It is not the disk space. I don't know what it is.

    Original title: MY COMPUTER IS down unexpectedly, ALL THE TIME, IT is NOT DISK SPACE... I DON'T KNOW WHAT IT IS CAN YOU PLEASE ME SAY WHAT DO TO SLOVE THIS PROBLEM, MY COMPUTER STOPS UNEXPECTEDLY, ALL THE TIME.