ECC 6. was able to delete records even though it has dependent records ....

Hi Guyz,
  Was able to delete entries from master table even though I have entries in detail table. I defined foreign key in detail table field refering to master table field. I am working on ECC6.0. Does any body got same problem ?
Regards,
Venkat.

You have a master table : For eg: Code Type
with some values
like
Fields:CODE_TYPE(Primary key *)                CODE_DESC
          ENCL                                      Enclosure
          NACO                                      Nature of concern
          PORT                                      Port code
Another detail table with
Fields:
CODTYP(#)  CODE ()      CODDESC  
ENCL           2             Insurance Certificate
ENCL           3            Quality Certificate
ENCL           4            SAARC Preferential Trade Agreement
Fields CODTYP also has foreign key(#) reference
to first table Code type(Check table)
You deleted CODE_TYPE: ENCL from the first table:  Code Type
The system will allow this type of deletion.
But when you try to add a new entry with codtyp = 'ENCL'
Next time it will raise error message saying that value doesnot exit in check table.
If you want to have a check whether its used in details table at master table entry deletion time, you may have to write some extra form in deletion event in TMG.

Similar Messages

  • How to delete parent table data even though it has child records

    hi all,
    How to delete parent table data even though it has child records.
    ex: delete from pa_request cascade constraints;
    But this command is not working .
    Regards,
    P Prakash

    833560 wrote:
    ex: delete from pa_request cascade constraints;cascade constraints is DROP table option. It can't be used with DELETE. You need to delete child rows first or drop foreign keys and recreate them with ON DELETE CASCADE. Then:
    delete from pa_request will automatically delete child rows. However, personally I don't like ON DELETE CASCADE. You can, by mistake, delete half of your database without even realizing it.
    SY.

  • Possible to delete delivery even though Transfer Order exists

    Dear Experts
    I am able to delete deliveries even though Transfer order exists and confirmed. How can I restrict this as in this Transfer Order remains open without delivery in Place.
    Regards,
    Neeraj Srivatava

    Hi Frenchy
    Many thanks for your valuable inputs.
    What is the reason I can delete delivery even after Transfer Order is confirmed. This will leave the Picked  stock stranded in Dispatch area which cannot be linked with any delivery.
    Regards,
    Edited by: NEERAJ SRIVASTAVA on Aug 13, 2008 2:42 PM

  • Recently, U2 music appeared on my ipod without my requesting it or wanting it. I was able to delete all of the songs except for one. How do I delete the last one from my ipod? The song does not show up in iTunes when I plug my ipod into the computer.

    Recently, U2 music appeared on my ipod without my requesting it or wanting it. I was able to delete all of the songs except for one. How do I delete the last one from my ipod? The song does not show up in iTunes when I plug my ipod into the computer. The version installed on my ipod is 7.1.2(11D257).

    Hi donfrommars,
    Welcome to the Apple Support Communities!
    Please use the following article for information and instruction on deleting the U2 album from your devices and account.
    Remove iTunes gift album "Songs of Innocence" from your iTunes music library and purchases
    Have a great day,
    Joe

  • Is it possible for deleting all the apps from the appstore which are showing up in the apps not on my phone section. Before I was able to delete them from itunes but now I am not able to find that option.

    Is it possible for deleting all the apps from the appstore which are showing up in the apps not on my phone section. Before I was able to delete them from itunes but now I am not able to find that option.

    You can hide them via your computer's iTunes : iTunes Store: Hiding and unhiding purchases - Apple Support
    The 'x' might not show on their top left corner (it might be invisible), but clicking where it should be should hide the app.

  • TS4006 ICloud notified me my iPhone was offline.  I cannot see a map, or send a tone.  Should I be able to do these even though the device is offline?  Thanks for any help

    ICloud notified me my iPhone was offline.  I cannot see a map, or send a tone.  Should I be able to do these even though the device is offline?
    Thanks for any help?

    If you think getting your web pages to appear OK in all the major browsers is tricky then dealing with email clients is way worse. There are so many of them.
    If you want to bulk email yourself, there are apps for it and their templates will work in most cases...
    http://www.iwebformusicians.com/Website-Email-Marketing/EBlast.html
    This one will create the form, database and send out the emails...
    http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
    The alternative is to use a marketing service if your business can justify the cost. Their templates are tested in all the common email clients...
    http://www.iwebformusicians.com/Website-Email-Marketing/Email-Marketing-Service. html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • A barcode scanner that was connected directly to the Mac's USB port stopped working as the "USB had too much power drawn", even though it has worked for over a year in that port.  WHen we plugged it into the port on the keyboard, the device works. Why?

    A barcode scanner that was connected directly to the Mac's USB port stopped working as the "USB had too much power drawn", even though it has worked for over a year in that port.  When we plugged it into the port on the keyboard, the device works. Why?  Obviously the device is operational.  Could the USB port have burned out from having too much power drawn?  If so, is it reparable?

    It can't draw "too much" power, it can only draw as much as the USB port is able to provide and no more. IIRC, the keyboard port has a lower power output than the iMac's port.
    That being said, yea, it's possible that the port has failed and it can be replaced or if another port works you can use that one. Although if it is still under warranty or covered by Apple Care, then I would take it to an Apple Store or service provider to get the port repaired.

  • Not to show the detail records even though the mater records are existing.

    Dear Oracle
    I would like not to show the detail records even though the mater records are existing. Is there any block preperty I can set?
    Thanks

    I don't know the reason why you would want to do that but if you do not want to any record in the master block in
    a master-details format, then you could achieve this by setting the WHERE clause property in the block.
    e.g., master block DEPT (base table DEPT) and detail block EMP (base table EMP)
    table DEPT is as follow
    dept_id (pk)
    dept_name
    table EMP is as follow
    emp_id
    emp_name
    dept_id (fk)
    then you can set the WHERE clause in the DEPT block as follows
    exists (select 1 from emp a where a.dept_id = dept.dept_id)
    hope this help

  • How can iPhone videos sent to another iPhone be made clear like they were recorded even though it sent as a text. with iMessage it's clear but when it's not available the quality *****, how can I make a received vid clear again??? help

    how can iPhone videos sent to another iPhone be made clear like they were recorded even though it sent as a text. with iMessage it's clear but when it's not available the quality *****, how can I make a received vid clear again??? help

    This is determined by your carrier. SMS/MMS is a poor man's email and by that I mean SMS/MMS has major restrictions and limitations compared to email but is a cash cow for cell phone carriers.
    Upload the video to YouTube when connected via wifi and send the YouTube link via text.

  • Format address panel in iCal to show Department from the address book. At the moment it is showing 'Job Title' even though that has been removed in Address Book.

    Can anybody help please How do I Format address panel in iCal to show Department from the address book. At the moment it is showing 'Job Title' even though that has been removed in Address Book.

    I have a similar problem. I actually spoke with a Paypal customer Representative a few months back who informed me that they had deleted all of my previous *Hidden* Address but when I just purchased an item today on a online merchant's site that I had never been to before and checked out using their Paypal option, I noticed that my default shipping address was in fact my old address and when I went to change the address to my current address, I noticed all of the old addresses I ever used were still there. I've just spoken with 2 separate paypal representatives who confirmed on their end that all of the old address have been deleted and the only one they have on file is my current address. Can anyone provide me an explanation as to why the old hidden address can still be showing up when I check out on merchant's sites using paypal even after they've seemingly been deleted? The last Representative suggested clearing out my browser's cache, but I don't believe that will resolve my issue. Thank you in advance.

  • I've just rented a movie on iTunes, and I tried to start it before the download finished, and now even though it has finished when I try to play it nothing happens. Is there a way to reload it without paying again??

    I've just rented a movie on iTunes, and I tried to start it before the download finished, and now even though it has finished when I try to play it nothing happens. Is there a way to reload it without paying again??

    I'm not convinced that starting it before it was downloaded has anything to do with it, you should be able to do that. I'd try restarting the computer and if that doesn't help, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History.

  • Audio playback even though region has ended

    Hi Guys,
    I am currently editing recordings and I seemt o have a rather strange bug/problem.
    When cutting, editing the regions I can still hear the recording even though the the audio region has already ended. Also, the waveform doesn't seem to correspond at all to what I can hear. Refresh overview doesn't change anything. there is no overlap of regions and all other tracks are muted.
    This is the same in Logic 10.0.4 as in Logic 9.1.8
    Thank for the help!

    figured it out,
    it was the RX 3 Declicker plug in that caused a delay (even when in bypass mode)

  • HT204074 I have our music collection on iTunes Match for my PC, ipad and iphone.  Can I share that music collection with my wife so she can play that with her iphone?  Even though she has a different Apple ID from me?

    I have our music collection on iTunes Match for my PC, ipad and iphone. 
    Can I share that music collection with my wife so she can play that with her iphone?  Even though she has a different Apple ID from me?

    Her iPhone will need to be set up to iTunes Match using your Apple ID to be able to share music via iTunes Match. Otherwise you'll have to download the music to your computer and then copy those tracks into her iTunes library, assuming hers is separate.
    Regards.

  • My Macbook wouldn't start up even though it has power...What can I do?

    My Macbook wouldn't start up even though it has power...What can I do?  The power light stays on and won't go off.

    I have the exact same problem and waited it out and got to my homescreen.  Whateve the problem is fried my bluetooth and my trackpad.  I tried starting it again and couldn't even get to homescreen, it stayed on the bluescreen with the wheel of death.  So, I took it to genius bar today. I was informed that my logic board is fried and it needs to be replaced.   $300 repair that I'm looking at...

  • I purchased OSX 10.8 can I put it on my wifes computer too even though she has a different apple ID?

    I purchased OSX 10.8 and it is on 2 of my computers can I put it on my wifes computer too even though she has a different apple ID?

    The OS X license states that you can install it on as many computers as YOU own and control. So, technically speaking, your wife needs to get her own license; however, if you both use the same Apple ID......
    FWIW, the license is not transferable, so if you sell/gift your computer, you must uninstall it and reinstall the original system (or the buyer will encounter major problems such as not being able to reinstall the OS if necesssary).

Maybe you are looking for