Customizing POS

Hi Everyone,

Is there anyone here able to modify the Amount due in the pos retailtransaction?

I have this customization that adjusts the total amount due of the transaction. I’ve tried the following,

retailTransaction.GrossAmount += value;


and also the retailtransactions.calculateAmountDue() but it just reverts back to the calculated values.