Jump to content

This topic is 5499 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

We sell many products. Some of them are a combination of other products.

Each product has a cost and a markup.

Example:

Product A, Cost = 1.00

Product B, Cost = 2.50

Product C, Cost = Cost of Product A + Cost of Product B. This is the question. How do I perform a calculation from within the database like this?

Posted

I was picturing the need a bit differently than Peter. I saw grouping Products and not product pieces. This type of grouping happens a lot during sales and it works fine with pricing. But if you are tracking the individual inventory of each product and you sell Product C, use the Group field to decrease your A and B stock.

Anyway, here's what I envisioned (attached) ... just another approach. :smile2:

NB: I didn't use auto-enter on the Cost field because I would assume that, if the price changed for A or B, C should update.

ProductGroups.zip

  • 2 months later...
Posted

Your example was very helpful. I am almost accomplishing what I need to do. One more question, because I think you'll know the answer.

If product C is a combination of (2) of product A and (3) product B, how can I thrown in a multiplier to make the price of product C correct?

Thank you in advance.

This topic is 5499 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.