• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Duplicate record
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duplicate record


  • Subject: Re: Duplicate record
  • From: Arturo PĂ©rez <email@hidden>
  • Date: Thu, 22 Jul 2004 20:44:22 -0400

On Jul 22, 2004, at 8:08 PM, A. Uchida wrote:

Im making a quote database.
When a quote record is produced product data are going to be picked up from Product table.
But Product detail (price or description of a product) will be changed case by case or in the future
but the old quote record which had been already created should not be updated by the modification.

When I had this problem I declared Product to be immutable. Whenever the sales people (marketing whomever) were "updating" a Product they actually created a new one. This solves your problem I think.


The key here is to conceptually separate the Product primary key from the alternate key that the person updating the record sees.
----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



References: 
 >Duplicate record (From: "A. Uchida" <email@hidden>)
 >Re: Duplicate record (From: Nathan Dumar <email@hidden>)
 >Re: Duplicate record (From: "A. Uchida" <email@hidden>)

  • Prev by Date: Display Groups
  • Next by Date: Re: Display Groups
  • Previous by thread: Re: Duplicate record
  • Next by thread: Question on editing contexts
  • Index(es):
    • Date
    • Thread