Invoice: Unable to save invoice type when payment method is required

Issue No: AR-9261
Created 11/5/2018 1:46:19 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-219744 - Require Method of payment in standard Invoice - Cash Sale|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-219744] v18.3.1030.385   + *Steps to reproduce:* +   1. Set user roles control permission to invoice payment method to required.   2. Add a new invoice type invoice and save.   + *Actual result:* +   Cannot save invoice.   + *Expected result:* +   When you make the payment method required in user roles, then it prevents you from saving the invoice when the invoice type is "Invoice". The requirement should only be enforced when it's a "Cash" type invoice, which is the only time the Payment Method field would be applicable.