Automatic clearing of credit note with its billing document
I have a problem during the "release to accounting" of an SD credit note.
The real problem is about the automatic clearing of the credit note with the billing document that it refers.
I have only one clearing criteria in customizing on the field ZUONR (assignment number), and the credit note have the right value (the number of the billing document).
The SD billing document and its FI document have the same number, and the credit note too.
When the credit note is passed to FI (release to accounting automatically), the user wants that it is also cleared.
How can I do it? Can I do it?
Thanks in advance