The replacement of the PK in the process to insert the form after this

Hello

I'm quite new in the world of the APEX and I'm having a problem I want to please appreciate any input on... I use APEX 5.0.

I have a form page to insert (P2) to a new section in my table of queries (with PK of 'ID' column). The billing ID (P2_ID) page is hidden (not sure if that makes a difference)... I then have a process after submit type "Send E-mail" and I want to include information about the new entry in the email.

Each substitution that I do, as & P2_Description, & P2_Requester. etc works fine, but the replacement of the ID (PK - & P2_ID) does any work. I presume it is because at that time, the recording has not intervened in the table, and the sequence/trigger has not generated the following value?

How can I please pass this value to the process/electronic mail? I tried to use P3_ID (P3 being the form of update page) and it works, but it always sends the previous entry.

I'm sure that it must be simple, but as I said I'm pretty new to APEX and could not understand how! Is it possible to have this identification number to pre-fill the next value in the table field, before the present? And what happens if someone else creates a new entry at the same time?

Thanks in advance

George

Hi George,.

User807933-Oracle wrote:

Thanks a lot for your reply Jitendra,.

Do I have to use a different page for "Return Key in Item" element other than P2_ID?

Under the settings for the DML processes, I have:

Primary key column: ID

Main key: P2_ID

and added P2_ID to return key in the element. Support operations is just "Insert..."

However, it is always empty when it arrives on the enamel. My process to send the e-mail message must be in a different area? I'm currently after shows. Maybe add to the treatment area, after the DML process?

Thanks again!

How are you referring to the item values in the process of your e-mail?

your mail sending process should be after the insertion process.

Kind regards

Jitendra

Tags: Database

