Item
Item_ID (PK)
Category_ID (FK)
Merk_ID (FK)
ItemType_ID (FK)
Unit_ID (FK)
Inventory
Office_ID (PK)
Warehouse_ID (PK)
Item_ID (PK)
SerialNumber (UNIQUE)
Barcode
BatchNumberId (FK)
Quantity
Item_ID (PK)
Category_ID (FK)
Merk_ID (FK)
ItemType_ID (FK)
Unit_ID (FK)
Inventory
Office_ID (PK)
Warehouse_ID (PK)
Item_ID (PK)
SerialNumber (UNIQUE)
Barcode
BatchNumberId (FK)
Quantity
and then im thinking about separating inventory in to two table :
Inventory
Office_ID (PK)
Warehouse_ID (PK)
Item_ID (PK)
Inventory Detail
Office_ID (PK)
Warehouse_ID (PK)
Item_ID (PK)
No (PK)
SerialNumber (UNIQUE)
Barcode
BatchNumberId (FK)
Quantity
Office_ID (PK)
Warehouse_ID (PK)
Item_ID (PK)
Inventory Detail
Office_ID (PK)
Warehouse_ID (PK)
Item_ID (PK)
No (PK)
SerialNumber (UNIQUE)
Barcode
BatchNumberId (FK)
Quantity
I just not very sure that was the best approach.
My assumption : every item should be stored in certain warehouse, and the warehouse belong to certain office. Same item could have only one serial number.
Any idea, suggestion, further reading, or design correction, or another approach, I would really appreciete it.
thank you
This post has been edited by cassiopeia: 26 March 2012 - 02:20 AM

New Topic/Question
Reply



MultiQuote




|