Difference in Stock Balance ledger with Purchase & Sales Transactions

Sir,

The amount at which purchase and sales transactions are recorded is not reflected in Stock Summary Report.
And the closing stock is also not valued at cost.

Thanks for the help.