Calculate the value of the payment for kilometers an employee travels # #
A user wants to calculate the value of the payment for the kilometers an employee traveled, based on his specific km rate. The employee has to fill the form, providing an amount of km traveled separately for the city and highway cycle.
There are 3 properties which have to be calculated in the order as follows:
- Total km traveled – sum of km in the city and highway cycle calculated by Extended Property Calculations
- Driver specific km rate – Extended Property Operation rule finds the proper rate for the driver
- Total settlement payment – multiplying total km traveled and driver specific km rate with Extended Property Calculations
Using the Orchestrator module, the user invokes the rules from Extended Property Calculations and Extended Property Operations and orchestrates the chain of actions. All properties are calculated in one cycle.
Check the value of order and invoice #
A user receives an invoice that is related to an order, and uses the Orchestrator to check if the value on the invoice matches the value of the order. And then, depending on the results from the Orchestrator, the user calls the orchestrated rules in other modules.
- If values are the same, the confirmation is not needed and the invoice is passed to the accounting.
- If the value on the invoice is different that the one on the order, then the invoice goes through the confirmation and an email is sent to the responsible person to confirm the invoice.