MatchInv - Posting error (Failed to create reversal entry)

90 views
Skip to first unread message

Muhammed Shah

unread,
Oct 17, 2022, 3:41:03 AM10/17/22
to iDempiere
Hi, I did the 'Reset Accounting' process with the 'delete existing accounting entries' flag to correct my fact act entries.

During the next run of the accounting engine, the matched invoices shows an error like 'Posting error (Failed to create reversal entry) - .Doc_MatchInv (MXI - DocumentNo=1000772, DateAcct=2022-10').

How to fix it?
Any comments/suggestions would be greatly appreciated.

Jesús Castillo

unread,
Oct 17, 2022, 9:19:54 AM10/17/22
to idem...@googlegroups.com
Hi, 

Check associated invoice and shipment posting, this error throws due to posting error of one of that docuemnts
 
Atte: Jesus Castillo.


Mailtrack Remitente notificado con
Mailtrack
10/17/22, 09:18:30 AM

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/75dde1c6-ec95-4b21-a3ee-43dc4964fcf1n%40googlegroups.com.

Sapta Saputra

unread,
Jul 27, 2023, 12:13:08 AM7/27/23
to iDempiere
Hello, 

I had this exact issue " Posting error (Failed to create reversal entry) - .Doc_MatchInv (MXI - DocumentN ...", in my case (idempeire 8.2) this happed when MatchedInvoice document  (say, doc A) have Reversal_ID pointed to MatchedInvoice document (say, doc B) which does not have  Fact_Acct  record, at the other side doc B have Reversal_ID pointed to doc A (also doesn't have Fact_Acct record) this caused circular reference error.
This process start at Doc_MatchInv.java Line 216  .. if (m_matchInv.getReversal_ID() > 0) ...

To overcome this case, delete Reversal_ID value at doc A, do manual Posting for doc A then doc B. then you can set back again Reversal_ID for doc A.
Hope this help someone.

Question, is this a bug ?     

Thank you.
Reply all
Reply to author
Forward
0 new messages