Hi Roger, i think i removed these clauses and the vat calculation should work now. Did not do the first point yet though.... So please try it..
Regards, Hans On Sun, 2008-08-10 at 11:49 -0700, rogernb wrote: > 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 > > > > > > > > > > > > > > >
