Using Custom Columns When Creating Resource Requests from Project Tasks (Lightning)
You can reference field sets in the Task-Based Resourcing custom setting to control the columns in the Create Resource Requests from Project Tasks Lightning window.
To create a field set that contains the fields that you want to use:
- From Setup, open Object Manager, and then open the Project Task Assignment object.
- Select Field Sets, and then click New.
- Enter the details, and then click Save.
- Add the relevant fields to the list, and then click Save.
To add the name of this field set to the custom setting:
- From Setup, open the Task-Based Resourcing custom setting.
- Click Edit for the relevant field:
- Resource Request Groupings: Defines the field set used to group the list of fields for grouping project task assignments that users can select from when they click Grouping Criteria:
- If you do not add a field set, the options of Resource Role, Resource, External Resource, and Milestone are displayed.
- If you add an empty field set, only the option of Resource Role is displayed in the list.
- Resource Request Columns: Defines the field set used to display custom read-only columns. Your columns are added between the existing columns and the Notes column. Only values in the following columns are populated if added to the field set:
Region
Practice
Group
Currency
Opportunity
Average Cost Rate Number
Average Cost Rate Currency Code
Suggested Bill Rate Number
Suggested Bill Rate Currency Code
- Resource Request Editable Columns: Defines the field set used to display custom editable columns. Your columns are added between the read-only columns and the Notes column. The following core fields are displayed by default, but are editable if added to the field set:
Start Date
End Date
Requested Hours
Notes
- Resource Request Groupings: Defines the field set used to group the list of fields for grouping project task assignments that users can select from when they click Grouping Criteria:
- In the field, add the API name of the field set that you created.
- Click Save.
For information about how to maintain field sets, see the Salesforce Help.
Column Ordering
When you use your custom field set in the custom setting fields detailed in the procedure above, the column order from left to right is:
- Core fields, excluding Notes: These are editable if they are also in the editable field set.
- Fields in the read-only field set: These are editable if they are also in the editable field set.
- Fields in the editable field set.
- Notes: This is editable if it is also in the editable field set.
Grouping Criteria and Field Sets
The default Resource Role, Resource and Milestone fields are mapped from project task assignments. If you are using these to group resource requests, the corresponding Resource Role, Suggested Resource or Milestone fields are shown in read-only columns in the table, even if they are in the editable field set.
If users remove any of these fields from the grouping criteria list and they are not in the editable field set, the corresponding Resource Role, Suggested Resource or Milestone column is removed from the table.
If users remove any of these fields from the grouping criteria list and they are in the editable field set, they are shown in the table in an editable column.