Symptom
You want to know whether clicking on Submit button in Expense report will Calculate the Total Amount of Expense report without clicking on Calculate button and also why was Calculate button provided in HTML UI.
Reproducing the Issue
- Login as Traveler.
- Go to Travel & Expenses Work center.
- Go to Travel & Expenses View.
- Go to Request Trip Approval tab & then to Claim Travel Expenses.
- Enter the details like Start and End dates, Purpose of Trip.
- Click on Save & Open.
- Add Expense types and enter Amount.
- Click on Submit.
Resolution
When you click on Submit, the Total Amount will be calculated and the status of the Expense Report will be changed.
Even when you click on Calculate button the Total Amount will be calculated.
Calculate button is provided in order to speed up the performance of the system. If customer has lengthy Configuration of the Approval process, it affects the performance of the tenant. Every time a user selects an Expense type and input an amount, the system will automatically look into the Approval process and matches it to Conditions maintained. So by having the Calculate button, there would be a onetime calculation of the Total Amount and then matches it to the Approval process thus speeds up routing it to the necessary Approvers.
Keywords
KBA , LOD-TEM-ER-EXP , Expense Report Silverlight Client , How To