How to find the status of commitwork()?

Hi guys,.

I used the work of validation function in the custom field Delete button change. I want to know the status of the work of validation function that he has deleted successfully or not. Because whenever I need to reload the page to see the record has been removed from the grid.

I can see a message indicating that your record has been deleted successfully with the State. Does perform a work around that.

Thanks in advance

http://docs.Oracle.com/CD/E41633_01/pt853pbh1/Eng/PT/TPCL/langref_PeopleCodeBuilt-inFunctionsandLanguageConstructs-073e6a.html#CommitWork-073e29

CommitWork returns a Boolean value. That would be true if the data have been validated successfully, False otherwise.

Based on the value returned a Boolean value you can display a message accordingly.

For example:

Local Boolean & commit = CommitWork();

If & then commit

/ * Success * /.

on the other

/ * Success * /.

end - if;

Tags: Oracle Applications

Similar Questions

  • How to find the status of the package (valid/invalid) was at one time

    How to find the status of the package (valid/invalid) was at one time?
    I want to find the status of an oracle package to 15:00 yesterday. Today, the status of this package is INVALID.
    I'm sure it was VALID yesterday. But no way to prove it. Can any one help please?
    I can generate AWR report for the last 7 days...

    Try to use a flashback, like this query:

    select object_name, object_type, status
    from dba_objects AS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL '18' HOUR)  -- 18 hours ago
    where object_name = 'MY_OBJECT'
    ;
    

    If you have not granted privs FLASHBACK, you may connect as SYS to make a request flashback on a table data dictionary.
    But this should give you the info you need - if it's still in cancellation.

  • How to find the status of lines (modified or not)

    Hello

    Is it possible to find if a line status is modified (but not committed) and user who made the change?
    Avoid locking if we want to check if there is a line in our select statement can cause the deadlock.

    your response is so much appreciated

    In this case, you can skip all the locked rows. This is a clause without papers prior to Oracle 11 g. The following code illustrates the approach:

    // we create a test table with 10 rows
    SQL> create table footab as
      2  select rownum as FOO_ID, object_name as VALUE from all_objects where owner = 'SYS' and rownum  < 11;
    
    Table created.
    
    // we create a procedure that will pretend to be another session trying to update the table, while
    // we are busy updating some rows (it is an autonomous transaction)
    SQL> create or replace procedure UpdateFoo is
      2          pragma autonomous_transaction;
      3
      4          cursor c is
      5          select
      6                  f.*
      7          from    footab f
      8          for update
      9          skip locked;
     10
     11          type TBuffer is table of c%rowtype;
     12          buffer TBuffer;
     13  begin
     14          -- an ugly loop hack used to demonstrate what it can lock
     15          -- and updating those rows
     16          open c;
     17          loop
     18                  fetch c bulk collect into buffer limit 100;
     19
     20                  for i in 1..buffer.Count
     21                  loop
     22                          dbms_output.put_line(
     23                                  'row:'||i||
     24                                  ' id:'||buffer(i).foo_id
     25                          );
     26
     27                          update footab
     28                          set value = lower(value)
     29                          where foo_id = buffer(i).foo_id;
     30                  end loop;
     31
     32                  exit when c%NotFound;
     33          end loop;
     34          close c;
     35          commit;
     36  end;
     37  /
    
    Procedure created.
    
    // the contents of our table
    SQL> select * from footab;
    
        FOO_ID VALUE
    ---------- ------------------------------
             1 DUAL
             2 SYSTEM_PRIVILEGE_MAP
             3 TABLE_PRIVILEGE_MAP
             4 STMT_AUDIT_OPTION_MAP
             5 RE$NV_LIST
             6 STANDARD
             7 DBMS_STANDARD
             8 USER_REGISTRY
             9 ALL_REGISTRY_BANNERS
            10 V_$BH
    
    10 rows selected.
    
    // we lock and update row 5 - and we do not commit
    SQL> update footab set value='UPDATED' where foo_id = 5;
    
    1 row updated.
    
    // the other session's transaction runs, attempting to update all rows -
    // but skip any rows that are already lock (row 5 in this case)
    SQL> exec UpdateFoo
    row:1 id:1
    row:2 id:2
    row:3 id:3
    row:4 id:4
    row:5 id:6
    row:6 id:7
    row:7 id:8
    row:8 id:9
    row:9 id:10
    
    PL/SQL procedure successfully completed.
    
    // what can we see now in the test data?
    SQL> select * from footab;
    
        FOO_ID VALUE
    ---------- ------------------------------
             1 dual
             2 system_privilege_map
             3 table_privilege_map
             4 stmt_audit_option_map
             5 UPDATED
             6 standard
             7 dbms_standard
             8 user_registry
             9 all_registry_banners
            10 v_$bh
    
    10 rows selected.
    
    // we commit our transaction
    SQL> commit;
    
    Commit complete.
    
    // if the other session transaction runs now, it will find all rows
    // available for update
    SQL> exec UpdateFoo
    row:1 id:1
    row:2 id:2
    row:3 id:3
    row:4 id:4
    row:5 id:5
    row:6 id:6
    row:7 id:7
    row:8 id:8
    row:9 id:9
    row:10 id:10
    
    PL/SQL procedure successfully completed.
    
    // contents of the test data after its update
    SQL> select * from footab;
    
        FOO_ID VALUE
    ---------- ------------------------------
             1 dual
             2 system_privilege_map
             3 table_privilege_map
             4 stmt_audit_option_map
             5 updated
             6 standard
             7 dbms_standard
             8 user_registry
             9 all_registry_banners
            10 v_$bh
    
    10 rows selected.
    
    SQL> 
    
  • Have deleted implementing up-to-date, but while they inspected I think it's still in my system in my history how to find the files to remove it completely?

    Original title: Remove KB3035583

    I deleted the update, but while they were inspecting it, I think it's still in my system in my history how to find the files to remove it completely?

    I am running Windows 7

    Microsoft have now updated the status of GWX, whenever changes to update is downloaded as a new update re. It is not beyond their intrigues to GWX ineffective as well. Unfortunately we have to be patient until 29 July when, according to the assurances of Microsoft this mess will be disabled. I don't know if there is code to turn it off or we wanted yet another update to do.

  • How to find the Mac address of a Blackberry Curve 8130 BlackBerry Smartphones

    I have a wireless router in my house that has a MAC filter enabled. I do not have permission to change this setting on the router. I need to find the Mac address of the Blackberry 8130 device to be added to the routers MAC filter allow list only.

    Can someone help me with the knowledge on how to find the MAC address of a Blackberry 8130 Curve?.

    Thanks for the help in advance.

    Concerning

    VK

    I forgot to mention: new to Blackberry Curve 8130 (previous was the old black version with the wheel) and the network is T-Mobile with SIM card (not CDMA).

    Does show under Options | Status as the WLAN Mac address?

  • How to find the host ESX 4.1 SCSI tape drive card information...

    Dear team,

    last night we have installed card scsi tape drive on one of the host to ESX 4.1, just want to know how to find the details of scsi card in ESX 4.1 host, is possible to find via cli or hardware status tab?

    need help on the same.

    concerning

    Mr. VMware

    Hello

    You should find the information you are looking for by entering the following command.

    less/proc/scsi/aic79xx/6

    Kind regards

    Ralf

  • How to find the track of the script of the Controlfile Correct .trc file in /bdump

    Hi guys

    It's more childish requests in this forum...


    I want to know how to find the correct trace file when we question change database trace at sqlprompt to create controlfile script backup controlfile.

    As I find it a little confusing to go through the same day & .trc files almost even among hundreds of trace file in the directory /bdump to find the right one.

    If we find the alert log file in /bdump directory $ ls-al l * & get us the log file alert... If there's a similar way to find the Trace of controlfile script file?



    Thanks and greetings
    MZ

    Hi MZ;

    1. as mentioned here to use a BACKUP CONTROLFILE to TRACE AS syntax and give the name and the path that you want to
    2. check the alert.log
    3. check under bdump using the command ls - lrt

    PS: Please don't forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding

    Respect of
    HELIOS

  • How to find the port # OEM?

    How to find the port # in the Oracle enterprise Manager URL (http://mydatabase:xxxx / em /). I installed the Oracle long back do not write the URL. How to find the number XXXX in this case?
    Oracle 10g R2.
    Thank you
    Smith

    emctl status dbconsole

    It's probably in 1158 or 5500 (according to the version)

    Kind regards
    Uwe

    http://uhesse.WordPress.com

  • says that there is an update of firmware available for my 3 t time capsule. I get "an error occurred when downloading". How to find the problem?

    I said that there is an update of the firmware available for my 3 t time capsule. I get the message "an error occurred when downloading". How to find the problem? I have elcapitan 10.11.6 and capsule version 7.7.3

    Try temporarily, connect your MacBook Pro to your Time Capsule using an Ethernet connection... If not already, then try downloading the firmware again.

  • How to find the serial number of the processor in the MacBook pro s serial number? I have a dead MacBook that was given for service to a third party. I doubt that they have replaced the original parts. Help, please. Thank you

    How to find the serial number of the processor in the MacBook pro s serial number? I have a dead MacBook that was given for service to a third party. I doubt that they have replaced the original parts. Help, please. Thank you

    As far as I KNOW, the serial number of the MacBook does not have the serial number of the processor.

  • I make new the old id must paasward wen apple id I go passward, says your id or passward not at even I have received emails but get no email how to find the solution, I, m stuck wat to do

    I make new the old id must paasward wen apple id I go passward, says your id or passward not at even I have received emails but get no email how to find the solution, I, m stuck wat to do

    Have you tried to reset it in security issues? If you are not able to do so, contact Apple support so a security identifier Apple Advisor can help you. 800-275-2273.

  • How to find the date item was my favorites on Mozilla Firefox

    on system moot bookmark how to find the date of the bookmark?

    In bookmarks menu select organize bookmarks to open the bookmarks library. In the bookmarks library, click views, and then display the columns and then added. This will display a column showing when a bookmark has been added.

  • How to find the owners of icloud id?

    IM new to this thing from icloud, I bought 3 old ipads2 on a flea market, where unlocked 2 but we have icloud, the screen is not the old owner alone info [email protected], I don't have a problem, try contacting the owner, but how to find the id of owner? even if is a stolen ipad that I'll be more than returned gad, or ask the owner to remove icloud, but without the owner info is difficult, any advice will be apreciated, thanks

    You can not find it. Go back on the market and claim a refund for the iPad.

    (140442)

  • NB200 - how to find the 3G module for it?

    Hello

    Pls how I find the 3G module in my NB200 - PLL20E?

    Thank you

    Hello

    What do you mean exactly?
    You want to upgrade your NB200 with a card 3G?

    If yes then you must make sure that your NB200 could be improved using this card.
    I'm not sure if this is possible.

    But don t give up boyfriend Toshiba authorized service partner in your country could provide details.
    Guys might be able to tell if this is possible and could provide a good 3G module

    If you get more details please share with us!

    See you soon

  • How to find the yahoo flickr Photo password used to download photos from the Photo app?

    I have 151 000 pictures on Flickr that were loaded from Iphoto, then more recently the Apple Photo app on my imac.

    I can't open a session using a browser because the browser (Chrome) has lost the password of his records.

    How to find the password that the Photo is using app?

    You can not extract the code to access from iPhoto or Photo. I could go to the Web of Flickr site and see what password recovery options they offer for your account.

Maybe you are looking for