How to create a process of erasure for sub form of table

Hello

I created two applications and they share the same DB schema to apex.oraclecorp.com.

One is app purchase order, when user enter 'Purchase requisition number' and select ' ERT HW/Item ID: HW/Item Name.

and click 'apply changes' in the tabular presentation, the other app in 3rd screenshot, automatically updated data with the ID of the item selected with the "purchase requisition number.

I did it with the following code in the first screenshot.

I would like to know how to create a delete for this process?

Does it mean that when I delete one of the item in purchase order app, another application can update the article with this number of requisition (PRM) as null?

How to specify the item I checked to remove?

Thank you!

Alice

I did itScreen Shot 2015-07-17 at 16.24.22.png

Screen Shot 2015-07-17 at 16.16.18.png

Screen Shot 2015-07-17 at 16.18.33.png

Hi AliceFan-Oracle,

AliceFan-Oracle wrote:

I read the thread of the solution you provided. But I think that my case is different.

I therefore reproduce my apex.com case.

In the page of the order, I create a process of "Apply change" button, so when you select item ERT ID and press the button 'apply changes', the process will update the column 'PURCHASE_REQUEST_NUMBER' in the table 'ERT_TABLE_ITEM '.

So it works on the button 'Apply Changes' that hope you that it works and you want to reproduce the same thing for the button 'delete '? as mentioned below:

So my question is how to create a deletion process, then click on the button Delete, the application of 'buy' in the article ERT Table number must be removed while the selected item with ID ERT point in the purchase order page is deleted?

Check your Application 81653 - Page 3.

Made the following changes:

  • Created a process of PL/SQL 'Remove the PRM in ERT_ITEM_TABLE' as follows:
Declare

    j number;

Begin

    For  i IN 1 .. apex_application.g_f01.count
    LOOP
        j := apex_application.g_f01(i);
        Update ERT_TABLE_ITEM
        SET    PURCHASE_REQUEST_NUMBER = null
        Where  ERT_ITEM_ID = apex_application.g_f30(j);

    END LOOP;

End;
  • Subordinate the process of 'Remove the PRM in ERT_ITEM_TABLE' to 'Remove' button request: MULTI_ROW_DELETE
  • Re-sequenced process so that the process of 'Remove the PRM in ERT_ITEM_TABLE' runs before "ApplyMRD".

Kind regards

Kiran

Tags: Database

