Is the item purchased Stock Item? You can check this in Item masters as follows:
No accounting entries may be required for items that are not maintained in stock.