When I create a Credit Note on a sale order and invoice it, The settlement between this sale order and the credit note is done automatically. is there any way to prevent this settlement?
For example, I need to add a check box in CustTable called : Disable Credit Note settlement.
When this check Box is unthicked, then the settlment should be performed normally, but when the check Box is thicked, in this case I need to post the credit note without settlement.
Where Can I find the piece of code that makes such a thing so I can add some controls.
Thank you in advance