Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
POS - Fashion
Message
From
20/06/2002 14:37:49
Jorge Haro
Independent Consultant
Juarez, Mexico
 
 
To
19/06/2002 22:00:20
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00669632
Message ID:
00670764
Views:
22
The Item Id is unique, each item has an item id, unique, a class id, a color id and a size id, this last three not being unique. I'll put the class, color and size names for clarity, only the numeric ID is saved in the items table.
ItemID ClassID   Class Name   ColorID Color SizeID Size  Stock
1      1         SHIRT        1       BLUE  1      S     50
2      1         SHIRT        1       BLUE  2      M     25
3      1         SHIRT        2       RED   1      S     30
4      2         PANTS        5       DENIM 10     32X32 10
5      2         PANTS        5       DENIM 11     32X34 5   
So I keep stock for every distinct Item. Of course it's flexible enough to ignore such differentiation, since you can have an OSFA (One Size Fits All) size, and an ASSORTED size for the same purpose

>Hi,
>Feel glad to recieve your msg.
>Does your program keep the stock qty of same item id, but diff colour, diff size and diff style? Or, you keep it as one item? e.g.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform