With the release of Business Central Wave 2 2021 aka BCV19 lot of new features has been added to make life easier of developer and/or customers.
Now from business central V19 onwards we can select location code for non-inventory items and it was having issue till version 18
Let See how to create Non Inventory Items
Go to Item Card
While creating Item select type as Non-Inventory. If the item is noninventory then Inventory Posting Group is disabled.
Let see how it works in Transaction.
Once you post this transaction then it will store the cost in Cost Amount(Non-Invtbl).
All these location will be copied to ledger entries.
Hopefully this will help you.
Stay tuned for more.