Commute Miles

The Commute Miles field displays the distance (in miles or kilometers) representing the daily commute of a user from home to the primary work location. This distance is excluded from reimbursable mileage of an expense report.

To enable and use this functionality,ensure these conditions are met:

  • User profile updated

    A value is specified in the Default Commute Miles/Km field on the Application Defaults tab of the user profile.

  • er.commuteMilesOnlyFromUserProfile application parameter value is set to True. When set to true:
    • The commute distance specified in the user profile is used for the Commute Miles field.
    • Set and Clear options are displayed to toggle between blank and the user’s default commute value.
  • er.oneCommuteMilesPerDate application parameter value is set to True. When set to true:
    • One mileage line item with commute miles is allowed per date.
    • Line items are validated when saved. If multiple commute mile entries exist for the same date, value in the commute miles field is cleared or an error is generated.
  • Check At Least One Mileage Line Item Has Commute Miles On Each Date That Has Mileage Line Items In This Expense Report Business Rule is created. This ensures that:
    • At least one mileage line item per date includes commute miles.
    • Submission of expense reports is prevented if commute miles are missing for applicable dates.