I have a finished good item that requires 4 raw materials to make it.

I have a finished good item that requires 4 raw materials to make it.

Hello

I have a finished good item that requires 4 raw materials to make it.
I created a composite item for the finished good and inserted the raw materials but when I make an invoice and sell the finished good none of items quantity gets decreased. 
Is this better way do this?