Adding a mileage rate javascript

JavaScript is used to override a line item's mileage rate or amount.

  1. Click the Data tab.
  2. Select Mileage Rate JavaScript and click Show Tab. The Mileage Rate JavaScript screen is displayed.
  3. Click New. The Search for Mileage Rate JavaScript / New Mileage Rate JavaScript screen is displayed.
  4. 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.
  5. Specify this information in the Additional Information panel:
    Description
    The description of the mileage rate javascript.
  6. Click Save to add a mileage rate javascript and save the data.