AR Credit Memo: Override default amount of AR Invoice
In the AR Credit Memo transaction, when we click on Copy From and choose AR Invoice, I want to automatically bring the Open Amount of the Invoice into the AR Credit Memo Total (LC) field. By default, the system brings the full amount of the AR Invoice. I want to override this behaviour.
How can I do this? Can I get the code sample please.