Value of inventory going to inventory cost instead of inventory on hand when I raise a purchase invoice

The way I read this guide https://www.manager.io/inventory-revaluations you need to disable Inventory items

Then click on Dynamic Rolling Recalculations where you will see Inventory Items checked. You need to uncheck the option.