You need to sign in to do that
Don't have an account?
Hey Thunder If you could provide more detail then that would help the Community to answer.

I have two objects - product and purchased Items. Both the objects have quantity fields. I need to update quantity field in product after the product has been purchased.

Do they share a relationship? What type of relationship is it? If Product is the parent and Purchase the child then you can write a trigger on the child and summarize the information on the Parent.