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 > Inventory tracking design Issue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-21-06, 23:14
sachsing sachsing is offline
Registered User
 
Join Date: Mar 2006
Posts: 2
Question Inventory tracking design Issue

Hi All,

I am working on a small project with some peculiar issues.

I have to track SUPPLIERS, SHIPMENTS, PRODUCTS, AND SALE. Now these are the major entities.

The problems is this:
There is a concept ITEM which is required as product seems to be just a category (Name, type, properties). As I need to track each individual ITEM not just reduced quantity in stock for a PRODUCT sold. As an ITEM might be returned defective, therefore requiring them to be tracked seperatly.

Now these are the relationships and cardinalities:

SUPPLIER ---sends--- SHIPMENT (1:N )

SHIPMENT----contains-----ITEM (N:M)

ITEM -----make-----PRODUCT (M:N) ** has we can combine same items to form different products. eg. Item01 - biscuits can be packaged with item03 coffee. Or they can be sold seperately as products individually.

THE ISSUE: HOW DOES SALE fit in ? Items are sold or PRODUCTS are sold. Items are put on offer (like auction listing for example) OR PRODUCTS are listed ?.

I hope I made the situtation clear.

Any help would be appreciated.

Regards

Sunny
Reply With Quote
  #2 (permalink)  
Old 03-22-06, 05:48
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
It is true that some kinds of product are tracked individually (like PCs, TVs, cars - they have serial numbers to identify them), and some are not (like biscuits, coffee, spanners, newspapers, ...) You'd have to treat the former differently from the latter.

However, your post seems to imply that you intend to track individual packets of biscuits or jars of coffee! Nobody does that surely!?

Anyway, for items that are tracked individually, I imagine you would start off with an order that related to a product, not to a specific item: "customer X has ordered 1 of product Y". Then at some point in the process (maybe days or weeks later) you will assign as specific item to the order: "item Z assigned to order O".

I don't know if that helps at all.
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
Reply With Quote
  #3 (permalink)  
Old 03-22-06, 17:57
sachsing sachsing is offline
Registered User
 
Join Date: Mar 2006
Posts: 2
Talking

Dear andrewst,

thanks.

I know Bad example. Not coffee or biscuits. Let imagine items like cameras and memory sticks. Now I can sell them together as a COMBO product or individually as products themselves.

So for instance in one Product I can have One item camera and X2 items memory sticks.


ALSO- you asked if there was a item code- yes only BAR CODES. I hope this is what your were asking

The issue was do I have relationship:

OPTION A: PRODUCT ------sold on----- ORDER (M:N)

OPTION B: ITEM -------sold on-------ORDER (M:N)

I hope it is clearer

thanks

Last edited by sachsing; 03-22-06 at 18:08.
Reply With Quote
  #4 (permalink)  
Old 03-23-06, 07:00
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
Oh, I see. How about selling only Products, but some Products consist of only a single item?
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
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