org.compiere.acct.PostingException: NotSet Automatic tax account (Debit) / Automatic tax account (Credit) @Posted@: @PostingError-E@ (Error) @Document@: MJournal[1001933,Deko Admin,DR=85.90,CR=85.90] Preserve Posted status: true

GitHub | teosarca | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    FRESH-515 Server console gets poluted by a GL journal which failed to post

    GitHub | 9 months ago | teosarca
    org.compiere.acct.PostingException: NotSet Automatic tax account (Debit) / Automatic tax account (Credit) @Posted@: @PostingError-E@ (Error) @Document@: MJournal[1001933,Deko Admin,DR=85.90,CR=85.90] Preserve Posted status: true

    Root Cause Analysis

    1. org.adempiere.exceptions.AdempiereException

      @NotSet@ @DR_AutoTaxAccount@ / @CR_AutoTaxAccount@

      at org.compiere.acct.Doc_GLJournal.createDocLines_Tax()
    2. org.compiere.acct
      Doc$1.run
      1. org.compiere.acct.Doc_GLJournal.createDocLines_Tax(Doc_GLJournal.java:172)
      2. org.compiere.acct.Doc_GLJournal.loadLines(Doc_GLJournal.java:107)
      3. org.compiere.acct.Doc_GLJournal.loadDocumentDetails(Doc_GLJournal.java:82)
      4. org.compiere.acct.Doc.post0(Doc.java:522)
      5. org.compiere.acct.Doc.access$100(Doc.java:129)
      6. org.compiere.acct.Doc$1.run(Doc.java:445)
      6 frames
    3. org.adempiere.ad
      AbstractTrxManager.run
      1. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run0(AbstractTrxManager.java:656)
      2. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:569)
      3. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:476)
      3 frames
    4. org.compiere.acct
      Doc.post
      1. org.compiere.acct.Doc.post(Doc.java:434)
      1 frame
    5. org.compiere.server
      AdempiereServer.run
      1. org.compiere.server.AcctProcessor.postSession(AcctProcessor.java:148)
      2. org.compiere.server.AcctProcessor.doWork(AcctProcessor.java:85)
      3. org.compiere.server.AdempiereServer.run0(AdempiereServer.java:294)
      4. org.compiere.server.AdempiereServer.run(AdempiereServer.java:238)
      4 frames