Auto apply credit memo to an invoice generated through auto invoice program
Summary:
Hello!
We have a requirement to automatically apply a credit memo to an invoice generated through the auto-invoice program for shipped orders.
When a return order is created and the RMA (Return Merchandise Authorization) receipt is processed by the user, a credit memo is generated through auto invoice program. We need to ensure that this credit memo is automatically applied to the corresponding invoice without any human intervention.
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
25A
Code Snippet (add any code snippets that support your topic, if applicable):