Translations:CustomLine/7/en
Determining the sale price according to the margin
If the native margin module of dolibarr is activated, it is possible to activate a function to update the calculation of the sale price from the cost price. The calculation is carried out from several values:
- the purchase price or cost price excluding tax (noted here PAHT)
- the discount rate if it is entered (noted here DISCOUNT)
- the VAT rate (noted here VAT)
- an entered or predetermined value (noted here PCTMARGE)
We can configure 3 calculation modes:
- Use of the Mark rate:
Sale price = (- PAHT / ((PCTMARGE / 100) -1)) / DISCOUNT