Compliance Management provides the Formulation Composition Viewer, which allows users to easily visualize a formula’s hierarchical composition, including all compositional components, and quickly check if the constituent chemicals meet regulatory requirements. Users can ensure that the formula is compliant by reviewing compliance data in the viewer, including Qualitative Assessments generated from formulation questionnaire responses, before approving it for use by your organization.

The viewer displays all relevant child Formulations based on the child Formulation Compositions of the parent Formulation. From within the viewer, users can view, create, and update active Qualitative Assessments for each listed Formulation and Regulated Category.

Formulation Composition Viewer Objects

Compliance Management uses the following core objects and object types to support the Formulation Composition Viewer:

  • Formulation (formulation__v): This object represents a formulation and contains information about version, classification (raw material, formula, or substance), and supplier.
  • Formulation Composition (formulation_composition__v): This object creates a many-to-many self-reference to Formulation and represents the composition that makes up a formula.
  • Regulated Category (regulated_category__v): This object represents a registration category for a location, such as “Cosmetic” or “OTC”.
  • Qualitative Assessment (compliance_assessment__v): This object represents the compliance status of a formulation’s regulated category.

Configuration Overview

Configuring your Vault to use the Formulation Composition Viewer involves the following steps:

  1. Map regulated categories
  2. Configure assessment statuses
  3. Configure the Formulation object page layout
  4. Configure the Qualitative Assessment object page layout
  5. Configure Formulation Composition object page layout
  6. Configure user permissions

Mapping Regulated Categories

The Formulation Composition Viewer only displays data from Qualitative Assessments with Regulated Category (Internal Name) values. These values represent internal names such as “TSCA” for the “Toxic Substance Control Act” Regulated Category. The viewer uses these internal names as column headers on the right side of the grid.

You must create internal names and map them to Regulated Categories so that the viewer displays relevant Qualitative Assessments. When users select a Regulated Category on a Qualitative Assessment record, Vault automatically populates the Regulated Category (Internal Name) field based on your mappings. Vault does not allow users to create Qualitative Assessments for unmapped Regulated Categories.

To map Regulated Categories to internal names:

  1. Add appropriate values to the Regulated Category (Internal Name) picklist for all Regulated Categories.
  2. Add the Regulated Category (Internal Name) field to the Regulated Category object page layout.
  3. Populate the Regulated Category (Internal Name) field on all Regulated Categories in your Vault.

You cannot edit any picklist values that are currently referenced in any Qualitative Assessment records.

Configuring Assessment Statuses

The Formulation Composition Viewer displays the status value of active Qualitative Assessments related to the Formulation. When users create Qualitative Assessments, they must select a status value from the Compliance Assessment Status picklist. When Vault generates Qualitative Assessments from imported formulation questionnaire data, the Compliance Assessment Status is automatically assigned based on your pre-defined mappings.

Adding Values to Picklists

You must add values to the following picklists:

  • Compliance Assessment Status: This picklist contains the status values users can assign to Qualitative Assessments. We recommend adding the values “Y”, “N”, “E”, “R”, and “N/A”.
  • Assessment Status Color: This picklist contains the different colors that users can select to specify how Compliance Assessment Status picklist values appear in the Formulation Composition Viewer. See Configuring the Assessment Status Color Picklist for more details.

Configuring the Assessment Status Color Picklist

You can configure the Assessment Status Color picklist to allow users to select specific colors to display Compliance Assessment Status values in the viewer. This allows users to draw special attention to a specific record’s compliance status for a certain category and alert all users of that status. We recommend configuring only a small number of colors to maximize the visual impact of colors displayed in the viewer and help to direct user attention to specific statuses.

  1. Navigate to Business Admin > Picklists > Assessment Status Color.
  2. Click Edit.
  3. In the Picklist values section, type a new color value such as “Red” and press Enter on your keyboard to add the new Picklist Value Label. The new value will also automatically populate the Picklist Value Name field for the new color.
  4. In the Picklist Value Name field for the new color value, replace the automatically populated color value with a six (6) digit hex color code such as “ff0000” for the color red. If you enter an invalid hex color code and a user selects that picklist value on a Qualitative Assessment record, Vault displays that Compliance Assessment Status value in Vault’s default hyperlink color.
  5. Optional: Add additional colors to the picklist.
  6. Click Save.

Vault displays the Compliance Assessment Status in the selected color in the Formulation Composition Viewer for all users. If the Assessment Status Color field is blank, Vault displays that status in Vault’s default hyperlink color for all users.

Configuring the Qualitative Assessment Object Page Layout

You must add the Compliance Assessment Status and Assessment Status Color fields to the Qualitative Assessment object page layout so that users can select a status and color that determines how Vault displays the Compliance Assessment Status value in the viewer.

You must also add the Regulated Category (Internal Name) field to the Qualitative Assessment object page layout. Vault automatically populates this field based on regulated category mapping.

Configuring the Formulation Object Page Layout

