stock transaction

Hi All 

I created  and a direct sales  invoice and forgot  to set stock transaction to yes. I s there a way to correct this so that the stock movement is generated.