Exception when selecting a Revenue Account from the item account drop down
Description
An exception is thrown when attempting to select a Revenue Account from the account combo box on an item. See attached stack trace.
Research and Fix
Be sure to document the problem, link the caused by, and add comments describing the fix
Environment
None
Attachments
1
Activity
Show:
Jason Klinger April 24, 2018 at 1:58 PM
Found out that this error affected DistributionItems, but not AccountChangeRequest entry. Debugged this to find out the type of the AccountComboBox was always being set to ExpenditureAccount. I believe this was due to the getType code in TypedSelect. I added an override of getType to always return GeneralLedgerAccount. This fixed the error, and I went back and tested the other account entry boxes. I'm still not sure why the error didn't occur in AccountChangeRequest.
An exception is thrown when attempting to select a Revenue Account from the account combo box on an item. See attached stack trace.
Research and Fix
Be sure to document the problem, link the caused by, and add comments describing the fix