Error printing Disbursements for vendor with no default payment type

Description

User received the attached error when trying to print a Disbursement.

We think the root cause of this problem is the Vendor associated with the Disbursement does not have a default payment type.

  • Verify this behavior by creating a Disbursement, setting the associated Vendor's defaultPaymentType to null, and attempt to print the Disbursement

  • Update the model to not allow null for Vendor.defaultPaymenttype

  • Update the UI to not allow selection of a blank/null value

  • Update BankTransaction.create to default to using a Check as the BankTransaction type if the vendor's defaultPaymentType is not ACH or Electronic

Environment

None

Attachments

1

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Source

Time tracking

1d 1h logged

Components

Affects versions

Priority

Better PDF Exporter

Created April 5, 2018 at 2:56 PM
Updated May 29, 2018 at 2:06 PM
Resolved May 29, 2018 at 2:06 PM