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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.