QualityOne Vaults let you generate translated copies of finalized HACCP Plans for local factory use. To prepare your Vault for HACCP Translation, you must first follow the steps to configure HACCP Management in your Vault and create a HACCP Plan Design to copy and translate.
HACCP Translation is available for all languages supported for Vault UI translation. Translated fields must be text fields.
Note: This feature is currently available only to Early Adopters. Contact your Veeva Representative for more details.
HACCP Translation Terminology
This article uses the following terminology to refer to HACCP Translation concepts:
- HACCP Plan Design: A model HACCP Plan that can be translated for local factory use.
- Master data object: A library object in the HACCP data model that defines generic reference data used to create transactional data records across multiple HACCP Plans. For instance, users can create HACCP Plan Process Steps using predefined Process Steps.
- Transactional data object: An object in the HACCP data model that stores data for specific HACCP Plans. For instance, HACCP Plan Process Steps represent steps in a specific HACCP Plan.
- Translation companion object: An object that corresponds to a master data object and that stores translated copies of transactional or master data.
- Translation copy: A translated copy of an approved model HACCP Plan Design that factories can then copy for local use.
HACCP Translation Standard Master Data Objects
QualityOne uses the following core objects and object types to support HACCP Translation:
- HACCP Translation Generation (
haccp_translation_generation__v
): This object stores information about a translation copy of a HACCP Plan. - Critical Control Translation (
ccp_library_translation__v
): This object stores the translation of CCP Library reference records.- Control Measure (
control_measure__v
): This Critical Control Translation object type stores the translation of Control Measures. - CCP (
ccp__v
): This Critical Control Translation object type stores the translation of CCPs. - OPRP (
oprp__v
): This Critical Control Translation object type stores the translation of OPRPs. - Prerequisite Program (
prerequisite_program__v
): This Critical Control Translation object type stores the translation of Prerequisite Programs.
- Control Measure (
- Detectability Translation (
detectability_translation__v
): This object stores the translation of Detectability reference records.- Qualitative Detectability (
qualitative_detectability__v
): This Detectability Translation object type stores the translation of Qualitative Detectabilities. - Quantitative Detectability (
quantitative_detectability__v
): This Detectability Translation object type stores the translation of Quantitative Detectabilities.
- Qualitative Detectability (
- Formulation Translation (
formulation_translation__v
): This object stores the translation of Formulation reference records. - Hazard Translation (
hazard_translation__v
): This object stores the translation of Hazard reference records. - Occurrence Translation (
occurrence_translation__v
): This object stores the translation of Occurrence reference records.- Qualitative Occurrence (
occurrence_qualitative__v
): This Occurrence Translation object type stores the translation of Qualitative Occurrences. - Quantitative Occurrence (
occurrence_quantitative__v
): This Occurrence Translation object type stores the translation of Quantitative Occurrences.
- Qualitative Occurrence (
- Process Step Translation (
process_step_translation__v
): This object stores the translation of Process Step reference records.- Connector (
diagram_connector__v
): This Process Step object type stores the translation of Connectors. - Logistics Step (
logistics_step__v
): This Process Step object type stores the translation of Logistics Steps. - Material Step (
material_step__v
): This Process Step object type stores the translation of Material Steps. - Process Step (
process_step__v
): This Process Step object type stores the translation of Process Steps.
- Connector (
- Risk Level Translation (
risk_level_translation__v
): This object stores the translation of Risk Level reference records. - Risk Matrix Translation (
risk_matrix_translation__v
): This object stores the translation of Risk Matrix reference records.- Risk Matrix - Qualitative (
risk_matrix_qualitative__v
): This Risk Matrix Translation object type stores the translation of Risk Matrix - Qualitative type Risk Matrix records. - Risk Matrix - Quantitative (
risk_matrix_quantitative__v
): This Risk Matrix Translation object type stores the translation of Risk Matrix - Quantitative type Risk Matrix records.
- Risk Matrix - Qualitative (
In addition to the standard master data objects listed above, you can configure custom master data objects to include in translation copy actions and translated field displays.
Configuration Overview
Configuring your Vault to use HACCP Translation involves the following steps:
- Add the translation generation actions to the HACCP Plan object
- Optional: Define custom master data objects
- Optional: Configure custom copy objects
- Configure translated fields to display in the Details section of object records
- Configure translated fields to display in related object sections
- Configure translated fields on the HACCP Flow Diagram
- Configure translated field criteria
- Configure user permissions
Note: Depending on your Vault’s creation date and which features are currently enabled and configured, some of the steps described in this article may be unavailable or already complete in your Vault.
Configuring Translation Generation User Actions
Add the following record actions to the HACCP Plan object and as user actions on the relevant HACCP Plan Lifecycle states to make them available on HACCP Plan records:
- Generate Translation Copy
- Export Translatable Fields
- Import Translatable Fields
Defining Custom Master Data Objects
If your organization uses custom master data objects in HACCP Plans, you must configure these objects for translation by creating HACCP Master Data Object records. When you create a HACCP Master Data Object record, Vault creates a translation companion object to store translated data for the custom object.
To create a HACCP Master Data Object record:
- Navigate to Admin > Configuration > Application Configurations > Component Setup > HACCP Master Data Objects.
- Click Create.
- Enter a Name.
- Select a Master Data Object.
- Optional: Enter a Parent Object Reference. This value must be a field on the master data object that refers to another existing master data object.
- Leave the Translation Companion Object field blank and click Save.
Configuring Custom Copy Objects
The HACCP Plan Copy Object component specifies which transactional data records are copied when the Create HACCP Plan from Design, Create HACCP Plan Design from Design, and Generate Translation Copy actions run.
The pre-configured HACCP Plan Copy Object records in your Vault cover the standard transactional data objects. You can create HACCP Plan Copy Object records to include additional custom objects in the deep copy actions, or modify existing records as needed.
To create a new HACCP Plan Copy Object:
- Navigate to Admin > Configuration > Application Configurations > Component Setup > HACCP Plan Copy Objects.
- Click Create.
- Optional: Enter a Label.
- Enter a Name.
- Select an Object.
- Enter a Reference Field in the following format:
Field.{object_name__v}
. - Optional: Enter a Join Field.
- Optional: Enter a Self Reference Field.
- Enter a Create Order. This value must be unique across HACCP Plan Copy Objects.
- Enter a Create Stage. The Create Stage must match the Create Order.
- Click Save.
- Optional: To configure Vault to copy field data stored in the copy object during deep copy, click Create under the HACCP Plan Copy Object Fields section.
- Enter a Name.
- Enter a Field in the following format:
{object_name__v}
. - Set the Copy Behaviour to SWAP_VALUE.
- Click Save.
Configuring Translated Fields to Display in Details Sections
You can configure fields in the Details section of object records to display translated field data. The Translated Field control field is available on the object layout for the following objects:
- HACCP Plan Process Step
- HACCP Hazard Control
- Process Hazard Analysis
- CCP-Hazard Analysis
Object reference fields configured on the target object that refer to translation companion objects are available for configuration.
To display translated field data in the Details section of records:
- Navigate to Admin > Configuration > Object Setup > Objects > [Target Object] > Layouts.
- Click on the layout on which you wish to display translated field data.
- Under Details, click Add (+).
- Select the Translated Field control field with the slider () icon.
- In the Add Translated Field dialog, select the Field to Translate. Object reference fields configured on the target object that refer to translation companion objects are available to select.
- Click Save.
Configuring Translated Fields to Display in Related Object Sections
You can display translated field data from standard and custom master data objects in related object sections on HACCP Plan, Process Hazard Analysis, and Ingredient Hazard Analysis records. This display requires configuring HACCP App Controls for Related Section component records. When configured, translated fields display in a column of the related object section.
The object for which you are configuring the HACCP App Controls for Related Section must have a translation companion object. The fields you wish to display in the related object section must exist on both the related object and its translation companion object. You must configure a HACCP App Controls for Related Section record for each related object section that displays translated field data.
The following objects are configurable as translated related object sections:
- HACCP Hazard Control
- HACCP Plan Process Step
- Process Hazard Analysis
- CCP-Hazard Analysis
Before you start, ensure a related object section is configured on the layout of the object on which you wish to display translated field data in a related object section.
To configure a related object section to display translated field data:
- Navigate to Admin > Configuration > Application Configurations > Component Setup > HACCP App Controls for Related Sections.
- Click Create.
- Enter a Name.
- Select a Related Object.
- Leave the Enable App Control on Section checkbox blank or set to No.
- Click Save.
- Under the HACCP Related Object Translation App Controls section on the newly created HACCP App Controls for Related Section record, click Create.
- Enter a Name.
- Select a Related Object. This value must match the object specified in the parent record.
- Enter a Field in the following format:
Field.{object_name__v}
. - Click Save.
- Create a HACCP Related Object Translation App Controls record for each field you wish to display in the related object section.
- Under the HACCP Related Object Sections header on the HACCP App Controls for Related Section record, click Create.
- Enter a Name.
- Select an Object on which to display the related object section.
- Click Save.
- Click Edit on the original HACCP App Controls for Related Section record.
- Set the Enable App Control on Section checkbox to Yes.
- Click Save.
- Navigate to a HACCP Plan record through Business Admin > HACCP Plans or a HACCP tab.
- Open the Actions menu of the related object section and select Edit Columns.
- Select and add the column for the translation companion object in the Select Columns to Display dialog.
- Click Save.
Displaying Translated Fields on the HACCP Flow Diagram
Vault displays translated field data for all standard master data objects and any configured custom master data objects on the HACCP Flow Diagram’s canvas, Information panel, and record selection dialogs.
Configuring Translated Field Criteria
If you have transactional data objects with reference constraints configured to filter the related records available for field selection, you must create HACCP Translated Field Criteria records to ensure Vault filters the translated records properly.
Before creating a HACCP Translated Field Criteria record, you must create a Lookup field referencing the object relationship that the VQL filtering uses.
To create HACCP Translated Field Criteria:
- Navigate to Admin > Configuration > Application Configurations > Component Setup > HACCP Translated Field Criteria.
- Click Create.
- Enter a Name.
- Select a Transactional Object.
- Enter the Object field using criteria in the following format:
Field.{object_name__v}
. This must be a field on the object for which you are creating the related object section and its translation companion object. - Enter the Criteria for the translated field.
- Click Save.
Configuring User Permissions
To use HACCP Translation, users must have the same permissions on all standard and custom translation companion objects as on their corresponding master data objects.