problem when deleting record

Hello

I created a page to search with a button Delete (in each row of the result table), but when I clicked on this button that without reacting is coming, just data remains but the page refreshes.

This is the code I wrote in the App module to remove the record:

{} public void deletemaster (String unitidParam)

SVO XxCisUnitMasterSearchVOImpl = getXxCisUnitMasterSearchVO1();
Rank srow [] = svo.getAllRowsInRange ();

for (int i = 0; i < srow.length; i ++)
{
XxCisUnitMasterSearchVORowImpl ssrow = (XxCisUnitMasterSearchVORowImpl)srow.
If (ssrow.getUnitId (). ToString(). Equals ("unitidParam"))
{
ssrow. Remove();
getOADBTransaction () .commit ();
return;
}

}
}

Please help me solve this problem

Thanks in advance.

Hello

In your method "unitidParam" is a string variable. But you compare with varibale name instead of the value of the variable. Fix the line of code below:

"if (ssrow.getUnitId (m:System.NET.SocketAddress.ToString () .equals ("unitidParam")))"

This line should be like:

(1) if (unitidParam.equalsIgnoreCase (ssrow.getUnitId (m:System.NET.SocketAddress.ToString (())))

or

(2) if (ssrow.getUnitId m:System.NET.SocketAddress.ToString .equalsIgnoreCase (unitidParam) () ())

Kind regards
Anand

Tags: Oracle Applications

Similar Questions

  • Hotmail issue - a problem when deleting the Junk email and send to delete folder

    I get a lot of those Nigerian e-mails 911 lately and they are in my junk e-mail folder. I never open these emails, 'Check all' delete mailboxes and sending them to the folder to delete.

    In the past two weeks, what I noticed is that somewhere in transit between the junk in the suppression file folder, these suspicious emails end in the folder delete UNBOLDED; they are regular font type.  Other ones I deleted at the same time, I know are not suspects, are characters fat as it should.

    How an email that I didn't open end upwards in the folder to remove the? (as it is opened in transit to the folder to be deleted). It started only recently and I'm a little worried. It's as if it opens on the path to the folder to delete.  I know it sounds crazy, but it's true.

    Can someone tell me if my account could possibly be compromised in some way?  Is it a problem that I should be concerned?

    (I apologize if this is the wrong place for this post, but I had zero luck trying to ask a question on my hotmail account).

    Thank you very much.

    Hello

    I'm sorry, but we cannot help with hotmail problems in these forums in response to vista

    Please repost your question in hotmail in the hotmail link below forums

    http://windowslivehelp.com/product.aspx?ProductID=1

    Forums
     
     

  • problem when inserting record empty.

    Dear all,

    I have following taskflow structure

    run (master)
    CreateInsert (retail)
    pagefragment

    the fragment of my page has 1 master record... 1 detail record. (which would be an empty except pk and fk generated from viewlink)

    When the user registers (validation action click on) the master save... but the child doesnot saves
    empty what I noticed, is that when I go into any field in af:table (detail) it allows to save... but I want to insert the record in the database.

    Any ideas... ?


    Kind regards
    David
    jdev 11.1.1.5.0

    Published by: Santosh Vaza August 26, 2011 22:08

    This is considered normal behavior. Read ' 27.4.5 what you need to know to create and CreateInsert' http://download.oracle.com/docs/cd/E16162_01/web.1112/e16182/web_tables_forms.htm#CHDEJAGC that explains exactly that.

    Timo

  • I am facing a problem when working in the Muse... The problem is that I can't remove my package page, when I try to delete it showing an error and the application terminates. I'm working on an emergency project which, I have to present tomorrow I hope y

    I am facing a problem when working in the Muse... The problem is that I can't remove my package page, when I try to delete it showing an error and the application terminates. I'm working on an emergency project which, I have to present tomorrow I hope you find a solution for the same. Help with the help of Adobe Muse CC

    Liston Hi,

    Steps to follow:

    1. Try to make a new complete site structure in MUSE and try to add a few pages and tries to remove it, just to check its not having not problem
    2. If the problem persists even, check if your site is stored on the external hard drive. Note: site should be registered on internal hard drives.
    3. Try to revive the MUSE, if the problem remains the same, we will refresh the preferences of MUSE.

    Hope it will work.

    Thank you

    Prabhakar Kumar

  • Begin a new stage, when a record is deleted

    Hi all

    The last time I had to go a process when a record is added, and the solution is the OdiWaitForData tool.

    Anyone know how to ODI to feel that a record is deleted? The process that I starts when the record is entered said us it completed without error when it deletes a record in another table.

    Thanks in advance,
    Teodora

    Hello

    If you have no control to each source PK (correct me if I'm wrong) I could suggest:

    in the case of the source and the target be on separate servers:

    (1) create an interface for the temporary table (interface yellow) with all PK of source
    (2) create a procedure (a KM could be personalized so strategic occurs at several tables) to remove the target where a target PK "not there" into the temporary table.

    in the case of the source and the target to the same server, simply create the procedure.

    This help you?

  • When validate record problem

    Dear friends,

    I try to apply the following code when validating record trigger


    If *: not in budgcode (select g_budgcode in the cat_acct.g_budg where g_budg_acccode =: t_vou_acc_code) * then
    alert_id: = find_alert ('MESSAGE_ALERT');
    set_alert_property (alert_id, alert_message_text, 'Incorrect Budget Code..');
    alert_btn: = show_alert (alert_id);
    raise form_trigger_failure;
    end if;


    during compilation, it throws the following error

    subquery not allowed in this context

    Thus, any work around?

    waiting for answer


    Manish Manyal

    Yes:

    select count(1)
    into l_count
    from cat_acct.g_budg
    where g_budg_acccode=:t_vou_acc_code
    and g_bugcode = :budgcode;
    
    if l_count = 0 then
     ...
    
  • Delete records based on the foreign keys of oracle 11 g

    I have a requirement to remove the records from the tables in the order according to

    the existing foreign keys.

    I for example, the following tables and the pk, fk constraints:

    create table one

    (aa number (1),)

    descr varchar2 (20));

    ALTER table one

    Add constraint a_pk key (aa) primary;

    create table b

    (aa number (1),)

    descr varchar2 (20));

    ALTER table b

    Add constraint b_pk key (aa) primary;

    create table c

    (aa number (1),)

    descr varchar2 (20));

    ALTER table c

    Add constraint c_pk key (aa) primary;

    create table a2

    (aa number (2),)

    id_aa number (1).

    descr varchar2 (20));

    ALTER table a2

    Add constraint a2_pk key (aa) primary;

    ALTER table a2

    Add constraint a2_fk foreign key (id_aa)

    references a (aa);

    create table b2

    (aa number (2),)

    id_aa number (1).

    descr varchar2 (20));

    ALTER table b2

    Add constraint b2_pk key (aa) primary;

    ALTER table b2

    Add constraint b2_fk foreign key (id_aa)

    references b (aa);

    create table z

    (aa number (3),)

    id_aa number (1).

    id_bb number (1).

    descr varchar (20));

    ALTER table z

    Add constraint z_pk key (aa) primary;

    ALTER table z

    Add constraint z_fk1 foreign key (id_aa)

    references a (aa);

    ALTER table z

    Add constraint z_fk2 foreign key (id_bb)

    references b (aa);

    So, I want to choose the names of the tables in such an order so as

    deleting records will succeed...

    I built the following sql query (using the recursive subquery factoring):

    [p]

    with q (r_constraint_name, table_name, constraint_name, lvl) as

    (select table_name, constraint_name, r_constraint_name 1 lvl

    from user_constraints one

    where a.constraint_type = 'P '.

    Union of all the

    Select b.table_name b.constraint_name, b.r_constraint_name, q.lvl + 1 lvl

    from user_constraints b

    Join q

    on (q.constraint_name = b.r_constraint_name)

    where b.constraint_type = 'R '.

    )

    Select f.table_name, f.constraint_name, f.r_constraint_name, f.lvl

    q f

    [/ p]

    I want the results as the following list:

    Table-name

    ----------------

    B2

    A2

    Z

    A

    B

    C

    The table - B2, A2, Z - (in any order) must first referred in the list

    because they are based on the other three tables - A, B, C. Thus, in order to remove the

    A, B, C table records the B2, A2, table Z records must be beleted first.

    The query I posted above has the problem that it displays tables A2, B2 twice

    (1 because they have a pk and 2 because they have fk referring A, B relatively tables).

    Is there a solution for this problem?

    Note: I use db11g v2

    I wrote not all relationships of tables user_constraints (only argument constraint_name = r_constraint_name)

    Thank you

    SIM

    I have a requirement to remove the records from the tables in the order according to

    the existing foreign keys.

    . . .

    The table - B2, A2, Z - (in any order) must first referred in the list

    because they are based on the other three tables - A, B, C. Thus, in order to remove the

    A, B, C table records the B2, A2, table Z records must be beleted first.

    Is there a solution for this problem?

    Yes - the 'solution' is to use ON DELETE CASCADE, as appropriate or write a procedure that removes tables in the proper order.

    The solution is NOT to try to use dynamic sql statements to do so.

    You already know the good parent/child relationships. Simply create a procedure that uses the correct order.

    Analyses are necessary in any case to determine the proper order AND press the appropriate values to use to remove the appropriate lines

    Your DDL for tables and constraints must be in a version control system

    Update the procedure when / if new constraints or tables are added to the application

    IMHO, you must use dynamic SQL NOT to try to adjust automatically if a new constraint appears. New constraints should not appear by accident - they appear ONLY as part of a well planned release.

  • Camileo H10 - what is fps when I record 1280 x 720?

    Hi all

    can you please tell me someone what is fps (frames per second) when I record 1280 x 720 on this unit.
    All the docs and newspaper broadsheet says it's 30 frames per second. But when I opening recorded video in the player VLC it said 20 fps.

    And the properties of files windows too. Where is the truth? Or the problem?
    Thanks for the reply

    Hello

    I tested it with different settings. The same result here.
    Sorry, but I don't know what to say on this subject.

  • Skype 'problem with sound recorder '.

    After working perfectly for months, when I now try to use Skype I get the above message.  CD works perfectly all the other its OK.  Skype gave me a chapter and verse to uninstall and reinstall Skype without change.  I guess the problem is in the web cam that contains the microphone and there is no purple light on that.  What can I do else?

    After working perfectly for months, when I now try to use Skype I get the above message.  CD works perfectly all the other its OK.  Skype gave me a chapter and verse to uninstall and reinstall Skype without change.  I guess the problem is in the web cam that contains the microphone and there is no purple light on that.  What can I do else?

    "Problem with sound recorder" suggests that there may be a problem with your input device.

    Open Device Manager (right click on my computer > properties > hardware > Device Manager) and search for "imaging devices". Click on the + to expand the category.  There is a warning (yellow!)? Right-click and select Properties.  Is it the box at low say "use this device (enable)"? If not, do so and click OK.

    While still in the Device Manager, click on the + next to "Sound, video controllers and game."  Locate the entry of your webcam microphone. There is a warning (yellow!)? Right-click and select Properties.  Is it the box at low say "use this device (enable)"? If not, do so and click OK.

    Take a look at control panel > sounds and Audio devices

    Click on the tab "Audio".  What is the default device for sound recording?  It should be your webcam; If this is not the case, adjust it using the drop-down list box.  Same thing for the "Voice" tab and the default device for voice recording.  Be sure to click on the "Apply" or the OK button.

    Click Start , point to programs , point toAccessories , point to entertainment and then clicksound recorder .  That you get error messages when you open or you try to open the sound recorder? If so, please include the entire message, without paraphrase, in your response.

  • Problem of sound recording volume control

    I just installed a USB turntable and I have a problem: when I go to control panel, sounds and devices, click the Audio tab, in the field of sound recording, the volume button is gray out and inactive. The turntable is the record - but it's a recording at a too low volume and I would like to increase the volume. But with the Volume key is inactive, I am unable to do so. How can I increase the volume of the sound recording if this button is disabled? Thanks in advnace for your answer.

    Hello

    I suggest you follow the troubleshooting steps form the article and check if it helps.

    How to troubleshoot sound problems in Windows XP

    http://support.Microsoft.com/kb/307918/en-GB

    See also:

    No sound in Windows

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

  • I installed in my laptop XP - SP3 PersonalFirewall of Privacyware and I have this problem: when restarting, always internet access isn't available (WiFi/LAN).

    network adapter AutoDetect fails

    Hello:

    I installed in my laptop XP - SP3 PersonalFirewall of Privacyware and I have this problem: when restarting, always internet access isn't available (WiFi/LAN).
    Using the command ipconfig, I found that these cards are not detected. (Although without wireless/LAN icons do not display the modem connection). Also, if I go into Device Manager, I see network cards. BUT if I select "research material changes", then the other adapters will appear (those of Privacyware) and internet connection is reset and it will work then.  I wonder why windows does not detect this kind of cards automatically when I start it.

    This problem occurs only in my laptop - I installed the project Feederwatch on a laptop another XP and it worked, so Privacyware cannot provide a solution, since seems a very specific problem.

    Thanks for any idea!

    Seems that the solution was:

    1 - Open Device manager and view the hidden devices.
    2. then go into not connectable & play devices and manually delete all the remainers network software & security uninstalled (process antivirus, firewall, monitor).
    3. several reboots were required in order to know if the garbage problem has been removed.

  • I have problems when sending emails on Outlook Express (Windows XP Home) told in the Outbox, even if they were sent. What can I do?

    I have problems when sending emails on Outlook Express (Windows XP Home) told in the Outbox, even if they were sent.  What can I do?

    You have apparent dbx file corruption.

    Spend most of your messages out of the Inbox and then create new folders to send and sent items box after having moved the messages you want to save to a local folder that you create.

    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.

    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.

    With OE closed, find the DBX files for the items in the Outbox and sent and delete them.  New ones will be created automatically when you open OE.

    After you're done, followed by compacting your folders manually while working * off * and do it often.

    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.

    General precautions for Outlook Express:

    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.

    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095

    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the CPUs, slows down sending and receiving and causes a multitude of problems such as time-outs, account setting changes and has even been responsible for the loss of messages. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3

    Why you don't need your anti-virus to scan your email
    http://thundercloud.NET/infoave/tutorials/email-scanning/index.htm

    Note that for some AV programs, it may be necessary to uninstall the program and reinstall in custom Mode and uncheck analysis when the option is the result of e-mail messages.

    Compact often as specified above.

    And backup often.

    Outlook Express Quick Backup (OEQB Freeware)
    http://www.oehelp.com/OEBackup/default.aspx

  • I have a problem when I turn on my computer...

    I have a problem when I turn on my computer. An error that says: "We apologize for the inconvenience, but Windows did not start successfully. A recent hardware or software change might have caused this. "
    And there are 3 options: start windows in safe mode, safe mode with network or start Windows normally. And... If I have the choice between these options my Windows shows this option again and again after loading... How to solve "We apologize for the inconvenience, but Windows did not start successfully. A recent hardware or software change might have caused this. " Problem ?

    lakimedo,
    The first thing, have you changed any hardware or software?   If you added new hardware then delete and restart.  Also disconnect external devices and try to start.  When you start start pressing F8 until you get the Windows startup options.  Then try "Last known good configuration" see if that helps.  If those who do not help, I would start with your XP CD to recovery mode and run "chkdsk/r" then "sfc/scannow".  QQ learn manage!

  • I m get problem when running IE, Chrome or firefox

    Signature of the problem:
    Problem event name: APPCRASH
    Application name: rundll32.exe
    Application version: 6.0.6000.16386
    Application timestamp: 4549b0e1
    Fault Module name: sprote ~ 1.dll
    Fault Module Version: 0.0.0.0
    Timestamp of Module error: 50212e17
    Exception code: c0000005
    Exception offset: 00079aed
    The system version: 6.0.6002.2.2.0.768.3
    Locale ID: 16393
    Additional information 1 c: 649
    More information 2: 2d993315539d1b4488dfdd4c43482412
    3 more information: bde9
    Additional information 4: e8c962f1cadf8af02e768e3862dcb56c
    Read our privacy statement:
    http://go.Microsoft.com/fwlink/?LinkId=50163&clcid=0x0409

    Signature of the problem:
    Problem event name: APPCRASH
    Application name: iexplore.exe
    Application version: 9.0.8112.16450
    Application timestamp: 503723f6
    Fault Module name: ntdll.dll
    Fault Module Version: 6.0.6002.18541
    Timestamp of Module error: 4ec3e3d5
    Exception code: c0000005
    Exception offset: 00039487
    The system version: 6.0.6002.2.2.0.768.3
    Locale ID: 16393
    Additional information 1: c453
    More information 2: abcc8f7853b48d9807d6d51eb1fa5df9
    Additional information 3: c453
    Additional information 4: abcc8f7853b48d9807d6d51eb1fa5df9
    Read our privacy statement:
    http://go.Microsoft.com/fwlink/?LinkId=50163&clcid=0x0409
     

    Signature of the problem:
    Problem event name: BEX
    Application name: chrome.exe
    Application version: 21.0.1180.89
    Application timestamp: 503ebf10
    Fault Module name: StackHash_2d77
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception offset: 2028ad6b
    Exception code: c0000005
    Exception data: 00000008
    The system version: 6.0.6002.2.2.0.768.3
    Locale ID: 16393
    Additional information 1 / 2d 77
    More information 2: 0f87f8924e80c4cc111b410bf65df663
    Information has additional 3: 408
    Additional information 4: a747d84ca122d3999f6adb84ba0cb3d8
    Read our privacy statement:
    http://go.Microsoft.com/fwlink/?LinkId=50163&clcid=0x0409

    These are the messages of problem I m get... Please help me what I have to do...
    Thank you

    Hi Raja DSP,

    1. what version of IE are you using?

    2 did you do changes on the computer before the show?

    Follow the suggestions below for a possible patch with Internet Explorer:

    Method 1: I suggest you to run the fix - it and check if the problem still persists.

    Troubleshoot Internet Explorer to IE quick, safe and stable

    http://support.Microsoft.com/mats/ie_performance_and_safety/

     

    Method 2: If the method above is not enough you can follow the steps in the article mentioned below and check.

     

    Tips for solving problems when Internet Explorer hangs or stops working

    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-solving-problems-with-Internet-Explorer

    Warning: Please note that the reset Internet Explorer (IE) resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords.

    If you have problems with Google Chrome and Mozilla Firefox, you see the following link for their respective forums:

    Google Chrome

    http://www.Google.com/support/chrome/

     

    Mozilla Firefox

    http://support.Mozilla.com/en-us/home

    Let us know if that helps.

  • Windows media player error "Windows Media Player has encountered a problem when you try to read the file" after burning CDs.

    Original title: "missing songs" in my windows media player then burn them on several cd :((

    I burned songs to several cd using my Windows media player to make different Cd, but after I returned to my library all the songs that I burned to the CD have disappeared, they are there, but they won't play it is as if they have been deleted, a window appears saying that windows media player has encountered a problem when you try to play the file. I did not notice this until after Cd burning a few I can't do more because if I keep going I'm not going to have more songs in my library! I don't know what to do im going crazy, it took me a long time to get all of these songs and now he disappeared! I have Windows 7 Ultimate is the version 12.0.7601.17514 hope that helps

    Hello
     
     
    They were playing before you burn CDs?
     
     
    Method 1:
    Open the troubleshooting Windows Media Player settings Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Method 2:
    This problem may be due to database corruption. You can delete the Windows Media Player database and check if the problem persists.

    Steps to clear the database of windows media player:

    a. exit Windows Media Player.
    b. Click Start, run, type %LOCALAPPDATA%\Microsoft\Media Player and then click OK.
    c. Select all files in the folder and then click on Delete on the file menu.

    Note you don't have to remove the folders that are in this folder.

    d. restart Windows Media Player.

    Note: Windows Media Player automatically rebuilds the database.

    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:

    a. exit Windows Media Player.

    b. Click Start, click Run, type % LOCALAPPDATA%\Microsoft and then click OK.

    c. Select the Media Player folder, and then click on Delete on the file menu.

    d. restart Windows Media Player.

    Note Windows Media Player automatically rebuilds the database.

Maybe you are looking for