Description
Describe the issue
Since BC25.2 a new Contoso Demo Data Tool has been introduced. This Tool sets up two Inventory Posting Groups: RAW MAT and RESALE.
In Inventory Posting Setup however only one of those gets Inventory Account set to existing account: for RESALE Inventory Account is set 2110 for all locations.
However when a function CreateItem from LibraryInventory is called the first available Inventory Posting Group gets defaulted for an Item and that is RAW MAT.
This leads to failing test in some of the scenarios utilizing the LibraryInventory.CreateItem call.
Expected behavior
No automated test should because of a missing Inventory Account for data that was created using Contoso Demo Tool.
Steps to reproduce
Run all of the Subscription Billing test in a freshly created company using Contoso Demo Tool. 15 scenarios will fail because of the missing Inventory Account.
Additional context
I would like to fix the Contoso Demo Tool so that Inventory Account gets defaulted for Raw Materials in the same way as for Retail.
I will provide a fix for a bug
- I will provide a fix for a bug