Managing the Custom Columns, Groupings, and Custom Mappings Used When Creating Assignments from Project Tasks (Lightning)
You can reference field sets in the Task-Based Resourcing custom setting to control the columns in the Create Assignments from Project Tasks Lightning window. For more information, see Task-Based Resourcing Settings and Creating Assignments from Project Tasks.
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, click Custom Code | Custom Settings and open the Task-Based Resourcing custom setting.
- Click Edit for the relevant field:
- Assignment Groupings: Defines the field set containing the list of fields for grouping project task assignments and assignments that users can select when they click Grouping Criteria for generating assignments:
- If you do not add a field set, the default options of Resource, Resource Role, and Milestone are displayed.
- If you add an empty field set, the default options of Resource, Resource Role, and Milestone are displayed.
- Assignment Columns: Defines the field set used to display custom read-only columns.
- Assignment Editable Columns: Defines the field set used to display custom editable columns. The Assignment Name field is displayed as editable by default.
- Assignment Groupings: Defines the field set containing the list of fields for grouping project task assignments and assignments that users can select when they click Grouping Criteria for generating assignments:
- 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.
Grouping Criteria and Field Sets
The Resource Role, Resource, and Milestone fields on the assignment record are mapped from the default Resource Role, Resource, and Milestone fields on project task assignments:
- If you are using the above fields to group assignments, they are shown in read-only columns in the table, even if they are in the editable field set.
- If the Milestone field is not in the editable field set and users remove it from the grouping criteria list then the corresponding Milestone column is removed from the table.
- If the Milestone field is in the editable field set and users remove it from the grouping criteria list then the corresponding Milestone column in the table is editable.
Creating Custom Mappings from Project Task Assignment Fields to Assignment Fields
Click Task-Based Resourcing Mappings in the PSA Custom Mappings section of the PSA Administration page to map additional project task assignment fields to assignment fields.
If a field used in the grouping criteria list has a custom mapping, read-only columns for the corresponding assignment fields are shown in the table.
For information on how to configure custom mappings, see PSA Administration.