Hans,

I have the same request from a customer and I consider your approach to be
totally reasonable. Nevertheless, I would like to know if it is a good
practice to open the java file and just do the needed changes to the code.

I read the code in OrderServices.java and I noticed there are several
clauses which ommit the purchase orders while calculating taxes. So I think
it is just a matter of modifying these clauses, let the taxes be calculated
for purchase orders too and load these taxes in a account.

What do you think? would it be enough to modify the code in OrderServices?



Hans Bakker wrote:
> 
> 
> I have a request from a customer to enable the VAT tax calculation on
> purchase orders. I have read the messages in the past about this subject
> and want to propose the following to implement this feature:
> 
> 1. add a second glAccountId for outgoing tax to the
> TaxAuthorityGlAccount.
> 2. adjust the programs to calculate the vat (sales tax) on purchase
> orders the same way as sales orders, but use for the productstoreId a
> blank entry.
> 
> Is this a reasonable approach?
> 
> Regards,
> Hans
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/VAT-on-purchase-orders-tp18055034p18915870.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to