14
There is this line of code in version 17.4 in function UpdateVATOnLines from the Sales Line table: and ((SalesHeader."Document Type" <> SalesHeader."Document Type"::Invoice) or ("Prepmt. Amt. Inv." = 0)) line location is 5435.

The code is preventing you from using an invoice discount, if you've used Get Shipments Lines and pulled shipments from orders with prepayments.
Category: Purchasing
STATUS DETAILS
New