I wanted to ask about the snippet of code in InvoiceServices.createInvoiceForOrder(lines 760-791) method that creates payment applications for payments, received before creation of invoice.
Parameter billingAccountId is passed to the service createPaymentApplication. So every payment that was received before creation of invoice is applied to the created invoice and billing account(if the invoice was paid with BA and another payment method E.g offline payment). I will give example: 1. Create invoice for 100 $; 2. Pay the invoice with billing account(40$) and with offline payment method(the rest - 60$); 3. Receive Offline payment for 40$ before creation of invoice(orderview screen); 4. Quick ship entire order; Now received offline payment is applied to invoice and billing account. I know that this situation doesn't affect billing account available balance but I was curious if this is right or not. Thanks, Rashko Rejmer -- View this message in context: http://www.nabble.com/Offline-payment-applied-to-billing-account-tf4721638.html#a13498972 Sent from the OFBiz - User mailing list archive at Nabble.com.
