Any idea what would be the correct computation with the scenario?
I have transactions that has an order level discount and there is amount due on it
I’m building a script, to add a line to negate the said amount due so the transaction would close out or paid in full
without discount rate, I can just simply negate said amoune due and add it to the transaction.
with discoumt, I can’t figure out the computation that I need to still close out the transaction.
any leads is greatly appreciated