Delivery Note and Material Requested wrongly reflected in Cost of Good sold

We are trying to generate Profit or Loss account and Cost of Goods Sold is higher than Sales ie Income due to wrong reflection of Material Request and Delivery Notes.
How can i resolve this
Thanks