Normally in Dimensions, you wouldn't be able to have a situation where a transaction line has been created for a sub analysis that doesn't exist, however if you have a custom modification, or are using the Dimensions API, you may run into this situation.
Firstly, you'll need to create the missing sub analysis on the stock item with the error, and then try again.
If for some reason, you're unable to do this, please raise a new case online and reference the title of this article and please include details of the stock item affected and the missing sub analysis that is required.
