If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > ERD Help needed

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-24-10, 04:10
nasirsahab nasirsahab is offline
Registered User
 
Join Date: Nov 2010
Posts: 1
ERD Help needed

I am designing database for accounts managment system for toys shop which
Purchases Items from supplier and sell to customers on credit or cash.
After specified time toy shop recieve payment from customers and pay dues to its supplier (in case of credit)
Deposit & Withdraw cash from bank
Expenses

In ERD diagram there are two option for Sale & Purchase
Option 1
Sale
SaleLine
Purchase
PurchaseLine
Option2
Order (Include attribute OrderType=Purchase/Sale)
OrderLine

Which Option is correct ??
Reply With Quote
  #2 (permalink)  
Old 11-24-10, 04:39
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,246
which option meets your business requirement?
think the process through
imagine . try to understand what is required
develop your model so it meets that requirement.

ultimately, providing you can explain the reasons for your choices in your assignment then it doesn't matter. its about you demonstrating that you understand the process, not about you presenting a finished model with no understanding of how the finished model was designed
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On