Hi I am working on business central on prem 18. I wanted to know is there any way to apply payments automatically in business central. We integrated web shop with business central, whenever the order comes from webshop into business central then we create a payment entry through code. we want to apply this payment automatically whenever the sales order gets converted into posted sales invoice. I just wanted to know that is there any standard way in business central to automatically close the payment?