Hello all, thank you for your participation, yes, it is very easy to insert this code by hand that was done by me.
I've tested my case, the sales tax (VAT) is calculated for the shipping but twice!! I started to investigate this problem, and in my case I have 2 product categories and 2 Tax Authority Product Rates with specified VAT 19% I have remove one of the category from the Tax Rate list, and my shipping tax was calculated correctly (one time). As I understand, something was missed, because wrong Tax Authority Product Rates are used regardless of the product relates to another category. Best regards, Sergei On Tue, Feb 1, 2011 at 1:34 PM, Jacques Le Roux [via OFBiz] < [email protected]<ml-node%[email protected]> > wrote: > Hi Paul, > > Great, thanks for letting us know. > > Sergei , I know you are using R9.04. I think the snippet Paul submitted can > be inserted easily there also (maybe by hand). Could you > please try and confirm it works for you? > > Thanks > > Jacques > > From: "Paul Foxworthy" <[hidden > email]<http://user/SendEmail.jtp?type=node&node=3250969&i=0>> > > > > Hi Sergei and Jacques, > > > > I have encountered and fixed a problem that I think is the same as this. > The > > calcTax service is called for shipping and promotional amounts, with no > > product id. The search of the TaxAuthorityRateProduct table assumes that > if > > there is no product we only need to find TARP rows with a ProductCategory > of > > null. Not so! We also need to find rows with taxShipping and > taxPromotions > > set to Y. > > > > I have created a Jira issue with a patch at > > https://issues.apache.org/jira/browse/OFBIZ-4160. > > > > Cheers > > > > Paul Foxworthy > > -- > > View this message in context: > http://ofbiz.135035.n4.nabble.com/VAT-is-not-applied-for-the-shipping-tp3234699p3250627.html<http://ofbiz.135035.n4.nabble.com/VAT-is-not-applied-for-the-shipping-tp3234699p3250627.html?by-user=t> > > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://ofbiz.135035.n4.nabble.com/VAT-is-not-applied-for-the-shipping-tp3234699p3250969.html > To unsubscribe from VAT is not applied for the shipping, click > here<http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3234699&code=YmlsZXRuaWtvdkBnbWFpbC5jb218MzIzNDY5OXwyMDcwNzk3NDQ4>. > > -- Best regards, Sergei Biletnikov -- View this message in context: http://ofbiz.135035.n4.nabble.com/VAT-is-not-applied-for-the-shipping-tp3234699p3251339.html Sent from the OFBiz - User mailing list archive at Nabble.com.
