Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
It seems like when fetching vat from an orderline it gets the products vat price and not the orderlines vat price which should be product's vat * quantity?
So i end up with ol.VAT * ol.Quantity to get the correct price without vat
PriceManager.NicePrice((ol.Total.Value - (ol.VAT * ol.Quantity)));
OrderLine.VAT should really be called "Unit VAT". It's equivalent to the Price field on the order line, which is the unit price.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Orderline VAT doesent seem to match Quantity?
It seems like when fetching vat from an orderline it gets the products vat price and not the orderlines vat price which should be product's vat * quantity?
So i end up with ol.VAT * ol.Quantity to get the correct price without vat
OrderLine.VAT should really be called "Unit VAT". It's equivalent to the Price field on the order line, which is the unit price.
is working on a reply...