« Translations:CustomLine/7/en » : différence entre les versions
Aller à la navigation
Aller à la recherche
Page créée avec « ==== 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 (no... » |
(Aucune différence)
|
Dernière version du 5 mars 2025 à 14:23
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