Subtracting Finished goods in stock from Production Plan

Hi all,
I am having a problem with the Production Plan. I have a Sales Order for 100pcs of Item A of which 90pcs I have in stock and 10pcs have to be manufactured acording to the BOM.
Currently I am subtracting manually the finished goods in stock. Is there any way to have it done automatically?