The purchased cost is not calculated in the profit or loss statement

I use just the purchase invoice to record purchase, sales invoice, cn and dn. other functions im not using.