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.

Fixed

Details

Assignee

Reporter

Fix versions

Time tracking

6h logged

Components

Affects versions

Priority

Better PDF Exporter

Created April 20, 2018 at 12:00 PM
Updated May 3, 2018 at 1:09 PM
Resolved May 3, 2018 at 1:09 PM