Adding a mileage rate javascript
JavaScript is used to override a line item's mileage rate or amount.
- Click the Data tab.
- Select Mileage Rate JavaScript and click Show Tab. The Mileage Rate JavaScript screen is displayed.
- Click New. The Search for Mileage Rate JavaScript / New Mileage Rate JavaScript screen is displayed.
-
Specify this information in the Primary Information panel:
- Name
- The name of the mileage rate javascript.
- Script
- The JavaScript for the mileage rate. A sample script is displayed in this field.
- Status
- The status of the mileage rate javascript. The status can be Active or Inactive.
-
Specify this information in the Additional Information panel:
- Description
- The description of the mileage rate javascript.
- Click Save to add a mileage rate javascript and save the data.