Function that logs all changes for orders, key figures, and stock.
The audit trail records the time a change is made, who made the change, and the value that has been changed.