We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cuando se está contabilizando una nómina y se tiene una diferencia negativa se genera un error de balanceo.
Por lo general al contabilizar un documento de nómina debe llevarlo a la cuenta de balanceo si hay diferencia.
Aquí hay un problema porque está comparando valores absolutos:
if (totalDebit.abs().compareTo(totalCredit.abs()) > 0) { regTotal = fact.createLine(null, acct, getC_Currency_ID(), null, totalDebit.subtract(totalCredit)); } else { regTotal = fact.createLine(null, acct, getC_Currency_ID(), totalCredit.abs().subtract(totalDebit.abs()), null); }
adempiere#4305 adempiere#4306
The text was updated successfully, but these errors were encountered:
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
When a payroll is being posted and there is a negative difference, a balancing error is generated.
Generally, when posting a payroll document, you should take it to the balancing account if there is a difference.
There is a problem here because you are comparing absolute values:
Sorry, something went wrong.
No branches or pull requests
Bug report
Cuando se está contabilizando una nómina y se tiene una diferencia negativa se genera un error de balanceo.
Steps to reproduce
Screenshot or Gif
Expected behavior
Por lo general al contabilizar un documento de nómina debe llevarlo a la cuenta de balanceo si hay diferencia.
Aquí hay un problema porque está comparando valores absolutos:
Contexto Adicional
adempiere#4305
adempiere#4306
The text was updated successfully, but these errors were encountered: