Applying credit memos
The company customers are those where the Automatic Cash Application field is Yes and the Apply Method field is Algorithm, Balance Forward, or Last Statement on the Application tab on Company Customer.
Use this procedure to automatically apply credit memos.