You must update the Formulation object page layout so that users can see the Formulation Composition Viewer and add the appropriate child and parent records.

Adding the Formulation Composition Viewer Section

You must add the Formulation Composition Viewer section to the Formulation object page layout so that users see the viewer on a Formulation record’s detail page. To do this:

  1. Navigate to the object page editor for the Formulation object.
  2. Click Add Section and select the Formulation Composition Viewer control section with the slider (Slider Icon) icon.
  3. Optional: Enter a Section Label.
  4. Optional: Enter a Section Name.
  5. Optional: In the Show the section only in these lifecycle states field, select one (1) or more lifecycle states. This option only appears if the object uses a lifecycle.
  6. Optional: Enter Section Help that users will see on Formulation object records.
  7. Optional: Select the Expand the section by default checkbox so that the section is always open when users open Formulation object records.
  8. Optional: Select the Shade hierarchical levels checkbox to help users distinguish hierarchical levels when they open the viewer.
  9. Optional: Select the Highlight row on hover checkbox to help users distinguish the relevant column values for a Formulation when they hover on a specific row.
  10. Optional: For Grid Columns (Formulation Compositions), select up to 20 Formulation Composition fields to display on the left side of the grid. The Formulation Name field must be the first column. This side of the grid only supports certain fields. Drag and drop the fields to determine the order the columns display to users.
  11. Optional: For Freeze Grid Columns (Formulation Compositions), select how many columns to display on the left side of the grid while users scroll horizontally based on the order you arranged the fields.
  12. Optional: For Grid Columns (Regulated Categories), select up to 15 Regulated Categories to display as headers on the right side of the grid. The viewer will display Compliance Assessment Status picklist values for the applicable active Qualitative Assessment records in these columns. If you don’t add any fields, the users cannot view or update Compliance Assessment Statuses in the viewer. Drag and drop the fields to determine the order the columns display to users.
  13. Optional: Enter VQL Criteria to constrain the Formulation records shown in the viewer based on fields on the Formulation Composition object. For example, to display only Formulations related to Formulation Compositions classified as “Raw Materials”, enter formulation_classification__c = 'raw_material__c'. This field does not support IN and LIKE operators or relationships (__vr or __cr).
  14. Click Done.
  15. Optional: Add additional Formulation Composition Viewer sections to the page layout if you want to display different composition criteria within a single Formulation record. For example, one (1) viewer section to display composition inventory status and another to display composition certifications. You can add up to five (5) viewers to an object’s page layout.
  16. Click Save when you are finished updating the Formulation page layout.

Supported Fields

Vault supports the following object field types in the Grid Columns (Formulation Compositions) field:

  • Name
  • Number
  • Object
  • Object Type
  • Picklist
  • Text
  • Yes/No
  • Lookup (so long as the type is a supported type listed above)
  • Formula (so long as the return type is a supported type listed above)

You must add two (2) related object sections for the Formulation Composition object to the Formulation object page layout. We recommend labeling the sections “Parent Compositions” and “Child Compositions” so that users can easily add and create relevant related records. When users add child Formulation Compositions to a parent Formulation record, Vault automatically includes the appropriate child Formulation records in the Formulation Composition Viewer on the parent Formulation.

Configuring the Formulation Composition Object Page Layout

You must add all fields you included in the Grid Columns (Formulation Compositions) field in the Formulation Composition Viewer section to the Formulation Composition object page layout. The viewer displays these object fields as columns on the left side of the grid.

We recommend adding the Formulation Name field to the page layout. When users add child Formulation Compositions to a parent Formulation, Vault automatically populates this field with the Title of the Formulation users select for the Child field.

Limitations

If you plan to configure formulation questionnaire data import, do not use a lifecycle on the Qualitative Assessment object.

Configuring User Permissions

You must ensure users have the appropriate read and create permissions to access the appropriate objects and object fields in addition to the following permissions:

  • For the Qualitative Assessment object:
    • Delete permission.
    • Edit permission on the Assessment Status Color and Compliance Assessment Status fields.
  • For the Formulation object: Read permission.
  • For the Formulation Composition object:
    • Read permission, including Read permission on the Formulation Name field.
    • Edit permission on any fields included in the Grid Columns (Formulation Compositions) field on the Formulation Composition Viewer section on the Formulation object.
  • For the Regulated Category object: Read permission, including Read permission on the Regulated Category (Internal Name) field.
  • If your Vault utilizes Atomic Security on fields, users must also have Edit permission on the appropriate lifecycle states for the applicable fields.

You can complete all the steps in this article with the standard System Administrator or Vault Owner security profile. If your Vault uses custom security profiles, your profile must grant the following permissions:

Type Permission Controls
Security Profile Admin: Configuration: Picklists: Edit Ability to modify picklist values.
Security Profile Admin: Configuration: Objects: Create, Edit Ability to create and modify Vault objects.
Security Profile Admin: Security: Permission Sets: Edit Ability to modify permission sets for users.