Inserts using automatic line processing (DML) should not clean cache

Hello
I use APEX 4.0.1.00.03.
I created a form on a table for inserts and updates.
After that I do an insert, automatic processing of the line (DML) clears the cache for all elements on the page.
But the user wants to see the data it inserted without query. How can I achieve this?

Thank you
Chandra

Ok

On your process «Process Row of...» ', copy the value of the parameter 'Element containing Primary Key Column Value' as part of "Return to key item" and click on apply changes

Andy

Tags: Database

Similar Questions

  • How to edit the automatic line processing (DML)?

    Hello

    I'm on Apex4.2

    I created a form on a Table with report and a form is using automatic line (DML) to add/change/remove treatment.

    I specified "trigger existing" as a source of a primary key column.

    How can I change it to "existing sequence" instead? Is it at all possible the?


    The other question is to know how to add an element to deal with by automatic line treatment?

    I added a column to the underlying table and corresponding page element. I need to write the default value of this object to the database.

    I added the name of the column in the Source of the page item definition. And it has the same value "Always, replace any value.."

    The element must be thouh "view only". If the value of the element is null, the default value must be written in the db.

    It doesn't work that way for a reason any. -What did I do wrong?


    Thank you.

    Hi Bloch,

    I'm on Apex4.2

    I created a form on a Table with report and a form is using automatic line (DML) to add/change/remove treatment.

    I said 'Existing trigger' as a source of a primary key column.

    How can I change it 'Existing Sequence' instead? It is possible at all?

    No, you can change the generation technique of primary key on the form of DML automated after creation.

    What is the problem with "existing trigger? Trigger is an elegant way to generate and manage your primary key.

    For example, take a look how you can generate a primary key with trigger:

    create or replace TRIGGER BIU_EBA_DEMO_FILES
       before insert or update on EBA_DEMO_FILES
       for each row
    begin
       if inserting then
           if :new.ID is null then
             select EBA_DEMO_FILES.nextval into :new.id from dual;
           end if;
           :new.created := localtimestamp;
           :new.created_by := nvl(wwv_flow.g_user,user);
       end if;
       if updating then
           :new.updated := localtimestamp;
           :new.updated_by := nvl(wwv_flow.g_user,user);
       end if;
    end;
    

    The other question is to know how to add an element to be processed by the transformation of the automatic line?

    I added a column to the base table and corresponding page element. I need to write the default value of this object to the database.

    I added the name of the column in the Source of the page item definition. And it has the same value "Always, replace any value.."

    The element must be thouh "view only". If the value of the element is null, the default value must be written in the db.

    It doesn't work that way for a reason any. -What did I do wrong?

    I agree with Jitendra solution to add a new element to shape DML, to be processed by the transformation of the auto line.

    But I would like to add that the article is "Display Only", check if the settings section of the element-> property to save Session State is set to "Yes" as it will help in the treatment of the form.

    Finally, if you still want to go to the primary key generation technique using 'Existing Sequence' and add new items to the form as well, why do you consider not deleting existing shape and recreate the shape with options that your choice and with the same page number.

    I hope this helps!

    Kind regards

    Kiran

  • Automatic line processing (ARP) is not updated the table

    All pages update tables appropriate with the exception of the Page 7 (gross revenue). "While it is said ' gross revenues registered" after the success message, the lines is not being updated. I can't understand why. I checked the source and it is OK. I checked that the key of the table is a page element (P7_FIRM_ID) and not a component of demand (F103_FIRM_ID). I also checked to make sure that the P7_FIRM_ID item_id is computated correctly and it is.

    Can someone please help. Thank you.

    RGWORK workspace
    Application 44288
    Username TESTER
    Password TEST123

    Run the application from Page 33 instead of Page 1 and choose the small business.

    Thanks again,

    Robert

    Article P7_FIRM_ID of the page has value Source:

    GR_FIRM_ID

    This is incorrect.

    Scott

  • Is it possible 2 automatic process line processing DML on a single page?

    Dear friends;
    I need to use 2 automatic process line processing DML on a single page? each process working on a clean table (insert/update/delete)
    on other forms of words on a single page 2 table
    but I have invalid identifier error
    concerning
    siyavus

    Published by: sak on October 12, 2010 17:30

    Siyavus,

    Sorry, this is not possible. There is only one form of automatic DML by page. You can have multiple forms per page, but only one of them can use automatic DML.

    Joel

  • Ordered the iPhone 7 using a line that I will not activate

    When I went to order my iPhone 7 on the Apple site, I was not able to transfer the update on my Verizon account to my line, so I used the line that took the upgrade. However, when I receive and configure the iPhone, I don't want to activate the phone on that line. Is there a way to change that line the iPhone turns on when I receive?

    When you retrieve the iPhone, contact your carrier and tell them what you want and ask them how to proceed.

  • should "Seek automatic line" process what?

    db11gxe, apex 4.0, firefox 24,

    Hi all, I do not understand what it should in fact?

    Otherwise, how will he know what line to select and display?  If look at the process, you will see that it is the page that contains the primary key for the table, so APEX expects this value to retrieve the row of data...

    Thank you

    Tony Miller

    Software LuvMuffin

  • Now, my phone is says: iPhone is disabled, I used my password but it should not.

    My ios phone 6 more

    This morning it would not come and asked the access code: who I am inside, but he would not accept... I stop twice & it turned on but still does not work... Now, he says that it is disabled. I tried to use the power & home button until the Apple signia... still says disabled.

    Have you tried to reset, restart or restore?

  • Block of data to be inserted using the class SqlBulkCopy - constructor type not found System.Data.DataColumn

    I am using the SQLBulkCopy class methods for bulk inserts data into a PostgreSQL RDBMS. Think "table grapes." I'm basically buffer a lot of data to be inserted when a task is completed, rather than constantly doing transactional inserts have a lot more overhead.

    To do this, I use the SqlBulkCopy(DataTable table) method as the IDataReader objects and DataRow have no public constructors in LabVIEW. Here's my current implementation:

    But it fails with this error:

    The VI is attached for reference. Any ideas (or alternative bulk insert) would be appreciated.

  • Line auto processing (DML): after inserting Null

    At the top, when I quand j' essaye trying to insert into the table by using the automatic line processing (DML). The treated action and got the success message. But, in the table it has new lines, but all columns have a NULL value. I need your help in this.

    --

    Thank you

    Hello

    Check the page Source is always, 'replace the value that exists in the session state. "

    Source type is "A database column"

    and Source of value or expression is the name of the column.

    Kind regards
    Jari

  • How to copy a record with a treatment of automatic line (DML)?

    Hello

    I want to duplicate (copy) a record.

    I have a form with an automatic line processing (DML), look for the PK stored in an element named P26_ID and filling of the values in the corresponding elements of the form.

    I have an automatic line processing (DML) that allow to update, delete and change the line.

    So far so good.

    I thought it would be good if I calculate a new value for the PK and stored in the P26_ID.

    Then I thought that the automatic treatment of the line (DML) would see that this is a new value for the PK and would "decide" insert a new record.

    But it does not work like that. I thought it was because the P26_ID element is of type database column; so I went to another element named P26_ID_NEW and put this new pk in this article. I then created another automatic processing line (DML), triggered by this button, and who will look at this new element. It doesn't work any more.

    Where can I go wrong?

    Thank you very much for your help!

    Christian

    Christian:

    Assuming that the 'Duplicate' function is available only when the page is in "Edit" mode, IE. a record has already been loaded in the form, you can do the following to duplicate this record

    (1) define a button named "duplicate".
    (2) set the goal for this button to be "URL".
    (3) set the URL for this button to be
    JavaScript:Duplicate();
    (4) add this piece of JS in the header of HTML page

    
    

    CITY

  • Message of conditional for line automatic processing (DML)

    Request Express 3.2.1.00.11

    I have an Edit Page process (automatic processing line (DML)) that was created using the APEX Wizard, part of an INSERT, UPDATE DELETE form.

    Is it possible to set a condition in the dialog box Messages that conditionally returns a person in charge of message on the operation (Insert, Update, or Delete).

    The returned generic message is 'Action transformed '.

    Concerning

    Ben

    Benton says:

    Request Express 3.2.1.00.11

    I have an Edit Page process (automatic processing line (DML)) that was created using the APEX Wizard, part of an INSERT, UPDATE DELETE form.

    Is it possible to set a condition in the dialog box Messages that conditionally returns a person in charge of message on the operation (Insert, Update, or Delete).

    The returned generic message is 'Action transformed '.

    Messages of the integrated automatic processing (DML) can process line (at least where messages are in English) referring to the integrated REQUEST substitution string:

    Customer &REQUEST.d.

    that, together with DEMAND appropriate values for the buttons that trigger the process (e.g. CREATE, SAVE, and DELETE) displays messages like:

    • The customer is created.
    • Registered customer.
    • Deleted client.
  • Behavior strange transformation process of automatic line (DML)

    Hi all

    I'm running a process with extraction transformation of automatic line (DML) on a synonym and it works perfectly but when I change the owner of the table, it no longer works and displays the error message:

    ORA-06550: line 1, column 17: PL/SQL: ORA-00936: lack of expression ORA-06550: line 1, column 9: PL/SQL: statement ignored
    Extraction of line cannot.


    I thought it might be the owner on this synonym permissions, so I give him all the subsidies, but still no luck.

    Anyone know if there are limits to the process of automatic line (DML)?

    Pedro,

    Think our responses crossed there, please take a look at my last post.

    See you soon

    Ben

  • APEX 5 treatment of automatic line (DML) update fails

    Hi all

    I need help because it seems I'm missing something to get this working:

    -J' have a page with a form that contains editable elements and some hidden items.

    -J' have a button on the same page, open a modal dialog box.

    -the modal dialog box contains a tabular presentation, including a process of "Dialogue."

    -button of the modal dialog box contains a 'closed dialog box"

    -There are 2 real actions:

    -L' code is running plsql for updating a hidden field called P210_DATE_MODIFIED with sysdate.

    -Send the Page using a query called SAVE_CARS.

    This kind of debugging things says:

    ... Session state: saved point new value "P210_DATE_MODIFIED" = "" 27.05.2015 14:55:44 ""

    and later:

    ... 'Row of CAMPAIGN_DATA process' process - Type: NATIVE_FORM_PROCESS

    ...... Jump as integrated type process condition evaluates to FALSE.

    (there are no conditions on this process.)

    The data is not updated.

    What does ""integrated process of type condition "means? "

    How can I know why there is no update running? I thought that this setting P210_DATE_MODIFIED a new value is enough to trigger the update.

    EDIT: Supported Operation has the value "Update" to fetch him the automatic line.

    Thank you and best regards,

    Gerald

    Hi Gerald,

    What is your (name of the button) submit button? It must be one of the following names for the type of build-in the condition evaluates to true.

    Update validates the values of request: SAVE, APPLY the CHANGES, UPDATE, UPDATE, MODIFY, APPLY, APPLY LINE of CHANGES %, GET_NEXT %, GET_PREV %

    Values of request for valid insertion: INSERT, CREATE, CREATE_AGAIN, CREATEAGAIN

    Values valid request Delete: DELETE, DELETE, DELETE the LINE, DROP

    Concerning

    Patrick

  • ORA-01403: no given available problem when you use FETCH of AUTOMATIC LINE to fill

    ORA-01403: no given available problem when you use FETCH of AUTOMATIC LINE to fill out a form.

    1) has created a FORM on the use of assistants of EMP. This creates an AUTOMATIC FETCH of LINE
    NAME OF THE TABLE - EMP
    The PRIMARY KEY containing - P2099_EMPNO point
    Primary key column - EMPNO

    By default, automatic extraction has a "process Error Message' of"Unable to fetch line."

    (2) created an HTML region. In this region add
    text P2099_FIND_EMPNO element
    GET_EMP submit button
    The update branch the conditional branch created when the Create button to set P2099_EMPNO with & P2099_FIND_EMPNO.

    If I then turn the page, enter an employee in P2099_EMPNO number and press the GET_EMP button, the form is filled correctly. But if I get an employee who does not exist, then I get error oracle ORA-01403: no data found and no form but a message at the top of the page 'Action transformed '. I was expecting a blank form is displayed with the message 'Could not extract line.'

    In conditioning automated extraction so that it checks that the line exists first, I can work around that. Change the fetch EMP automated line so that it is conditional
    EXIST (SQL query returns at least one row)

    Select 'x '.
    from EMP
    where EMPNO =: P2099_EMPNO


    But this means that when the employee exists I must be get DB twice, once to the State, and then again for the extraction of the actual line.

    I can't change so I don't get the Oracle error, rather than work around for a above is there something? I wonder now if the automatic extraction of line is only supposed to be used when you bind a report to a form and that I should manually write the extraction process. The reason for which I don't have at the moment, it is that I'm trying to stick with the auto generation Assistant as I can.

    Any ideas?

    Thanks, Pete

    Pete:

    The process Assistant APEX (ARF, ARP etc) errors are generally not recoverable. The error encountered is simply displayed on a page by using the model of "Error Message. So as you said yourself, you create your own process line Fetch and have the opportunity to customize the management mistakes, or you paste a validation on the page to verify that a folder can be accessed for the views expressed.

    CITY

  • Question: insertion of several lines in the MS Sql Server table using the DB adapter

    Hi all

    I managed to insert a single row in a table of MS SQL Server via the adapter DB to my process BPEL, but when I tried to insert in mutiple lines in the same table of MS SQL server, I encounter the error below.

    I use a DB SQL XA connection to connect to the server.

    Kindly help me to solve the problem. Thanks in advance.

    Error:

    " < bpelFault > < faultType > 0 < / faultType > < remoteFault xmlns =" http://schemas.Oracle.com/BPEL/extension "> < a name ="summary"part > < summary > exemption is is produced when the binding was used." Exception occurred during invocation of the JCA binding: "JCA binding run 'merge' reference operations have to: DBWriteInteractionSpec Execute Failed Exception." the merger failed. The descriptor name: [LoadCmpAggSpendStage.SapTable]. Caused by com.microsoft.sqlserver.jdbc.SQLServerException: incorrect syntax near ')'... Check the logs for the record output full DBAdapter before this exception. This exception is considered as reproducible, probably due to a communication failure. To be classified as not reproducible rather add property nonRetriableErrorCodes with the '102' value in the deployment descriptor (i.e. weblogic - RA.Xml). Auto retry a reproducible fault set composite.xml for this invoke these properties: jca.retry.interval, jca.retry.count and jca.retry.backoff. All properties are integers. ". The called JCA adapter threw an exception of resource. Please examine the error message above carefully to determine a resolution. < /Summary. (> < / piece > < part name = "detail" > < detail syntax > incorrect near ')'. < / details > < / piece > < part name = "code" > < code > 102 < / code > < / piece > < / remoteFault > < / bpelFault >

    Kind regards

    Balaji Rahmani

    It seems that in this case is called merge operation. If existing records (check primary key) are not there then it will be inserted on the other update. Check the syntax of the query that is created. It looks like she may have a supplement "). If you want to only insert then call insert operation and not merge.

Maybe you are looking for