Cost calculations
Cost calculations
The service can calculate the cost of the transactions. How this is done can be configured for each item, and can be either:
- FIFO: First In, First Out
- This means the cost of the oldest delivery with a remaining quantity, will be used as the cost for the transaction.
- LIFO: Last In, First Out
- This means the cost of the newest delivery with a remaining quantity, will be used as the cost for the transaction.
- FEFO: First Expires, First Out
- This means the cost of the first batch to expire having a remaining quantity, will be used as the cost for the transaction.
- Weighted average cost (default):
- This means a weighted average cost is calculated when a delivery is done. This is weighted based on the remaining quantities for the deliveries and is calculated when a delivery is done/modified. The calculated average cost is used as the cost for the arriving transaction, e.g. sales.