Purchase amount not showing in purchase of inventory items

One of my purchase invoice appears as 0.00 in purchase of inventory items though the purchase invoice shows the correct amounts but its 0.00 in purchase of inventory items.Please could you help where the problem is.

When you purchase inventory items, the purchase amount will be added to asset account called Inventory on hand. It will become expense only when inventory item is sold. In other words, merely purchasing inventory item will never have any effect on your expenses.

Yes I do understand that it appears in the purchase of inventory items only after its sold. The invoice I am talking about is already sold.
Note: The problem is resolved it was a date issue. By mistake the purchase date was after the sales date.
Thanks for your help