When i created a sales receipt for a sold product, sales amount was posted to sales account, inventory was credited and cost of good sold was debited. However, the amount was debited to cogs account was not reflected/shown in the profit/loss statement.