Expense Entry Lightning Component Properties

This table lists the fields available in the properties pane of the Lightning App Builder for the Expense Entry Lightning component.

Field

Description

Default Value

Allow Assignments

If selected, you are allowed to create an expense with an assignment.

True

Allow Milestones

If selected, you are allowed to create an expense with a milestone.

False

Show Reimbursement Information Section

Displays the Reimbursement Information section when creating, editing, or viewing an Expense.

False

Show Billable Information Section

Displays the Billable Information section when creating, editing, or viewing an Expense.

False

Editable Field Set API Name

The field set that contains the custom editable fields are displayed in the component.

ExpenseHeaderRowEditableColumns

Read-Only Field Set API Name

The field set that contains the custom read-only fields are displayed in the component.

ExpenseHeaderRowReadOnlyColumns

Editable Additional Information Section Field Set API Name

Specify the API name of the field set associated with the editable fields to be included in the additional fields area.

False

Read-Only Additional Information Section Field Set API Name

Specify the API name of the field set associated with the read-only fields to be included in the additional fields area.

False

Enabling Dependent Picklists

You can enable support for dependent picklists by editing the field sets on the Expense object. To do this you must first add your custom fields to the object. These fields serve as the controlling or dependent fields for your picklists.

Note:

Picklists can only be dependent on custom fields. This means that for one custom field to determine the values or options of another, both must be custom fields.

The order in which custom fields appear in the Lightning component depends on the sequence in which they are added.

If a dependent field has an option that becomes invalid due to a change in the controlling field, that choice will be reset or cleared.

To enable dependent picklists perform the following steps:

  1. From Setup, navigate to Object Manager | Expense.
  2. Click Field Dependencies.
  3. Define any required dependencies between your controlling and dependent custom fields.
  4. Add your custom fields to the field set to which you want to add dependent picklists.
  5. Your picklist options are displayed on the component.