Using a link to trigger a delete action on form page?

Hello,
I have been unable to find an explanation about how to do this in the documentation, these forums or the old interakt forums.
Is it possible to use a link to trigger the delete action on a form page?
If so how is it done?
Thanks in advance!

Sorry Purple.. I know that there is a delete link that triggers the delete transaction on the form page..
The question was if anybody knew if I am able to use a link to trigger that delete transaction (on the form page), much like a dynamic list has a link that will trigger the delete transaction on the form page.
I don't want to use a dynamic list in this case though. :)
Thanks anyways,
Drew

Similar Messages

  • Using user_tab_columns on the trigger

    dear all
    i need to use user_tab_columns on the trigger before delete
    like ex
    SELECT a.column_name
    INTO l_col_name
    FROM user_tab_columns a
    WHERE a.table_name = 'EMPLOYEE' AND a.nullable = 'N';
    this is not work because the query not retrieve column name but emp_no is not null , if any suggestion to solve this issue?

    i need to use user_tab_columns on the trigger before
    delete And what business case you are trying to solve?
    Gints Plivna
    http://www.gplivna.eu

  • Cancel a delete action in a trigger

    Hi,
    I would like to know the best way to cancel a delete in a trigger, I want to instead change a Field called Active to 'N'
    My application is built on views that exclude records with this flag set to 'N'
    I have found the IF DELETING ('id') THEN syntax which should be fine to capture the delete, but what is the best way to then cancel the delete?
    Thanks in advance
    cl3ft

    Hi,
    I don't think you can cancel the delete action in the trigger if you want to perform another action afterwards. You can cancel the delete action by raising an exception (e.g. with RAISE_APPLICATION_ERROR(-20001,'No delete allowed') ;)
    To cancel the delete action and perform an action afterwards I would suggest to create a view on the table containing all columns. On that view, you can define an INSTEAD OF DELETE trigger. In this trigger, simply update the column and do not perform any delete action. This should do the job for you.
    Regards
    Stephan

  • Submit Action and Redirect page in Tabular form Column Link

    Hi All,
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Can anyone help me out to resolve this.

    811598 wrote:
    Please update your forum profile with a real handle instead of "811598".
    When posting a question here, always include the following information:
    Full APEX version
    Full DB/version/edition/host OS
    Web server architecture (EPG, OHS or APEX listener/host OS)
    Browser(s) and version(s) used
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Remove the link attribute (what you have used there is not the correct way to use this property anyway).
    Change the target page to the same page as the report.
    Set the Column Link Request property to BRANCH_TO_PAGE_ACCEPT|SAVE.
    Create an On Submit: After Processing (After Computation, Validation, and Processing) branch to page 7, conditional on the SAVE request.
    If the SAVE request can be triggered by something other than the report link (e.g. a Save button) then use another request value that will trigger the required page process in the link request and branch condition, e.g. BRANCH_TO_PAGE_ACCEPT|APPLY and APPLY respectively.
    Note that there is a bug in BRANCH_TO_PAGE_ACCEPT processing in APEX 4.2.3 and a patchset exception must be installed for this approach to work on this APEX release.

  • Bulk insert using stored procedure or trigger

    Hi ,
    I have to insert around 40,000 rows in a table querying other database using database link.
    Please advice whether I do using stored procedure or trigger.
    Thanks.

    Here is a basic benchmark that illustrates the difference between maximising SQL, or doing it in PL/SQL instead.
    Care needs to be taken with such a benchmark in order for physical I/O not to negatively impact a test, and then have no impact in the second test as that data read from disk now sits in the cache.
    So I ran it a couple of times in order to "warm up" the cache. I also put the maximise-SQL test first in order to show that it is still faster, despite any physical I/O it may do (which will likely be faster logical I/O with the second test).
    Run on Oracle XE 10.2.0.1.
    SQL> drop table my_objects_copy purge;
    Table dropped.
    SQL> create table my_objects_copy as select * from all_objects;
    Table created.
    SQL>
    SQL> set timing on
    SQL> begin
    2 delete from my_objects_copy;
    3
    4 insert into my_objects_copy
    5 select * from all_objects;
    6
    7 commit;
    8 end;
    9 /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.11
    SQL> set timing off
    SQL>
    SQL> drop table my_objects_copy purge;
    Table dropped.
    SQL> create table my_objects_copy as select * from all_objects;
    Table created.
    SQL>
    SQL> set timing on
    SQL> declare
    2 cursor c is select * from all_objects;
    3 objRow ALL_OBJECTS%ROWTYPE;
    4 begin
    5 delete from my_objects_copy;
    6
    7 open c;
    8 loop
    9 fetch c into objRow;
    10 exit when c%NOTFOUND;
    11
    12 insert into my_objects_copy
    13 values objRow;
    14
    15 end loop;
    16 commit;
    17 end;
    18 /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:03.21
    SQL>
    The cursor-fetch-loop is almost 3 times slower. The more rows there are to process, the slower the cursor-fetch-loop will become, as it will create more and more context switching and copying data between the SQL and PL engines and back.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Trigger follow up action in Auto UD

    Hello Gurus,
    we have defined follow up action after making UD of inspection lot. the logic is to move the stock from one Sloc to other after UD is made.
    This follow up action works well when we make UD in QA11 (foreground). however, we observed that. when we make Auto UD using background job, the follow up action is not triggered.
    Is there any config we are missing? or this is a standard functinality?
    Thanks.
    S J

    Hi,
    To my understanding there is no further special configs available which is not working in background but in foreground it is working and MvT 311 is happening successfully.
    If you are using any custom MF linked to the follow-up actions, then better you speak to ABAP team colleague to double check if the assigned FM is background compliant too.
    If you are using any standard FM, please can you share the same with us so that if someone has worked with it, they may share their thoughts.
    Thanks,
    Arijit

  • Using web link to call the report by passing the parameter but report blank

    Hi,
    I have using web link to prompt to generate the report(Quotation Format) by passing SR number in Service Request object.
    The result return is blank report, the URL link that i put in as below :-
    https://secure-ausomxega.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Options=rfd&Path=/shared/Company_AEGA-3V6GLL_Shared_Folder/SR%20Quotation&Action=Navigate&P0=1&P1=eq&P2="Service Request"."SR Num"&P3=%%%SR_Number%%%
    If preview in report folder, the report is generated with the output.
    Is my syntax having problem or the method cannot be done this way?
    Please advise

    Hi Alex,
    I manage to get the report output but the result is always same.
    i have checked the filter, the filter is calling the SR number.
    When i try to output to PDF an error prompt :-
    Sax parser returned an exception. Message: Expected entity name for reference, Entity publicId: , Entity systemId: , Line number: 335, Column number: 12
    Error Details
    Error Codes: UH6MBRBC
    Thanks
    SK

  • How to trigger a 'delete' across different related tables in ABAP?

    Hello All,
    I am creating database tables for storing different values of features coming under different countries. I have eight tables in my design and there are fields repeating in different tables, which i am connecting through foreign key relationship.
    After entering values to all my tables, if i need to delete a particular field value which is repeating in more than two tables, is it possible to trigger a delete event by which if am deleting the field value in a particular table, all the related field values also get deleted from the respective tables?
    For example, if i have a PRODUCT field in three tables, and if one of the PRODUCT is deleted from a particular table, can i trigger a delete event by which i can delete all the values related to that particular PRODUCT from all the related tables? The PRODUCT is a primary keyfield, and i have maintained proper foreign key relations also.
    I have tried deleting entries using the views and using the database table itself, but only that particular table value is being deleted.
    Is there any function module for triggering a delete?
    Can anyone help me with some solution?Sample code will be helpful.
    Thanks in Advance,
    Shino

    Hi,
    My friend it is not advisable to delete any field from a database  table bcoz it's creats incosistance data for all the other related tables, but there r few Function Modules that provide u this functionality.
    Such As:
    G_REPORT_DELETE_ADDFLD_ENTRY
    G_CATT_DELETE_TABLE_ENTRY
    RKE_DELETE_FIELDS_FROM_TABLE
    Regards

  • Is there a way to trigger button's action listeners from key events?

    I rarely do GUI programming, especially not in Java. But now I am working on a GUI app and would like to get some help.
    Say I have a simple GUI consists of a JFrame, and a bunch of buttons on its JToolBar. The buttons on the JToolBar are for navigation of a set of documents, first, prev, next, last etc. All buttons are assigned action command strings, and their all trigger the same instance of action listener. inside of the action listener, it does the correct navigation based on the action command from the event.
    but some users want to be able to use the keyboard to do the navigation, because they think clicking the buttons are too slow.
    So is there a graceful way to receive the different key press events and trigger corresponding navigation actions (hopefully it reuses the code that is already there, e.g. the action listener)? thanks.
    -- Jim

    but some users want to be able to use the keyboard to do the navigation, because they think clicking the buttons are too slow. That is always the case in any GUI. Any application should be designed to use either the mouse or the keyboard.
    All buttons are assigned action command strings,That is not the way the GUI should be designed.
    Instead you should be creating Actions. Then you can add the Action to a button and you can associate the Action with a KeyStroke which is called "Key Binding". This is the way all Swing components work. You can read the [url http://download.oracle.com/javase/tutorial/uiswing/TOC.html]Swing tutorial for more information and examples. Start with the section on:
    a) How to Use Actions
    b) How to Use Key Bindings

  • How to use rollover function to trigger a video demo

    What I have done so far?
    Imported a PowerPoint slide and I created a Rollover caption. When exploring the properties for the Rollover, under the Action field:-
    On Success row, chose Open Another Project 
    Project row, uploaded the the file abc.cptx that is a software simulation record.
    When looking at slide in published mode, encountering the following message when I clicked over the rollover area
    "The project abc.htm, abc.swf is launched at this point but is unavailable from this preview window. To preview, use a web browser. "
    Anyone has any idea or best practices on where I went wrong?
    Regards
    AJ

    Hmmm, wondering if it is a typo, but a Rollover Caption doesn't have any events. How could you trigger a Success action in that case? This remark is only for other users. The only rollover object that has a rollover event is the Rollover Slidelet, not the Rollover Caption.

  • How to use a link in a tree

    System: Oracle 8i on HP-UX, Forms 6i on WINNT.
    Imagine a Forms app which contains a tree with all
    accessible forms applications.
    Each item is related to a command line which is
    stored in the database and executed when the item
    is doubleclicked.
    This fires the trigger when-tree-node-activated
    which executes 'cmd/c ||pathname||filename'.
    and the file which will be executed is usually a
    .bat file which then starts another form
    with path\ifrun60.exe module=*path*\form.fmx usesdi=yes.
    This works really fine and all users are happy
    and me too, because any other new application
    can easily be added. Now my question:
    How can I use a similar construction with Oracle 9i
    and 9iDS ? My customer is considering this switch.
    How can I use a link instead of this batch ?
    Every advice is greatly appreciated.
    Best regards,
    Udo

    Depends where the code needs to be run - if it needs to be run on the App Server machine then keep the code you have today.
    If it needs to be run on the Client (Browser) machine then look at the HOST bean sample on OTN (otn.oracle.com/products/forms)

  • Using HR_INFOTYPE_OPERATION in external subroutine for Dynamic Actions

    Hi,
    I am calling an external subroutine in the Dynamic Actions of an Infotype. In this external subroutine, I am using HR_INFOTYPE_OPERATION to modify OTHER records of the same Infotype number.
    However, when I tried to trigger the Dynamic Actions in PA30, the other infotypes get modified as intended. But when I refreshed the PA30 screen, the changes were reversed back as if the HR_INFOTYPE_OPERATION were not carried out at all. I have COMMIT WORK after the HR_INFOTYPE_OPERATION, refreshed the buffer. But it doesn't seem to work.
    My question is: Can i use HR_INFOTYPE_OPERATION in an external subroutine which is called during dynamic actions? As I have some complicated logic, I do not want to embed the coding in the Dynamic Actions. Is there a way for HR_INFOTYPE_OPERATION to work in the external subroutine with the changes being committed to the database?
    Thank you.

    Hi,
    I remember the same problem being faced by some of the forum members.
    Suresh Datti had replied that "Call the subroutine in a nother program using a SUBMIT statement. This will create two sessions and will update the DB". This was working fine for the users.
    Hope you can try this.
    Just call a program using SUBMIT statement and code your form routine inside that.
    Hope this helps you.
    Regards,
    Subbu.

  • Undo Changes in child table (using view link)

    Hello,
    My environment : Jdev 11.1.2.2.0
    I have a master-detail relationship which is linked using View Link. My requirement is to open a popup on double clicking the master row, and the user can add/delete/modify the child rows. Also I need to provide Ok/Cancel buttons. I need to Undo all the changes done for the child when the user clicks 'Cancel'. Can anyone please help to solve this?
    Regards
    Suresh

    First u need to a custom SelectionListener and make sure that RowSelection is set to single row. Add a method in the Managed Bean and make the row as current using the below java code
    public void Master_tableListener(SelectionEvent selectionEvent) {
    // This code is to make the selected row as current programatically
    ADFUtil.invokeEL("#{bindings.*YourViewObjectName*.collectionModel.makeCurrent}",
    new Class[] { SelectionEvent.class },
    new Object[] { selectionEvent });
    Row selectedRow =
    (Row)ADFUtil.evaluateEL("#{bindings.*YourViewObjectIterator*.currentRow}");
    // Tip : U will get the above EL's when u 1st drop the Master table on the page
    // Invoke the pop up programatically
    RichPopup.PopupHints ph = new RichPopup.PopupHints();
    p1.show(ph);
    After writing this code.. All u need to do is Drop the Detail Table on the Dialog of ur popup. This way u will get all the rows of the table. So, filter this table with the foreign key using some code..
    Or u can just drop the region containing the Detail Table with the Rollback and commit
    - Saif
    Edited by: Saif Khan on Sep 11, 2012 5:34 PM

  • Using xmlgen in a trigger -HELP

    We are trying to use xmlgen in a trigger, actually a insteadOf on a view but that is really secondary.
    The problem we have is that xmlgen doesnt seem to work from a trigger or any other background process. There is no reall erro messgae it just fails.
    Has anyone used xmlgen from a trgigger??
    Rob

    Can't this be done.....
    create or replace trigger audit_EMP_DTL
    before update or delete or insert
    on EMP_DTL
    for each row
    declare
    pragma autonomous_transaction;
    v_blockexists number := 0;
    no_lock exception;
    ReturnExp EXCEPTION;
    begin
    select     count(a.sid) into v_blockexists
    from     v$session a
    where     a.sid=(select     tab1.sid
              from     v$lock tab1, v$lock tab2
              where     tab1.block =1
              and     tab2.request > 0
              and     tab1.id1=tab2.id1
              and     tab1.id2=tab2.id2
    if v_blockexists = 0 then
    insert into audit_blocks(program_name) values ('No block yet');
    commit;
    RAISE ReturnExp;
    end if;
    EXCEPTION
    WHEN ReturnExp THEN
    NULL;
    END;

  • How to Implement basic Insert ,Update and delete Actions

    Hi all,
              i want to implement 1)INSERT 2)UPDATE 3)DELETE actions in webdynpro application means i have to add a new record to my R/3 backend and update and delete records from my database
    can anyone tell me how to do these actions
    Regards
    Padma N

    Hi Murtuza ,
                           I have 2 views in my application.In the first view i enterd some purchaseorder number and clicked serarch button.The items regarding that purchaseorder gets populated in the table which is in second view.All the data is in R/3 backend system.
    the code i used to get the details of that particular purchaseorder is
    try {
    wdcontext.currentZ_Matrls_For_Inputlement().modelObiect.execte();
    catch(RFCException e){
    /* Catch the Exception Here */
    Here now i want to delete one record of that particular purchaseorder from the database.So Wat should be the code to delete record from R/3 Model
    Regards
    Padma N

Maybe you are looking for

  • Report Generation Toolkit Error (undefined erro)

    Does anybody know what error -214 682 7864 (0x800A01A8) means when coming from the Report Generation Toolkit. I have an app which has been happily ticking over for several weeks, and then this error was generated when attempting to write a table to a

  • Mail in yahoo now is in micro print not in explorer how do I get back to regular size print?

    My print size in yahoo mail is in micro print as of today. Can't even it make out the words using a magnifying glass. I have had no problems until today using Firefox to open my email account in yahoo. I tried explorer and everything is normal. I sta

  • FlashPlayerPlugin.11.7.700.169 near max CPU usage

    I've read over the past years of how many of us are experiencing major problems with flashplayer and/or flashplayer plug-ins, and over those years I have never seen any real solutions, why's that? I'm using Firefox 19.0 with FlashPlayerPlugin_11_7_70

  • ISight microphone is g.o.n.e....calling EZ Jim!

    Hey My iSight on my Powermac G5 (2 with the same problem) internal microphone is stopped working. It will not let me choose it's built in microphone in my system settings under the "line in" option in iSight preferences or in the "Sound" preferences.

  • Installing Quicktime 7 in 10.6

    So I got a new iMac 27" and am wondering how to install Quicktime 7 Pro onto it. I tried and said that I had a newer version and could not. I use 7 Pro quite frequently and really need it. Any help?