Use as inventory management?

I have a global question. Can the module be used for the managing of the inventory?
I would like to have a system to manage the purchase order together with the product inventory.
So when create invoice the item will automatically deduct.
Is there any extension?

I appreciate that, if you can answer my question.

Thanks.