When I post a prepayment invoice in a sales order in Business Central ERP, it generates an applies entry to receive payment from the customer via the cash receipt journal.
However, I need to automatically post the payment journal along with the prepayment invoice.
You do this by using a payment method code that has a balancing account no. selected. If a payment method has a balancing account, the system automatically creates a payment to the balancing account when that payment method is used on a document.
In your case, in the sales order use a payment method code with a balancing account when you're posting the prepayment invoices, and then switch to a regular payment method code when posting the regular invoice.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.