Help: Update + Join (Error)

Good afternoon!
I have a problem in a script in the Oracle database.
I could do update's scripted with easy relationship in MySQL, but Oracle does not accept the way I know.
Anyway, I'm trying to do this update with the script below, but I can not:
update titulo_receber ti
set ti.nr_seq_trans_fin_contab = 601
where 1=1
and   ti.nr_titulo in (SELECT
                                A.NR_TITULO
                              FROM TITULO_RECEBER a,
                                          TITULO_RECEBER_CLASSIF b
                              WHERE 1 = 1
                                AND b.nr_titulo = a.nr_titulo
                                AND a.nr_titulo = 1180674
                                AND b.cd_conta_financ = 909
                                AND a.nr_seq_trans_fin_contab is null)
The following error appears when you run this query:
ORA-02291: integrity constraint (TASY.TITRECE_TRAFINA_FK) violated - parent key not found
I was racking my brain and I was on google a long time and could not find an effective solution.
If anyone can help me, thank you very much!
Danilo

You are trying to update nr_seq_trans_fin_contab to 601.  The column nr_seq_trans_fin_contab has a foreign key relationship named  titrece_trafina_fk to another table.  the value 601 must exist in that other table before you can update titulo_receber.
To find which table that is, assuming that you are logged in as in the tasy user do:
select table_name
from user_constraints
where constraint_name = (select r_constraint_name
                         from user_constraints
                         where constraint_name = 'TITRECE_TRAFINA_FK');
John

