Create and Apply a CM against an Invoice in Autoinvoice Program
Hi,
We are having a challenge in our AutoInvoicing program.
We are unable to create a Credit Memo and we are unable to apply it against the Invoice and close the invoice.
We are providing the Reference line id's and everything that need to identify the invoice for application.
Here is what is happening...
1) IF a Credit memo is having only 1 line...and if the corresponding reference Invoice is also having one line -> then it is Success
2) If a Credit memo is having 1 line...and if the corresponding reference invoice is having multiple lines and IF CM amount is greater than each individual line ( auto invoice is comparing against individual invoice line, not invoice total) then -> FAIL