Hi it seems like your missing some setup in your Inventory Posting Setup.
Here you can find the location of this setup.
Company/Departments/Financial Management/Administration/Inventory Posting Setup
You need to have the combination of Location and Inventory posting group and the G/l account for your Inventory account.