Hi
I have the following
tblProduct
ProductID PK
ProductDescription
tblConponent
ProductID PK
ParentProductID FK
Quantity
tblPrice
PriceListNameID PK
ProductID PK FK
CostPrice
PercentageMarkUp
Essentially as I understand it this is a Bill of Materials
I have the primary key in tblPrice on two fields to prevent a product be entered into the same price list twice.
A product/component may form part of the assembly of more that one product/component.
Only products/components that are not assembled (ie they are at the bottom of the tree) have records in tblPrice
I am trying to calculate a price for any product/component that may be sold. This could be at any point in the tree. I’m not entirely sure that this can be done. I have Googled and researched this including Joe Celko nested tables and BOM’s, however I’m afraid his SQL is way beyond my comprehension.
Before continuing to research this further I would be grateful if anybody could tell me whether what I am trying to achieve is even possible in Access. If not could anyone suggest a design or point me in the right direction.
Many thanks
LouiseJ
I have the following
tblProduct
ProductID PK
ProductDescription
tblConponent
ProductID PK
ParentProductID FK
Quantity
tblPrice
PriceListNameID PK
ProductID PK FK
CostPrice
PercentageMarkUp
Essentially as I understand it this is a Bill of Materials
I have the primary key in tblPrice on two fields to prevent a product be entered into the same price list twice.
A product/component may form part of the assembly of more that one product/component.
Only products/components that are not assembled (ie they are at the bottom of the tree) have records in tblPrice
I am trying to calculate a price for any product/component that may be sold. This could be at any point in the tree. I’m not entirely sure that this can be done. I have Googled and researched this including Joe Celko nested tables and BOM’s, however I’m afraid his SQL is way beyond my comprehension.
Before continuing to research this further I would be grateful if anybody could tell me whether what I am trying to achieve is even possible in Access. If not could anyone suggest a design or point me in the right direction.
Many thanks
LouiseJ