Steps to Reproduce:
- Log into folio-testing
- Click invoice app
- Create invoice by selecting a Vendor with ONLY a default accounting code
- Set "Export to accounting" to true for the invoice
- fill required fields
- Create invoice line with all required fields
- Click approve invoice
Expected Results: Invoice is successfully approved. The invoice does have an accounting code populated
Actual Results: Cannot approve invoice error is displayed because the system thinks the invoice has no accounting code.
NOTE: This is likely due to recent updates to invoice allowing the account number to be stored as well as accounting code. Because "Default" accounting code does not have a corresponding account number the approval fails?
Additional Information: see screenshots