Apex. Submit-> process to run one of the two stored procedures on page

version: 4.2.5

page one region: form on the stored procedure

region of page two: form on the stored procedure

The region button 'submit' for the region page 2:

ACTION: Redirect URL

Run Validations: YES

Target URL: javascript:apex.submit ('CALL_MY_PROC');

'Treatments' execute the stored procedure

Point process: submit now - after calculations and Validations

Enforcement process: once a Page visit (by default)

...

Conditions

When you press the button:-no Condition button

Condition type: request = Expression 1

Expression 1: REQUEST = CALL_MY_PROC

The expected behavior is to call the stored procedure in the region on two page without invoking the other stored procedure.  Separation of concerns is desired, this button sends the form this proc, this button argues that form to this proc.  Nor should call each other, so to speak.

The stored procedure is not called when I click 'Submit' (button from region to region page two).  How can I solve this?

Thanks in advance for any guidance.

-abe

Solution: the status... are not REQUEST =

-abe

Tags: Database

Similar Questions

  • I try to run CC in a new computer products (the third argument: one of the two former stole) but I can't

    I try to run CC in a new computer product (the third argument: flew one of the two former) but I can not: when it asks me to try again or close the session on the other, I click on "continue", but nothing happens. What can I do? Thanks for any help on this matter.

    When you are prompted to sign out of your other two computers, do.

  • Submit to a stored procedure of Page APEX

    I created a page 6 APEX to allow the user to execute a stored procedure. Page 6 has a process of page named "Execute the stored procedure." In the section Source is the following logic:

    DECLARE
    v_error_tracking VARCHAR2 (4000);
    BEGIN
    v_error_tracking: = 'text ';

    #OWNER #. ERR_CREATELOG_PROC (UPPER(:P6_EMG_NAME)
    ,: P6_EMG_EFF_FROM_DATE
    ,: P6_EMG_EFF_TO_DATE
    (: APP_USER);

    () apex_mail. Send
    p_to = >: APP_USER | "@nycha.nyc.gov", change to your email address
    P_FROM = > '[email protected]', - change of an actual e-mail address shippers
    p_body = > ' name of emergency: ' | TRIM(:P6_EMG_NAME) | "End of the update log procedure."
    p_subj = > ' name of emergency: ' | TRIM(:P6_EMG_NAME) | ERR ' Update Process Status);

    APEX_MAIL. PUSH_QUEUE;
    END;

    This process is: on submit after computauions and validations

    The point of the process of the branch to Page 1 is: present immediately after treatment (after computaion, validation and treatment)

    When I click the button submit the process runs. There is an exhibition brief thermometer green in the status bar of the browser that finally expires before the process ends. The apex_mail.send process runs not until the last commit an ERR_CREATELOG_PROC is issued and the process is exists. (I thought that maybe the stored procedure hung because I had an OUT parameter in the stored procedure, but I disabled it that and still get the same results.) I want to submit ERR_CREATELOG_PROC, then the page creates a branch to the calling page 1 while the process is running on the database server. (I have also remove the call to apex_mail and possibly appeal to UTL_SMTP within ERR_CREATELOG_PROC.)

    I tried to process the branch point to Page 1 is: present immediately after treatment (after computaion, validation and BEFORE treatment) with the same results.

    How can I submit a stored procedure to execute on the database of this page, the system immediately return to the page and then continue processing normally?

    Published by: Comet on February 15, 2012 12:44

    Comet says:
    I want to submit ERR_CREATELOG_PROC, then the page creates a branch to the calling page 1 while the process is running on the database server.
    ...
    How can I submit a stored procedure to execute on the database of this page, the system immediately return to the page and then continue processing normally?

    apex_plsql_job API allows to PL/SQL, which will be presented program units to run asynchronously in the background.

  • Conditional formula using one of the two operations

    How to create a conditional formula where the results are a choice between two formulas based on the cell to two cells has a value greater than 0?  More specifically, I have to add value in a cell (in the column headed "added amount") to a cell in a column of the running totals if the value of this cell is greater than 0, or subtract the value of a different cell (in the column headed "amount withdrawn") in the same line, if the value of this cell is greater than 0.  Only one of the two will have a value in a given line.

    Hi George,.

    If you only have a value in a column, then you have even a logical formula. You can do this:

    A2 is an input value, it could be called "balance forward".

    A3 is filled down.

    Quinn

  • Trouble with the pdf form trying to "choose" one of the two paragraphs of text

    I am creating a PDF form and trying to find a way to choose one of the two groups of text that are approximately long paragraph. and having only the one I choose are visible on my pdf.  I tried to use a drop-down list, but it wouldn't accmodate the amount of text that I needed

    How to refer to a checkbox.

    I've added a new field of text (multiline) and put the java script in the section actions, just as you typed.  When I run the shape there is no box to choose and is not my default text (the text box is empty).  When I click outside the text box and then comes my 2 paragraph.

    All of the suggestions.

    BD

  • I can't send mail to one of the two accounts of e-mail with the outgoing server.

    Recently, I was unable to send an email to one of the two accounts which are the two aol. One of them is netscape. They both use the same outgoing server 'smpt.aol.com' I've tried the suggestion to remove the password on behalf of netscape (the one I can't send). Now I get a 5.7.1 sender address rejected. I'm sure this is a settings problem and probably a dealing with passwords, but I just can't solve. Help!

    I checked both accounts and servers as you suggest. The first time he asked me, he said that have been rejected. When I pressed try again, it has been accepted, and now everything seems to work fine. Thanks a lot to you two. I really appreciate it.

  • How can I printscreen, only one of the two screens I use now?

    I work with two screens and when I try to printscreen the computer takes the two images on the screen and print, making the really small screen images to the point that they are almost impossible to read.
    I want a pint only one of the two screens.

    Hello

    Try the capture tool:

    How to use the Windows Vista Snipping Tool
    http://www.bleepingcomputer.com/tutorials/tutorial135.html

    Use capture tool to capture screenshots
    http://windowshelp.Microsoft.com/Windows/en-us/help/1337cdba-52a2-4704-ad4d-2d7bace605b41033.mspx

    How to take screenshot with the capture - simple tool
    http://Lifehacker.com/228885/Windows-Vista-tip--take-screenshots-with-the-Snipping-Tool

    Cup - best tool screenshot screenshot
    http://desktoppub.about.com/od/screencaptures/IG/Snipping-Tool/Snipping-Tool.--0k.htm
    http://graphicssoft.about.com/b/2009/05/15/using-the-Snipping-Tool-in-Windows-Vista.htm

    How to take a screenshot with the tool captures of Vista
    http://www.WikiHow.com/take-a-screenshot-with-the-Snipping-Tool-in-Vista

    Use the Windows Vista Snipping Tool to take screenshots
    http://www.tips4pc.com/articles/Windows%20Vista/use_the_windows_vista_snipping_t.htm

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • How to choose the slot one of the two bunk?

    How to choose the slot one of the two bunk?

    Select the two points to cross the selection with the open selection tool, and then clear the high point on the page by holding shift and clicking on it.

    or vice versa. Select the high point of the page first and then select now shift. the high point of the page désélectionnera.

  • How to upgrade one of the two lines in double

    I use 11.2.0.3.0

    Is it possible using a CASE statement to find the rows that are double and one of the two lines was updated so that they are all unique?

    What I get is something like this

    Col1 Col2 COL3 COL4 Col5

    1

    1111
    11111
    22222
    22222
    33333
    33333
    44444
    44444
    55555
    55555

    I would change one of the columns in the two lines that makes the unique lines like this

    Col1 Col2 COL3 COL4 Col5
    11111
    12111
    23222
    24222
    35333
    36333
    47444
    48444
    59555
    50555

    Hello

    I don't see how a CASE expression would contribute to this problem.

    In your original message, you said you wanted to update the table, in other words, to permanently change some of the values stored in the table.

    In response, #2, looks like you want to change what is in the table, you just want to replace by new values for col2 in this query, without permanently changing table.  You can do this by using the ROW_NUMBER right in the query, when you thought using a CASE expression.

  • Re: "insufficient privileges" error when you run the Java stored procedure in another schema

    I get an "insufficient privileges" error when you run the Java stored procedure in another schema, see details below.  I don't know what are missing privileges (I already granted the EXECUTE privilege), suggestions?  -Thank you.

    Define a simple java class and deploy it as a Java stored procedure to test:


    Schema: User1

    test of the package;

    public class HelloWorld {}

    public HelloWorld() {

    Super();

    }

    public static String Hello () {}

    Return "HELLO";

    }

    }

    CREATE or REPLACE FUNCTION HELLO RETURN VARCHAR2 AUTHID CURRENT_USER AS LANGUAGE JAVA NAME ' test. HelloWorld.hello () return java.lang.String';

    Grant execute on USER2 HELLO

    Test the Java stored procedure through the PL/SQL function call (in the same schema):


    Schema: User1

    SET SERVEROUTPUT ON

    DECLARE

    v_Return VARCHAR2 (200);

    BEGIN

    v_Return: = User1. HELLO;

    DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);

    END;

    anonymous block filled

    v_Return = HELLO

    Test the Java stored procedure through the PL/SQL function call in a different pattern:


    Schema: USER2

    SET SERVEROUTPUT ON

    DECLARE

    v_Return VARCHAR2 (200);

    BEGIN

    v_Return: = User1. HELLO;

    DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);

    END;

    Error report-

    ORA-01031: insufficient privileges

    ORA-06512: at "User1." HELLO', line 1

    ORA-06512: at line 4 level

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to change the user name or password

    without the privilege appropriate. This error also occurs if

    trying to install a database without the need for employment

    access privileges.

    When Trusted Oracle is configure in DBMS MAC, this error may occur

    If the user has been granted the privilege necessary for a higher label

    that the connection is active.

    * Action: Ask the database to perform the operation or grant administrator

    the required privileges.

    For users Trusted Oracle get this error, well that granted the

    the privilege that is suitable for the top label, ask the database

    administrator to grant the privilege to the appropriate label.

    You have created the function with AUTHID CURRENT_USER, which means that the function is executed with the rights of the applicant (but not with the rights of the author). This means that the applicant must have grants (directly or through roles) on all used/accessible objects in the service. In your case the user USER2 has not granted with EXECUTE on the class/source Java test. Class HelloWorld, causing the ORA-01031 exception. You create service without AUTHID CURRENT_USER (i.e. with AUTHID DEFINE, which is by default, if you do not have a specific reason to use AUTHID CURRENT_USER) or grant EXECUTE on JAVA test SOURCE. Class HelloWorld to User2.

    Dimitar

  • How to export a video with two audio tracks such as: English and a steam engine, then open in vlc player, then select one of the two tracks?

    How to export a video with two audio tracks such as: English and a steam engine, then open in vlc player, then select one of the two tracks?

    Everything you always wanted to know about the acoustics in first Pro CC - YouTube

  • How do you apply Blur to only one of the two duplicate layers?

    Hello everyone

    I have two layers of dynamic object to a panoramic photo, which is a duplicate of the other and returned vertically.

    I would like to apply Blur to the inverted layer, so this step appears as a reflection of the other layer.

    However, when I apply the blur to the image reversed in its .psb document window, the blur effect ends on the two layers.

    Why the blur apply to two separate smart objects and how could possibly apply Blur to only one of the two double layers?

    Please advise me.

    Thanks as always,

    EAD

    Even if you see two separate layers, Photoshop is not to see them in the same way. When you using duplicated layer (Ctrl/Cmd + J) command, which tells Photoshop to create clones SO double layer sets SO. Update content on one of the 2 cloned layers will take into account changes to another. As you modify the content of a layer of cloned SO that change is automatically reflected in the other. As noted above, the solution is mentioned to apply the blur as a dynamic filter without changing the content (do not double click on layer SO): with SO layer selected in the layers panel, go to filter > blur > Gaussian blur.

    To cite only in case you need this option: you can duplicate the layer SO without cloning to help: command of new dynamic through copy object . In this case you can apply changes to the .psb file you make and modifications will not reflect to another (parent) layer of SO. In this case, disadvantage is that you can't quickly Exchange content on the two SO layers when creating clones SO you can overlay.

  • SSL mutual authentication using the Oracle stored procedure

    Hello

    DB version:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    Is possible to perform mutual authentication SSL uses the Oracle stored procedure?
    I read articles and forums saying that it is not a good approach to call the Web service using the Oracle procedure (and I don't know if it's even possible authentication using procs). But I would like to know if it's possible and how.

    In other is words there a way to incorporate the client certificate information into a procedure that calls a Web service.

    I read the articles to do it in JAVA or .net. But please advice how we can achieve using Oracle procedures.

    Thank you.

    934451 wrote:

    Is possible to perform mutual authentication SSL uses the Oracle stored procedure?

    To learn more. SSL what for?

    Oracle PL/SQL only supports client standard TCP sockets. However, interface for HTTP, Oracle PL/SQL also supports HTTPS - which requires the certificates of authentication of the server to be stored in a portfolio of Oracle web and used during the transmission via HTTPS. See the code example {message identifier: = 1925297} for more details.

    I read articles and forums saying that it is not a good approach to call the Web service using the Oracle procedure (and I don't know if it's even possible authentication using procs).

    Forums and articles written by idiots. For idiots.

    And no, I'm not to embellish my response to this pitch that you met. It is false. It is written by ignorant people who don't know ANYTHING about the use of Oracle and PL/SQL. And feel free to forward my response to these idiots. They find me here if they want to argue...

    As an example of how to call a web service, see {message identifier: = 10158148} and {message: id = 10448611}.

  • Text run horizontally through the two text boxes

    I am trying to run the text between the two areas of text, but in a continuous manner. Essentially, we have disclosed no claimed that crosses a spread. Someone, that is created is no longer here, two text boxes (one on each page) and has managed to take the text where the first line in the first text box has continued in the second text box and then wrapped into the first text box and then continued in the second text box and so on.

    So with the paragraph above text might hit the left text box to "Essentially" and continue to "we" the first line of the text on the right box. Go overboard and then to the second line of the left text box continuing to the second line of the text on the right box. And so on. I can't understand what they have done, but I'm sure it's something simple in InDesign.

    Note: these are areas of unique text, not two columns in a text box.

    Any help would be greatly appreciated.

    I see it. The text is flowing the way it does in mine. Who are soft return characters at the end of each line in the first screenshot, and # is a marker of the end of history. The lines were manually arranged and set frame on the left. This means that if you add a few words it will crumble.

    Yours, as is and after changing of Director Vice President:

  • How to change the Apple ID on one of the two devices?

    I have two iPhones with the same Apple ID used by two members of the family.

    When done or receives a phone call, the call history displays the same on each phone, probably due to having a single Apple ID.

    My plan is to create a new Apple ID, disconnect one of the iPhones and then sign in again using the new Apple ID.  (I realize that I'll lose a few apps and photos, but this is a minor problem that he has little of each.)

    This sounds like a plan?  Am I missing something?

    Thanks for any suggestion or disagreement.

    The following can help: what to do when you have changed your Apple ID email address or password - Apple support

Maybe you are looking for