WithHolding Bug

Description

When you define a withholding based on line value, and the pricelist defines the prices with tax included, the withholding calculation take the line value (that includes the taxes) as base for withholding calculation. I believe the tax must be subtracted before the withholding calculation.
I tested this on my machine and also in the globalqss demo with the same results.
I fixed the bug, tested and it works, attached you will find the LCO_Minvoice.java with the fixes.

Environment

Ubuntu 14.04 64 bits

Activity

Show:
Jaime Garcia
June 8, 2016, 7:16 PM

What happened with this bug? An answer is required

Orlando Curieles
June 8, 2016, 8:32 PM

Hi Mr. Jaime

On first place this is a OpenSource Project, maybe you need read about that http://www.catb.org/esr/faqs/smart-questions.html

Second place: this bug is not in the iDempiere core is for LCO Plugin from Carlos Ruiz, you need report in the google groups idempiere.

Regards

Carlos Ruiz
September 22, 2016, 4:42 PM

, I tested the patch and didn't work. I think it must work just on very specific cases, but my tests failed mostly because of bug

Regards,

Carlos Ruiz

Orlando Curieles
August 22, 2020, 5:36 PM

Closed as potential idea - inactive 4 years

Assignee

Unassigned

Reporter

Jaime Garcia

Tested By

None

Components

Affects versions

Priority

Major
Configure