Getting Purchase Receipt Error while Submiting

Hello,

I am getting following error message when I try to submit a purchase receipt

Please set Account in Warehouse All Warehouses - IS or Default Inventory Account in Company XXXXX

What mistake am I making here please guide.

have u checked your company ? In that their will be a accounts settings section kindly fill all details…

Thanks for your hint. I had to set Default Warehouse in Company Settings.