In the next three steps, you create new views to compliment your Expense Claim forms. The first view is a read-only list of expense claim line items and appears on the approver's and finance processor's forms. The second view is an editable list of expense claim line items and appears on the requester's "new" and "edit" forms. Finally, you create a new item view that contains a single comment box. Both the approver and the finance processor can use this view to enter any questions or comments they have when making their approval decision.
Begin with the read-only list view.
Field | Value |
---|---|
Name | Expense Claim Line Items List |
Description | Read-only list of expense claim line items. |
Category | (leave default value unchanged) |
View Type | List View |
Data Source | Use the browse icon to select the Expense Claim Line Item SmartObject |
List Method | Get List |
Call this method when the form loads | NOT checked |
Field | Value | Notes |
---|---|---|
Name | Expense Claim Line Items List | |
Description | Read-only list of expense claim line items. | |
Category | (leave default value unchanged) | |
View Type | List View | List views display lists of items as opposed to a single item. |
Data Source | Use the browse icon to select the Expense Claim Line Item SmartObject. | This is the SmartBox SmartObject that you created to store the expense claim line items. (Your tree structure may not match the image exactly depending on your site and subsite names.) |
List Method | Get List | This is the default method that populates the list. |
Call this method when the form loads | NOT checked | You do not want the list view to populate automatically whenever it opens. Later, you configure a rule that populates the list view with the requester’s expense claim items. If you don't do this, all of the expense claim items (in the SmartObject) are returned, regardless of the requester. |
In this step, you added a new read-only list view to display expense claim line items. This view appears on the approver's and finance processor's forms. In the next step, you create the editable list view of line items. This view appears on the new and edit forms so the requester can enter, edit, and remove expense claim line items.