Similar Questions

  • How to create elements of the checkbox on the form of tables

    I use the Application Express 4.2.1.00.08
    We currently have a spreadsheet that is who I am trying to replace application using APEX.

    I have loaded the spreadsheet into a table and have created a tabular presentation using the tabular presentation wizard who created the field in the form of text fields.

    The table has 38 columns in total, so I am trying to retrieve the columns to fit the screen.

    Most of the columns in the spreadsheet contain just the value 1 or null, so I want to make these fields check box so that they are checked if the value of the field is 1 and not controlled if the value is null. If the user selects the checkbox on the ground so I want to write a 1 in the table.

    Can you suggest I do this because several things that I have tried don't seem to work.

    Any suggestions or links to the doc on how to do that would be great.

    The structure of the table is the following:
    Name Null? Type
    ----------------------------------------- -------- ----------------------------
    IDENTIFICATION NUMBER
    FIELDNAME VARCHAR2 (30)
    ENTITY_CATEGORY VARCHAR2 (30)
    ATRIBUTE_GROUP VARCHAR2 (30)
    MASTER_SOURCE_SYSTEM VARCHAR2 (30)
    ENTERED_BY VARCHAR2 (30)
    DESCRIPTION VARCHAR2 (30)
    EXAMPLE_DATA VARCHAR2 (30)
    10891 VARCHAR2 (1)
    VARCHAR2 (1) 11072
    10892 VARCHAR2 (1)
    10487 VARCHAR2 (1)
    11065 VARCHAR2 (1)
    VARCHAR2 (1) 11078
    11066 VARCHAR2 (1)
    11067 VARCHAR2 (1)
    VARCHAR2 (1) 11061
    VARCHAR2 (1) 11062
    11063 VARCHAR2 (1)
    11064 VARCHAR2 (1)
    11079 VARCHAR2 (1)
    VARCHAR2 (1) 11057
    VARCHAR2 (1) 10520
    11058 VARCHAR2 (1)
    VARCHAR2 (1) 11056
    1262 VARCHAR2 (1)
    11070 VARCHAR2 (1)
    11059 VARCHAR2 (1)
    11060 VARCHAR2 (1)
    11071 VARCHAR2 (1)
    VARCHAR2 (1) 10819
    11069 VARCHAR2 (1)
    VARCHAR2 (1) 11068
    11074 VARCHAR2 (1)
    11075 VARCHAR2 (1)
    11076 VARCHAR2 (1)
    11077 VARCHAR2 (1)
    11073 VARCHAR2 (1)

    Published by: Kay Richards on June 7, 2013 16:51

    Published by: Kay Richards on June 7, 2013 17:14

    Click on the shape of table on the edit page

    go to the report attributes tab

    you will find the list of form elements

    now, click the icon to change the required column (small pencil icon).

    go to the tab column attributes, change the display as simple field check box.

    Then go to the values tab list.

    you will find the list of values definition text box just add 1 then click on apply changes.

    Run the page, you are gud to go.

    NULL is the default if the checkbox is in a disabled state, just use 1 in the list of values.

    Kind regards

    Mohan.

  • I want to know how to create the account admin hiden for my laptop.

    original title: admin account

    I want to know how to create the account admin hiden for my laptop.

    She has windows vista. I'm the only Admin and the only user. No other person has access.

    The hidden account called administrator is already present.  To activate it:

    1. Click on Start > all programs > Accessories .
    2. Right click on command prompt .
    3. Click run as administrator .
    4. In the command prompt window, type net user administrator / Active: Yes
    5. Press enter .

    Boulder computer Maven
    Most Microsoft Valuable Professional

  • How to create a VPN file .pcf for the CISCO VPN CLIENT software profile

    Dear all

    How to create a VPN file .pcf for the CISCO VPN CLIENT software profile

    Concerning

    Hi Imran,

    Can't do much about that because it depends on what authenticate you the VPN server and how the settings. But let me introduce you to the memory layout. Once you install and open a VPN client. Press it again and it opens up a new page for the VPN config.

    Example of configuration as it is attached. But it differs depending on the configuration of your vpn server.

    Once you create and save this profile. Your FCP file is stored.

    Please assess whether the information provided is useful.

    By

    Knockaert

  • How to create a report in excel for a table?

    How to create a report in excel for a table?

    Creating an excel report

    the forage value off markup html on spool on

    coil emp.xls

    Select * from noshow.

    spool off

    moved the markup html off the coast of the coil

  • How to create a field date in my Contact form.

    How to create a field date in my Contact form. Ideally, it would offer a timetable for the user to choose from.

    Hello

    You cannot add a calendar field in Muse. However, if you decide to host your site on Business Catalyst, you can add the Date field to your form in the form Builder Web of BC and then add the form code to your Muse site using the feature to insert the HTML code.

    Kind regards

    Aish

  • How to create a process to redirect to another page?

    Hi all

    I have a selection list, and when I select a value from this list, I want to redirect to another page. This means that I need to create a process, but I don't know how to write it, please help me!

    Hello

    Selection list can also submit the page and redirect to the page.

    Page under settings attribute selection list Action when the value is modified.

    If you submit the page, you can then create for example a branch that brings you to the target page.

    Kind regards
    Jari

  • JDeveloper 10 g - how to create a process BPEL of WSDL (descendant)

    Hello

    Is there a document that tells us how to create an a WSDL BPEL process, rather than the reverse?

    Kind regards

    Arindam

    Something like the steps mentioned in this thread? Problem with BPEL WSDL:BPELprocess existing made reference wrongly create wsdl

    In addition, your question is specific to SOA, so you'll probably have more luck if you ask this question on the SOA forum.

    Dario

  • How to create a survey online or for new customers?

    Hello

    I want to create a survey for my new graphical clients. I have a few business questions to new clients and need written answers. I want to stop sending a pdf form, is not well designed for an excellent online form.

    In fact, I know how to how I will present and send the page, but not for a tip: how to create an editable multiline text field online by someone Muse?

    I tried to use this type of text box of a contact form, but it is not effective.

    I tried a wuffoo embed widget, but I don't want to use an external service (like getosmosis.com, or something)

    I have well on the browser in editing, but I don't know if it's a good idea to do this, or really effective.

    I want to build a page scrolling with anchor points and a vertical menu sticking to the 10 chapters of questions and a "send" button at the end to receive the form in my Inbox mailbox, exactly like a message in a contact zone.

    You have an idea? Advice?

    Thanks for that, guys.

    Mikael.

    Forms are forms and editing in the browser has nothing to do with it. I'm afraid that you really need to use other services or sign up to a British Colombia account Pro, if it is really so important to you.

    Mylenium

  • How to create an extension of html5 for adobe indesign cc 2014 using builder extension 3?

    I am tryieng to create an extension of html5 for adobe indesign cc 2014 by reference tutorial

    Create the HTML5 Extension in 5 Minutes

    After debugging the indesign extension in windows > extensions are not visible?

    screenshot below shows.

    Untitled.png

    Is there any plugin sdk is required to create the extension html5 in adobe indesign cc?

    How to open a custom extension html5 in indesign cc?

    Is theire any tutorial is theire to create an extension of html5 for adobe indesign cc?

    Thanks in advance for the help.

    Thanks for the reply. I use adobe indesign cc 2014 windoxs 7 64-bit

    I've changed the target and path of service below show application.

    is - this plugin works in few 2014 adobe indesign cc?

    can u send me pls link for download adobe indesign cc 64 bit. Theire is a sdk required for plugin.

  • How to create a metal/can Cup for donation in adobe illustrator?

    Hi Forum, I'm designing a website for a charitable foundation but do not have a lot of experience in adobe. Can anyone help step-by-step on how I can create a cup metal/can for donations in adobe illustrator or any other adobe product?

    one more time: you can use the 3d revolution feature, to get this in a few minutes...

    the addition of locations etc also detailed but not hard to explain.

    Just try the 3d revolution...

    G

  • How to create a pointed round object for the seal of approval

    Hi - I'm really not great with Illustrator so I hope someone can help me.  See the image below:

    seals.png

    I downloaded the Deaf friendly seal as a vector image of a stock website.  Now my co-workers want to add me as 'sunburst' round edge and place it behind the round part of the Deaf friendly.  Instead of downloading another vector image of the sharp round thing, I would try to do it myself, but I'm not good with Illustrator.

    Can you give a tutorial or help on how to create this round object with points around it - maybe a quick and easy way to do it?

    Thanks in advance.

    1. Hold-click and drag with the star tool (keep the mouse down)
    2. Use up arrow curosr to add points
    3. Press and hold the command Ctrl-PC-Mac change of inner radius

    When it seems good coward of mouse

  • How to create a model to look for an ftp location loading flat files

    Hello world

    My requirement is - I need my model to a ftp location where our files food source are kept and loading every day. Right now my model ODI resembles my odi home default load my files. Can anyone suggest how this is possible. And also how can I customize the loading of flat file in the package (my flat file has a name that has the date of days on that (0628xxx.txt for today and tomorrow 0629xxx.txt).) How can I tell odi to search for files in my parcel today and tomorrow.

    Thanks in advance.

    concerning
    Badin

    Babu,

    The default port for ftp is 21. What is your port?
    You can specify the name of the port next to the server name as in "servername.company.com:27" assuming that your ftp is running on port 27

    You use local or remote agent. It will also make a difference, because maybe remote agent cannot see this IP.
    Another point to consider is that your ftp could be a secure ftp, in this case, you need to use another tool - odiSFtpGet

    Try using the ftp commands in the command prompt Windows.

    Get the means to get the files from the FTP server.
    Put the means you want to place the files on the FTP server.

  • How to create a list of choices for a stage of processing form?

    I am creating a form of treatment step where the landing page will be determined by a postal code entered in the form. I tried to use the option "Determined by a drop-down list" with a drop-down list that maps the zip to a landing page. Can't seem to make it work.

    I know that this need to use which redirects to the landing page (id = 14) and postal code (20200) as the value of the lookup option, but what should I put in the option name field to determine the landing page? Id number in the url of the destination page editor does not, save them the destination page name does not work, the actual url (LP and vanity) does not work. Also tried to pass the field name and value around with no result.

    Where am I going wrong here?

    Processing step

    The drop-down list values

    I have it! You must use only the identification number of the destination page and reverse fields. Therefore use the option for the zip name and just the ID of the value (13:20100)

  • How to create and process the Iinteractive report with the records selected in 4.1

    Hello

    I want to have an interactive report that will have a check box that can be selected for processing batch in front of each line. Is it possible to do?
    If there is, please provide a method to deal with these cases, i.e. for each selected record, create a new record on another table and update the record as well as the Treaty.

    Thank you

    Published by: yannisr on July 13, 2012 05:58

    To do this, you must consult the documentation for the APEX for two things

    Create a checkboxes using APEX_ITEM API

    How to reference these boxes in a process to send

Maybe you are looking for