Similar Messages

  • My iphone 5c says connect to itunes. It won't update/restore; error message (27) comes up. I also haven't backed the phone up since last year. Help

    My iphone 5c says connect to itunes. It won't update/restore; error message (27) comes up. I also haven't backed the phone up since last year. HELP.

    Hi there owain11,
    It looks like that particular error may be realted to a hardware issue. Take a look at the article below for more information. 
    Resolve iOS update and restore errors
    Check for hardware issues
    Related errors: 1, 3, 10, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1000, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
    These errors mean that your device or computer may have a hardware issue that's preventing the update or restore from completing.
    Check that your security software and settings aren't preventing your device from communicating with the Apple update server.
    Then try to restore your iOS device two more times while connected with a cable, computer, and network you know are good.
    Confirm that your security software and settings are allowing communication between your device and update servers.
    If you still see the error message when you update or restore, contact Apple support.
    -Griff W. 

  • HT1338 When trying to update getting (error surle error domain error-1100). It started yesterday, any help would be great. I have Mountain Lion 10.8.1 on a new macbook pro with retina display.

    When trying to update getting (error surle error domain error-1100). It started yesterday, any help would be great. I have Mountain Lion 10.8.1 on a new macbook pro with retina display.

    There are many people suffering from this problem right now (including me). It appears to be a server issue. Just wait and try checking for updates again tomorrow.
    Some things I have heard indicate that this may be a regional problem, though what parts of the world are affected I don't know yet. A few people have been helped by deleting the following preference file (paste the path into the Go -> Go to Folder window in the Finder to locate it), though most have not:
    ~/Library/Preferences/com.apple.SoftwareUpdate.plist
    Note that if you are trying to download iTunes 10.7, that can be found here:
    http://support.apple.com/kb/DL1576
    Also, note that there is no reason to be anxious to get it, as the only thing added in iTunes 10.7 is compatibility with iOS 6, which will not be available until the 19th, and the new iPhone, which will not be available until later as well. The new iTunes that was announced is iTunes 11, which is also not yet available.

  • I'm unable to install the latest Photoshop CC 2014 update. Error message U44M1P34. Can anyone help please?

    I'm unable to install the latest Photoshop CC 2014 update. Error message U44M1P34. Can anyone help please?

    U44.. update error http://forums.adobe.com/thread/1289956 may help
    -more U44.. discussion http://forums.adobe.com/thread/1275963
    -http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html
    -http://helpx.adobe.com/creative-suite/kb/error-u44m1i210-installing-updates-ccm.html

  • Ios 5.1 OTA update gives error message ( unable to check for update - an error occured while checking for a sofware update ), can anyone help ?

    i am trying to download the latest ios 5.1 but the OTA update gives me a error message ( unable to check for update - an error occured while checking for a sofware update )
    the same thing happens in my ipad too.

    Thank you! I've been trying all day to get this to work! and finally i found the answer!
    amensistech wrote:
    I found a fix for this.
    Go to Wifi    Settings and then select your Wifi Network. Tap the blue arrow to go into Wifi settings and then select the DNS tab.
    Set the DNS to 8.8.8.8 and then go back to the software update page.
    This time it shall work.
    I tried it on an iPad 1 running iOS 5.0.1 but I am sure this shall help.
    Do rate me and reply if it works.

  • HT4623 hi..i just bought an iphone 5 yesterday 32GB..and now when i am trying to update the software..it says the following: unable to check for update/an error occurred while cheking for a software update...please help me..is it a problem in my new iphon

    hi..i just bought an iphone 5 yesterday 32GB..and now when i am trying to update the software..it says the following: unable to check for update/an error occurred while cheking for a software update...please help me..is it a problem in my new iphone??or it's just an temporary error in the apple software center???

    Lyndsay237 wrote:
    This device does not have a sim card in it. Could this be the reason or am I missing something when I am trying to update.
    Yes. You can't update or restore any GSM iPhone without a valid sim card installed in the phone. The sim card need not be activated, but it must be valid & present. If you want to update, you need to get a sim card.

  • Help! Installing updates an error occurred now my MacBook Pro will not restart. "Unable to find driver for this platform"

    Help! Installing updates an error occurred now my MacBook Pro will not restart. "Unable to find driver for this platform"

    Did you try more than once? If so:
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Mountain Lion or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • HT201210 I have tried to update my iPhone 4 many times (from iOS 5.1 to latest version), but everytime it fails and says that it cannot be updated. unknown error (3194). please help.

    I have tried to update my iPhone 4 many times (from iOS 5.1 to latest version), but everytime it fails and says that it cannot be updated. unknown error (3194). please help.
    <E-mail Edited by Host>

    You might try reading the entire help document you linked from:
    Unable to contact the iOS software update server gs.apple.com
    Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. FollowiTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • My photoshop elements12 will not update says error and contact adobe but not open now for help.  windows vista

    my photoshop elements12 will not update says error and contact adobe but not open now for help.  windows vista

    I need the updates because I just purchased a Nikon D60 and my Photoshop does not read the .NEF files produced by the camera.
    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications
    Do you really mean the Nikon D60 which shipped in 2008? Was it purchased secondhand?
    The Nikon D60 was first supported in Adobe Camera Raw 4.4.
    Photoshop CS4 ships with Camera Raw 5.0 so it can read D60 NEF files out of the box. No updates required.
    If you do mean the D60 then something else must be going on. e.g. are you using Nikon software to transfer files from camera to computer?

  • Help with joining AP to WLC 5508 Getting error in LOG's

    I am tryign to join my first AP to the 5508 and am gettign this error int he logs.
    *Dec 07 10:42:31.067: %DTL-3-NPUARP_ADD_FAILED: dtl_arp.c:2280 Unable to add an ARP entry for 0:0.0.0 to the network processor. entry does not exist
    The management Interface is on the the same vlan as the AP , both untagged ports. the AP gets an ip address from my dhcp server.
    Any ideas?
    Thanks

    AIR-CAP3502I-A-K9
    Also here's this if useful
    Discovery phase statistics
    - Discovery requests received.............................. 114
    - Successful discovery responses sent...................... 0
    - Unsuccessful discovery request processing................ 0
    - Reason for last unsuccessful discovery attempt........... Not applicable
    - Time at last successful discovery attempt................ Not applicable
    - Time at last unsuccessful discovery attempt.............. Not applicable
    Join phase statistics
    - Join requests received................................... 0
    - Successful join responses sent........................... 0
    - Unsuccessful join request processing..................... 0
    - Reason for last unsuccessful join attempt................ Not applicable
    - Time at last successful join attempt..................... Not applicable
    - Time at last unsuccessful join attempt................... Not applicable
    Configuration phase statistics
    - Configuration requests received.......................... 0
    - Successful configuration responses sent.................. 0
    - Unsuccessful configuration request processing............ 0
    - Reason for last unsuccessful configuration attempt....... Not applicable
    --More-- or (q)uit
    - Time at last successful configuration attempt............ Not applicable
    - Time at last unsuccessful configuration attempt.......... Not applicable
    Last AP message decryption failure details
    - Reason for last message decryption failure............... Not applicable
    Last AP disconnect details
    - Reason for last AP connection failure.................... Not applicable
    Last join error summary
    - Type of error that occurred last......................... None
    - Reason for error that occurred last...................... Not applicable
    - Time at which the last join error occurred............... Not applicable
    Ethernet Mac : 00:00:00:00:00:00  Ip Address : 192.168.14.50

  • Cannot update ipod (error code -50) HELP!!!

    Just put some new album art for my songs but not everything showed up so I connected it back to my pc and unchecked and then rechecked the show album art option and got a
    "ipod <ipodname> cannot be updated unknown error -50"
    message. What gives? Now NO artwork is showing up! Tried restarting the pc and the ipod and still nothing!!! I'm stumped!!
    Thanks in advance.

    Do you have any McAfee software running on your PC? The only reference in the Knowledge Base I have ever seen for error-50 concerns McAfee software interfering with connection to the iTunes Music Store. It's a long shot but if you have McAfee Privacy Service running it might be worth turning it off to see if it is contributing to your your problem: iTunes for Windows: Error (-50)

  • RMMR1MRS-When run in background cause update failure errors looking

    hi,
          RMMR1MRS report when run in background cause update failure errors .
    There are few  below reason for the error log.
    1.  for the PO invoice already generated -  (its right if already invoice generated. should not happen again)
    2.  In  MIGO,  entire  quantity has been reversed  and also invoice generated with zero value - ( its right , should not happen invoice again )
    3. Particular PO line item deleted -  (its right if the PO line item deleted. ERS settlement not require)
    For the all above reason, the update error occurs.  But the mean time  the program  "RMMR1MRS"  should not through the update error log. 
    Note: The job was not terminated due to this update error and also no harm because of the error log
    can you please help on this update failure why it occurs.

    Have you found a solution already? If so, please, share it with the community and close this thread.

  • Update Rule error while loading the data

    Hello All,
    I tried to do the init load for the datasource 2LIS_02_VAKON (Sales Document Condition), But it error's out in the Update rule saying:
    Short text: Error when generating the update program
    Long Text:  Diagnosis
         An error occurred during program generation for InfoSource 2LIS_11_VAKON
         and InfoProvider 0SD_C15 . This may be extrapolated to incorrect update
         rules.
    Procedure
         Check and correct your update rules and then generate the update program
         again. You can find help on the error in the error log.
    The update rule looks very fine. I even deleted it and re created, but no success..... Please give me your thoughts abt it..... Any suggestions will be great for me.....

    Hello Gokul,
    I could'nt see any analyse button in RSMON. This is the only error message I could get from the Process monitor:
    Short text: Error when generating the update program
    Long Text: Diagnosis
    An error occurred during program generation for InfoSource 2LIS_11_VAKON
    and InfoProvider 0SD_C15 . This may be extrapolated to incorrect update
    rules.
    Procedure
    Check and correct your update rules and then generate the update program
    again. You can find help on the error in the error log.
    Do you expect something else ? Also I went through your OSS note, they are asking to apply support pack 18. Is this a serious issue to apply SP? Because in Quality and Prod it loads fine......
    Please let me know your idea

  • Update termination error at the time of order creation

    Dear gurus,
    Facing an error at the time of creation of order.
    system is giving update termination error & when we are going in change mode of that order system is giving an error message " SD document XXXX is not in the database or has been achieved"
    please treat on priority
    regards,
    krai

    Hello ,
    "Update terminated " error has two reasongs.
    First is system update  was not active and hence terminated
    For this to check Goto the transaction code SM13  and  check whether the SYSTEM UPDATE is active or not.
    If it is active ,
    Then click on the Option TOBE updated in the status  and execute, then in the next screen you can find some list of documents that are not updated and causing error .
    Click on MODULES in the screen and find the erro which causing this error.
    Most this kind of error will happen if something in the Funcion Module or USER EXIT is missing.
    Please check and revert back if you need further details
    Also check the link
    http://help.sap.com/saphelp_nw04/helpdata/en/e5/de870535cd11d3acb00000e83539c3/frameset.htm
    regards,
    santosh

  • STATUS_UPDATE error to update USER STATUS - Update termination error

    Hi All,
    I am using status_update FM in sales order user exit MV45AFZZ in a perform routine for updating user status in line item for sales order. There are 4 custom statuses created for the sales order line item. 1,2 3, and 4 by configuration. My job is to select one of those based on user selection.
    Scenario: During change order process using  VA02, I have to change the existing status to a third status when user selects the second one. That is for example, in VA02, user selects status 4 from previous status 3, and save, I have to make the status 4 inactive and save the new status 2 instead of 3 though user selected 3. How do I achieve this.?  ????Any programming example is really appreciated. Thanks!!!
    I am right now using STATUS_READ and reading the existing status 4. Then making it inactive using status_update FM. And updating the new status 2 as active one and 3 as inactive again. Two inactive updates and one active update is throwing an update termination error while saving the sales order.
    Any help is really appreciated. 
    Thanks
    Ricky

    Hi ricky,
    For saving any changes you need to have a Z-table.
    In programs we can't store the user selection. In your case you can create a z-table and store the status there and delete the last status. The process would be faster as you will always have one record in the table.
    . One more advantage is you can even track the changes through the Z-table(User who is changing it.)
    Hope this solution will surely help you.
    Cheers
    Suvi

Maybe you are looking for