Similar Questions

  • If I create a form using the free trial software, will I be able to use and access the form, after the trial period is over?

    If I create a form using the free trial software, will I be able to use and access the form, after the trial period is over?

    Yes, you can access the project that you created after the trial is over, but you need to back it up.

    Concerning

    Stéphane

  • Blank page at the end of the form after having distributed

    I have a form of livecycle 7 page that ends up with a blank page at the end of the form, after the distribution and finding no how to remove.  It does not appear in the preview or the hierarchy and I was check many forums and find the answer might be in the pagination, but when I check the pagination of the subform, I don't use a lot of subforms, most of the pages do not have, then I put the page level 'place' to followingprevious and after - continues the parent filling.  At the same time it is a 8 page and we form it simplified and delete a page, and once I created a 2nd master page but it was deleted, so don't know if these things had no effect, but do not know what to do next.  I wouldn't mind just delete the PDF page once it is distributed, but uses "page x of x' in the numbering of the pages so it is distributed with a total number of pages."  Appreciate any help, thank you.

    Hello

    Just a few suggestions.

    Make sure that the pages/subforms are not to repeat (in the object > range of liaison), unless they are explicitly required to do so.

    Also on the last page, make sure that it is not a subform which extends beyond the content area. This can often lead to an additional page, but it usually shows in the designer.

    Niall

  • Cannot open the form after change the form in the folder

    After adding file in the form function, when I open the form in the system, he holds the and cannot be opened. What can be the problem?

    Thank you for your supply. I got the answer. At least one of the items in the folder must have the value of the navigator to yes.

    Sampson

  • Accessories IN. missing to the form after upgrading R12.1.3

    Hi all

    We have improved instance of R12.0.6 to R12.1.3.

    After upgrade not able to see the attachments to the form-level only for in. for AP GL module we can still see the old attachments.

    One knows on the subject please let me know.

    I tried 1518754.1 but no luck.


    Please suggest


    Thank you

    Shaik

    Hello

    We have applied the hotfix 17578079 , as suggested by the Support of Oracle and the problem resolved.

    Thank you

    Shaik

  • Detect a change anywhere in the form after the opening

    Is it possible to script to detect whether a shift since the form was opened? For example, if one of the objects text now has no text or different text or a checkbox is now disabled or a drop-down list selection changed?

    Hi Don,

    Don't know if it of the forum or not, but you need a double is equal to.

    if(Event.Target.Dirty == true) {}

    or, just leave him == true off

    {if (Event.Target.Dirty)}

    Bruce

  • CS5: contour moves the form. This can be disabled?

    So I now use CS5, and I noticed a new thing that is extremely unfortunate in artificial intelligence: when I increase the contour of a shape, the shape moves.

    The growth outline literally far shape.

    Can it be disabled so that it works as it did in CS4: the sketch does not affect the form.

    Deselect the option "Snap to grid of pixels" in the transform for this object and possibly the file palette. Do a search on it.

  • How to clear the form after the error

    Hi friends

    Use oracle 10 g forms in windows xp sp2, I'm doing a form accepting the user input to the editor only for practice because it is a first time I use the editor and all that just for the test and I need your help. to display the editor when the press operator in the text element, that I use (integrated Show_Editor) then the value entered in the editor will display in the text element, and there is a problem of query by this value. so far it's very well.

    If the operator to enter a wrong value the request that I made the alert for this message and I pulled the trigger of the error alert, but after the user press the button in the alert in the event of failure message incorrect value even in the text element.


    This is the first screen, now I insist in the EMP is
    http://i48.Tinypic.com/28us1l4.jpg

    It is the second screen. Here, you need to clear the message and enter a valid value, but assume that you enter
    an invalid value.
    http://i46.Tinypic.com/29pup07.jpg

    you get this message if you have entered an invalid value
    http://i50.Tinypic.com/2wg6gj6.jpg

    After, I press (OK) in the alert message. How can I delete an incorrect value in the text element
    I tried the clear_form in the trigger for the error, but I get the error
    http://i50.Tinypic.com/1znue1l.jpg

    Please show me how I can delete the text without error element

    any help or advice, that I enjoyed

    Thank you

    Hello

    Just use the following to clear the value of a text element:

     :block_name.field_name := NULL; 
    

    I hope this helps.

    Best regards

    Arif Khadas

  • Do not forget the values in the form after the page

    Hello

    IM absolutely new to APEX (as you can see this is my first post ;)), I've read the documentation, I found on the oracle Web site and know at least the basics...
    So I started building my first application and already have my first problem :D Maybe you can tell me if I want to do is possible and how to do it.

    I have several pages by a form on the left side as well as a report of sql on the right side.
    The form contains fields that are the list of values (fields that contain foreign keys so that the user can select only a valid value). I have a button next to each list in the value field. When the user clicks on the button I have a branch to the same page and the sql report is updated. Depending on which button next to the list values with foreign keys was pressed, it shows the complete table list the values of references to (so the user can see that contains the foreign key, it is to select). After I finally made this work.

    But the problem is: when the user enters values in the form and then click on a button to see what the foreign keys contain values that it has already entered disappeared. But I want the values that he went in to stay in shape after he pressed the button. is there an easy way to do this? the only thing I could imagine is to create a variable for each form field, save current in variable values before the page is sent and write the values of the variables in the form when the page reloads. but it seems kind of the beast... I must do this for each page of this kind (which are many). so is there a better way?

    thx a lot :)

    I think you're talking about the region 'filter' on the left side as 'form '.

    Try this... Open the setting page , click on the item to change (to that values stay after submit), goto SOURCE region, here the source value * "only when the current value in session state is null" * this will fix the problem.

    See you soon,.
    Hari

  • Error FRM-92050 by trying to open the form after the passage in HTTP mode

    Hi all

    Yesterday, I installed Oracle Applications 11i on Red Hat Enterprise Linux ES 4 and forms work properly in default mode, which is a native (socket). Following steps 4 and 5 in [Doc 201340.1| https://metalink2.oracle.com/metalink/plsql/f?p=130:14:6398415066875997204:p14_database_id, p14_docid, p14_show_header, p14_show_help, p14_black_frame, p14_font:NOT, 201340.1, 1, 1, 1, helvetica], I enabled the HTTP mode and now my forms do not work. When I opened a form now, I get this error:

    FRM-92050: unable to connect to server: / forms/formservlet:-1

    Details...
    Java exception:
    java.io.IOException: negative content-length of http://...
    ...

    I searched the forums for this error and all the results that I found the deal with HTTP headers or cookies being corrupt, usually by an intermediate network device and MetaLink (web proxy, cache Accelerator, web SSL, etc.). I do not use anything of the kind - the client connects directly to the Oracle server.

    I checked the Apache error log, and that's what I see:

    [Game may 14 09:10:28 2009] [error] [10.11.1.114] clients denied by server configuration: / work/oracle/viscomn/java/java
    [Game may 14 09:10:28 2009] [error] [10.11.1.114] clients denied by server configuration: / work/oracle/viscomn/java/java
    [Game may 14 09:10:33 2009] [error] [client 10.11.1.114] File does not exist: /work/oracle/viscomn/java/oracle/forms/icons/oracle_logo_light.gif
    [Game may 14 09:10:33 2009] [error] [client 10.11.1.114] File does not exist: /work/oracle/viscomn/java/oracle/forms/icons/oracle_logo_light.gif
    [Game may 14 09:10:34 2009] [error] [client 10.11.1.114] File does not exist: / work/oracle/viscomn/portal/VIS_gen1-cs49/forms/formservlet
    [Game may 14 09:10:34 2009] [error] [10.11.1.114] clients denied by server configuration: / work/oracle/viscomn/java/oracle/ewt
    [Game may 14 09:10:34 2009] [error] [10.11.1.114] clients denied by server configuration: / work/oracle/viscomn/java/oracle/ewt
    [Game may 14 09:10:34 2009] [error] [client 10.11.1.114] File does not exist: /work/oracle/viscomn/java/oracle/ewt/alert/resource/AlertBundle_en_US.properties

    I don't like the look of these messages "client denied by server configuration." What's also weird is that the two files referenced by these messages do not exist on the file system:

    [oracle@gen1-cs49 log] $ cat/work/oracle/viscomn/java/java
    Cat: / work/oracle/viscomn/java/java: no such file or directory
    [oracle@gen1-cs49 log] $ cat/work/oracle/viscomn/java/oracle/ewt
    Cat: / work/oracle/viscomn/java/oracle/ewt: no such file or directory

    Any ideas? Are there any other logfiles that I need to check?

    Kyle,

    Routine & ROUTINE tried to start internal competitor Manager. The ICM is already running. Contact you system administrator for more than assistance.afpdlrq received an unsuccessful outcome of PL/SQL procedure or function FND_DCP. Request_Session_Lock.
    Systematic FND_DCP. REQUEST_SESSION_LOCK received a result code of 1 of the call for DBMS_LOCK. Request.
    DBMS_LOCK possible. Request resultCall failed in establish_icm
    Internal competitor Manager has encountered an error.

    Follow these steps:

    -Stop application services
    -Stop the database
    -Start the database
    -Start the application services and the simultaneous mananger
    -Check the condition of the simultaneous Manager

    Kind regards
    Hussein

  • How do I create a branch to the form after you have created a new record

    Hello

    I created a master/daetail form with detail on the same page.
    It works very well.
    When you create a new record, on the details of the page, you enter the data, and you click Ok.
    Then you are directed to the main form, a report containing the lines of recordings.
    You must then click on the link in the column to change the record to add details.

    I want to do it is to branch directly on the same page after you create the record. Order to dot Hat I created a branch whith the value equal to CREATE demand.
    And the target is the same page. The problem is to the value of the primary key. This KP is created after sending, and it is not possible to recover because it is created right now. I hope I'm clear.

    To sum up the question: how to create a branch immediately to the same page after creating a new record?

    I have the page on

    [http://apex.oracle.com/pls/otn/f?p=4550 | http://apex.oracle.com/pls/otn/f?p=4550]

    The workspace is ESPACE2008
    Is the user name: guest
    the password is: noproblem

    The long form is page 42.
    The main form is page 41
    Unfoirtunately tables are not available.
    You can see the process of branch No. 50 on page 42.

    Thank you very much for your help.

    Christian

    Christian,

    I couldn't connect to your ws because I don't think that your guest user has developer privileges. But have you tried 'Back in the agenda key' property in the region of origin of your page DML process. This should return the value of the primary key newly generated in a page element when the page is loaded.

    Anthony.

    -----------
    http://anthonyrayner.blogspot.com

  • Vista is that advancing the date of years in the future after this year _ reset

    Vista alone, advancing the date for the coming years (example 2073). After reset date it's OK for a while, then he returned to a far later date.

    Hello

    How to fix synchronization of time Internet - add your own time server
    http://www.edbott.com/weblog/?p=1779

    Dealing with Windows Vista time sync problems
    http://www.howtogeek.com/HOWTO/Windows-Vista/dealing-with-Windows-Vista-time-sync-problems/

    Synchronize your clock with time servers Internet from the Vista command prompt
    http://www.howtogeek.com/HOWTO/Windows-Vista/sync-your-clock-with-Internet-time-servers-from-the-Vista-command-prompt/

    Time synchronization on Windows XP and Vista with Internet
    http://www.techexams.NET/blogs/jdmurray/synchronizing-the-time-on-Windows-XP-and-Vista-with-the-Internet/

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

  • Why some of my paragraphs keep the former after update with designer Para when other changes ok please

    Hello

    With the help of 10 on Win 7 Pro frame

    I'm trying to change the font and color for a few paragraph with paragraph Designer tags.

    Most of the paragraphs change OK when I click on update, but there are strange paragraphs that do not change with the rest. For example, try to apply changes to the text of the Table will change some entries but not the other even in the same table. I find it rather impossible to believe.

    Similarly, for some of my numbered lists, the changes affect the number real number correctly, but the text maintains the old style.

    I change my tags offending outside the designer of Para, but I suspect that they will just return to the old style if I close and reopen the chapter.

    Any help please?

    Thank you

    Phil

    Assuming that it is a structured document, formatting overrides can be specified in the ESD for some elements.

  • XML document lack of implementation in the form after adding the node

    Hi all

    I'm adding a new node to my XML document using java.

    After I add, when I print the doc, I can see the xml code is not properly 'indexed' or 'formatted' (with a step internal node within the parent node.)

    I have put OutputKeys.INDEX that Yes. But I still have this problem.


    Kindlly help me regarding this.


    Thank you
    Sabarisri. N

    After I add, when I print the doc, I can see that xml is not properly "indexed" (sic, "indented") or 'formatted' (with a step internal node within the parent node.)

    It is indeed a common place of what to get. Rarely these whitespace contravene semantic aspects of xml, but it's annoying to the human eye. The OutputKeys.INDENT on the transformer fixing certainly wouldn't heal and makes it worse.

    If the lack of alignment gets enough wide, sometimes I use a custom xsl file to put an order of it. This is how the xsl looks like: it is just a slight development of an identity transformation. And I assume you are using jdk1.5 + packaged xerces and xalan.

    
    
    
    
    
        
            
        
    
    
        
    
    
    

    Suppose to be called indenter.xsl, and put themselves in the working directory. Printing to a file may seem just that.

    TransformerFactory tf = TransformerFactory.newInstance();
    Transformer t = tf.newTransformer(new StreamSource("indenter.xsl"));
    //suppose the doc is the document parsed and edited in the memory, and outfile is the path to output file
    t.transform(new DOMSource(doc), new StreamResult(new FileOutputStream(outfile)));
    

    I use xalan namespace to control the amount of space to indent. If you don't use of xalan, just leave these namespace declaration and the xalan:indent - amounted to and let the xsl processor using its default value.

    If you prefer instead of writing your own small xsl utilities, you can maybe google (mainly in using key as pretty print or a utility called htmltidy with w3c) to clean the misaligned output. Or check the documentation on the xsl processor used, some processor could have custom method to do the same.

    But cleaning may still run the risk of too interpret what can hold and is not. It is important to know what you finally want what to do and adjust according to your need.

    Published by: tsuji on Sep 21, 2011 07:57

  • Message from blackBerry Smartphones: the page you requested was created using data from the form.

    While closing a link to expedia.ca a message come to say: the page you requested was created using data from the form. This page is no longer available.  If you resend the data, any action that has been specified by the form will be repeated.  You want to resubmit the data?  When I click Yes or no, nothing happens except that the message just reappears.  I can't get rid of it so I can't do anything else on my phone, except to answer a call if someone calls me.  How can I get rid of this message from my phone?  I tried to turn it works... even by leaving off the coast for 5 minutes before turning turn it back on.  I can't even check my OS because I do not what anyone on my phone.  I hope someone can help me with this.

    Have you tried a battery pull?  This should fix a problem as you described.

    With your phone, remove the battery, then replace a minute later.  This will do all sorts of wonderful things to your phone for free unclaimed memory, delete no cited source points and make your phone run smoothly.

    Try it and let us know if it does the trick.

Maybe you are looking for

  • Satellite Pro A10. No CD drive

    Hello. I hope someone can help me. I have an old reliable A10, and until recently, it was the company. But then disaster. It keeps giving me an "error number 37" when I look at the driver for the cd drive. On the Microsoft web site, it said to uninst

  • LinkedIn badge on your signature

    How to add a badge of linkedin with a link to your email signature? LinkedIn while I managed to add the linkedin badge link, it does not work on mail signature?

  • V3 - 574G black and cannot restart the laptop screen

    Currently unable to use the laptop at all because he has himself in a State where I can not restart to reset. When "on", the keypad backlight is on but the laptop has a black screen - and pressing caps lock for example does nothing (should be a statu

  • Can't see the Favorites added in IE9?

    I wanted to transfer Favorites to our new system (Win7/IE9) in our old system (Vista/IE7) through the registry files and actually did with success the other day with my dad used. But today when I tried to do the same thing with some of my own, they a

  • Faxing documents, but LAN charger works fax fails with an error "no dial tone".

    I have a HP Photosmart C7280 on my local Wi - Fi network. On the local network, I can print from my Mac (OS X Lion mountain) without problem. I can scan on the LAN from my Mac without problem. I can send and receive faxes on the printer itself withou