Hello all

tax will only be calculated only if order type is "SALES_ORDER".
This condition is checked in TaxAuthorityServices.java . So the above method
wont give u the solutions.


Kunal

On Mon, Aug 11, 2008 at 9:08 PM, rogernb <[EMAIL PROTECTED]> wrote:

>
> Hans,
>
> The solution is compiling successfully, but the application still does not
> calculate taxes for purchase orders. Do you have any idea of something else
> that should be changed?
>
>
> rogernb wrote:
> >
> > I tried that and it didn't work. The tax is not calculated.
> >
> >
> > BJ Freeman wrote:
> >>
> >> try
> >> ant clean
> >> ant run-install
> >>
> >>
> >> rogernb sent the following on 8/10/2008 5:17 PM:
> >>> Hi Hans,
> >>>
> >>> I have removed the clauses already, but I am not sure of how to compile
> >>> everything again. I run windows so I tried to run:
> >>>
> >>> -ant
> >>> -ant run
> >>>
> >>> from the command line, but I see no changes in the application. Can you
> >>> give
> >>> to me any suggestion?
> >>>
> >>> thnx,
> >>>
> >>> Roger.
> >>>
> >>>
> >>> hansbak wrote:
> >>>> 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
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>
> >>>>
> >>>
> >>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/VAT-on-purchase-orders-tp18055034p18928237.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Reply via email to