link the standard cost on a group of items to a commodity price

How can I link a group of items to a commodity?  I would like to be able to update the price of the commodity and then update the standard cost of these items based on their weight and the commodity price.
captainrichardAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

LowfatspreadCommented:
you need a commodity table for the basic commondity price/details

you need an item table for the specific item

now it gets complicated ... are the items just differently packaged quantities of the commodity ?

   in which case you item table just refers to the base commodity table (has a foreign key to it)

or is the item constructed of multiple commodities (what do you mean by weight actual Kg/lb? or the percentage/ratio of the commodity to the eventual product?)

in which case you have an item components table which holds the relationship
between the item and its components
   e.g. itemno , commodityid,   weight , ...

either way you either calculate the price on the fly each time... or
probably have a trigger on the commodity table , which when the price is updated
 causes an update for the item price....

hth  

   
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
WilyGuyCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup Topic Area that this question is:

- Answered by: Lowfatspread
- Placed in PAQ


Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

<WilyGuy>
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Dynamics

From novice to tech pro — start learning today.