# Working with HACCP Plans (HACCP)

<a href="/en/gr/576286/">QualityOne Vaults</a>
 allow you to establish and maintain safe food production practices efficiently by modernizing your organization's HACCP (Hazard Analysis Critical Control Points) plans. You can create HACCP plans in your Vault to describe the manufacturing process for a product using predefined data, and easily copy and adapt finalized HACCP plans for regional and local factory use, saving time and ensuring consistency in food safety practices.

Depending on your <a href="/en/gr/492247/">Admin's configuration</a>
, object, field, and section labels may appear differently than the labels mentioned in this article.

## HACCP Plan Process Overview {#overview}

The general process of working with HACCP plans involves the following steps:

* Assemble a cross-functional HACCP <a href="/en/gr/70759/">team</a>

* [Create and maintain HACCP reference records][7]
* [Create an initial _HACCP Plan Design_][1] that describes each step and ingredient in the manufacturing process for a product
* [Verify the design on the HACCP Flow Diagram and perform hazard analysis][16] for the ingredients and process steps in the HACCP plan
* [Copy and distribute the finished _HACCP Plan Design_][2]
* [Create translated _HACCP Plans_ for local factory use][17]
* [Display and update the _HACCP Plan_ using the HACCP Flow Diagram][6]

## Creating & Maintaining HACCP Reference Records {#reference}

You can define reference data to transfer to related records in a _HACCP Plan_. Ensure you create and maintain the following reference records as part of your organization's regular operations:

* _Action Item_
* _CCP Library_
* _Detectability_
* _Formulation_
* _Formulation Composition_
* _Hazard_
* _Material_
* _Material-Process_
* _Occurrence_
* _Process_
* _Process Step_
* _Process Step Connection_
* _Risk Level_
* _Risk Matrix_
* _Severity_

## Creating a HACCP Plan Design {#create-design}

You can create a master design for a HACCP plan that can then be [copied and customized][2] to suit the needs of different regions or individual factories.

To create a _HACCP Plan Design_:

1. Navigate to **Business Admin > Objects > HACCP Plans** or to a custom tab.
2. Click **Create**.
3. Select the **HACCP Plan Design** type and click **Continue**.
4. Enter a **Name**.
5. Optional: Enter a **Description** and **Title**.
6. Select a **Process**.
7. Select a **Facility**.
8. Select a **Language**.
9.  Select a **HACCP System Standard**.
10. Select a value for **Is FSMA Food Safety Plan?** If you select _Yes_, Vault displays fields for a HARPC (Hazard Analysis and Risk-Based Preventive Controls) plan during <a href="/en/gr/726017/">hazard analysis</a>
. If you select _No_ or leave this field blank, Vault saves the value as _No_ and displays fields for a HACCP plan during hazard analysis. You cannot edit this field value after saving the record.
11. Click **Save**.

After you've created your _HACCP Plan Design_, you must add various related records to the design. These records are specific to a single _HACCP Plan_ but can draw on information in [reference records][7]. Users can [deep copy][2] the finalized _HACCP Plan Design_, including all related records, to a new _HACCP Plan Design_ or _HACCP Plan_.

You must create the following records to form the foundation of your _HACCP Plan Design_:

* [_HACCP Plan - Material_][18]
* [_HACCP Plan Process Step_][9]
* [_HACCP Plan Process Step Connection_][10]
* [_HACCP Plan Ingredient_][8]
* [_HACCP Plan Process Step Group_][12]

Once you've created an initial _HACCP Plan Design_ record, you can create the above records from the HACCP Flow Diagram, excluding _HACCP Plan Process Step Groups_ and _HACCP Plan - Materials_. See <a href="/en/gr/628565/">Working with the HACCP Flow Diagram</a>
 for more information.

### How to Create HACCP Plan - Materials {#materials}

To create _HACCP Plan - Materials_:

1. Navigate to the _HACCP Plan Materials_ section of a _HACCP Plan_.
2. Depending on your Vault's configuration, click **Create** or **Add** and do one of the following:
   * After clicking **Create**, enter all required information then click **Save**, or click **Save + Create** to create another _HACCP Plan - Material_ record. Repeat until all relevant materials are added to the _HACCP Plan_.
   * After clicking **Add**, select **Materials** in the dialog to add them to the _HACCP Plan_. Deselect **Materials** to remove them. When you're finished, click **Save**.

### How to Create HACCP Plan Process Steps {#process-steps}

To create a _HACCP Plan Process Step_:

1. Navigate to the _HACCP Plan Process Step_ section of a _HACCP Plan_.
2. Click **Create**.
3. Select the **HACCP Plan Process Step Type**:
 * **Process Step**: Signifies a regular processing step.
 * **Material Step**: Process step that introduces a raw material, such as an auxiliary material or the receipt of a raw material.
 * **Logistics Step**: Process step that involves distribution or storage of raw material.
 * **Connector**: Indicates the start or end of a process flow, or a step used to connect two flows or modular HACCP Plans together.
4. Enter a **Name**.
5. Select a **Step Type**.
6. Optional: Enter a **Description**.
7. Optional: Select a **Process Step** from the library.
8. Optional: Select a **Hazard Analysis Complete** value.
9. Optional: Select a **Hazard Analysis Complete Reason** value.
10. Select a **CCP** or **OPRP** label, if applicable. 
 * CCP (Critical Control Point) and OPRP (Operational Prerequisite Program) steps are marked clearly on the <a href="/en/gr/628565/#ccp-display">HACCP Flow Diagram</a>
.
11. Click **Save**, or to create another _HACCP Plan Process Step_, click **Save + Create**.

You can also <a href="/en/gr/628565/#edit-steps">create and edit _HACCP Plan Process Steps_ using the HACCP Flow Diagram</a>
. After creating your _HACCP Plan Ingredients_ and _HACCP Plan Process Steps_, you can use the _Ingredient Involved_ object to specify the ingredients used in each process step in your HACCP plan.

### How to Create HACCP Plan Process Step Connections {#step-connections}

After you've created _HACCP Plan Process Steps_, you can connect them using _HACCP Plan Process Step Connections_. To create a _HACCP Plan Process Step Connection_:

1. Navigate to **Business Admin > Objects > HACCP Plan Process Step Connections**.
2. Click **Create**.
3. Select an **Input Step**. This is the step preceding the connection.
4. Select an **Output Step**. This is the step following the connection.
5. Click **Save**, or to create another _HACCP Plan Process Step Connection_, click **Save + Create**.

You can also <a href="/en/gr/628565/#edit-connections">create and edit _HACCP Plan Process Step Connections_ using the HACCP Flow Diagram</a>
.

### How to Create HACCP Plan Ingredients {#ingredients}

To create a _HACCP Plan Ingredient_:

1. Navigate to the _HACCP Plan Ingredient_ section of a _HACCP Plan_.
2. Click **Create**.
3. Enter a **Name**.
4. Enter a **Description** and **Formulation**, if applicable.
5. Click **Save**, or to create another _HACCP Plan Ingredient_, click **Save + Create**.

After creating your _HACCP Plan Ingredients_ and _HACCP Plan Process Steps_, you can create _Ingredient Involved_ records to join _HACCP Plan Process Steps_ with _HACCP Plan Ingredients_ to specify which ingredients are used in each _Material_ process step in your _HACCP Plan_.

You can also <a href="/en/gr/628565/#edit-steps">create and add _HACCP Plan Ingredients_ to a _HACCP Plan Process Step_ using the HACCP Flow Diagram</a>
.

### How to Create HACCP Plan Process Step Groups {#process-step-groups}

To create a _HACCP Plan Process Step Group_:

1. Navigate to **Business Admin > Objects > HACCP Plan Process Step Groups** or to the **HACCP Plan Process Step Groups** section of a _HACCP Plan_ or _HACCP Plan Process Step_ record.
2. Click **Create**.
3. Select the **HACCP Plan**.
4. Optional: Enter a **Description**.
5. Optional: Select a **Copy Source**.
6. Optional: Select a **Hazard Analysis Complete** value.
7. Optional: Select a **Hazard Analysis Complete Reason** value.
8. Click **Save**, or to create another _HACCP Plan Process Step Group_, click **Save + Create**.

To add _HACCP Plan Process Steps_ to your _HACCP Plan Process Step Group_, navigate to the _HACCP Plan Process Steps_ section of a _HACCP Plan Process Step Group_ record and click **Add** to open a dialog in which you can select an existing process step or create a new one. _HACCP Plan Process Steps_ must belong to the same _HACCP Plan_ as the _HACCP Plan Process Step Group_ to which you add them. _HACCP Plan Process Step Groups_ without any process steps are not displayed on the HACCP Flow Diagram.

You can also <a href="/en/gr/628565/#edit-groups">create and manage groups using the HACCP Flow Diagram</a>
.

## Verifying a HACCP Plan & Performing Hazard Analysis {#verify}

After creating the foundation of your _HACCP Plan_ by creating process steps, ingredients, groups, and connections as needed, you can verify your plan by viewing and updating it using the <a href="/en/gr/628565/">HACCP Flow Diagram</a>
. 

Once your plan is verified, you can <a href="/en/gr/726017/">perform hazard analysis</a>
 to assess the risks of the hazards in your plan and create records that specify how you will control the significant hazards. Update the _Hazard Analysis Complete_ and _Hazard Analysis Complete Reason_ field values on process steps and process step groups as needed to reflect their <a href="/en/gr/726017/#completeness">hazard analysis completeness status</a>
.

After you perform these steps, your _HACCP Plan_ is ready to [copy][2] and distribute.

## Deep Copying an Existing HACCP Plan Design {#deep-copy}

You can save time and effort starting a new _HACCP Plan_ or _HACCP Plan Design_ by copying field data from an existing _HACCP Plan Design_ and its related records using the _Create HACCP Plan Design from Design_ and _Create HACCP Plan from Design_ actions. The <a href="/en/gr/32218/">_Copy Record_</a>
 action duplicates a single record (referred to as "shallow" copying), whereas these actions copy the source hierarchy of a _HACCP Plan Design_ and its related records (referred to as "deep" copying) by cloning the _HACCP Plan Design_ record along with the following related records:

* _Action Item_
* _CCP-Hazard Analysis_
* _HACCP Hazard Control_
* _HACCP Plan Ingredient_
* _HACCP Plan - Material_
* _HACCP Plan Process Step_
* _HACCP Plan Process Step Connection_
* _HACCP Plan Process Step Group_
* _HACCP Plan Process Step Position_
* _HACCP Process Modification_
* _HPPS - PHA_
* _HPPSC Position_
* _HPPSG - HPPS_
* _Ingredient Hazard Analysis_
* _Ingredient Involved_
* _PHA - HHC_
* _PHA - Subsequent Step_
* _Process Hazard Analysis_
* _Process Hazard Analysis - Hazard_
* _PRP/CM - Hazard Analysis_

You can pre-define data in a _HACCP Plan Design_ and use the following actions to deep copy the design according to your business needs:

* _Create HACCP Plan Design from Design_: This action creates a new _HACCP Plan Design_ record and related records by copying an existing _HACCP Plan Design_ record and its related records. You can use this action to make variations of a master _HACCP Plan Design_, for instance to address regional process differences.
* _Create HACCP Plan from Design_: This action creates a new _HACCP Plan_ record and related records by copying an existing _HACCP Plan Design_ record and its related records. You can use this action to create a _HACCP Plan_ for a specific manufacturing facility by copying the guidelines provided by the _HACCP Plan Design_.

As an example, an R&D (research and development) team must define and distribute HACCP plan designs that manufacturers in various regions will use. First, the R&D team creates a _HACCP Plan Design_ for a specific manufacturing process for use by various manufacturing sites. Then, for similar manufacturing processes with slight regional differences, the team runs the _Create HACCP Plan Design from Design_ action on the initial _HACCP Plan Design_ record to copy the design to a new _HACCP Plan Design_ record and related records. After each copy is successful, regional manufacturers can customize the copied _HACCP Plan Designs_ to reflect regional manufacturing processes.

Meanwhile, an individual manufacturing site requires a _HACCP Plan_ to start tracking their food production safety measures. The manufacturing site runs the _Create HACCP Plan from Design_ action on the applicable _HACCP Plan Design_ record for its region to copy the details to a new _HACCP Plan_ record and related records.

#### About Comparison IDs {#about-comparison-ids}

When you copy a _HACCP Plan_, Vault stores the unique system ID of the originating _HACCP Plan_ in the system-managed _Comparison ID_ field on the [objects included in the deep copy action][2], excluding some join objects. Subsequent copies of the _HACCP Plan_ reference this same ID. In contrast, Vault sets the _Source HACCP Plan_ field value on _HACCP Plan_ object records to reference only the most recent _HACCP Plan_ from which the copy was made; Vault clears this field value if the source _HACCP Plan_ is deleted.

For instance, an R&D team creates a HACCP plan design, _HACCP Plan A_, and copies it to create _HACCP Plan B_ to account for regional differences in HACCP practices. Next, a local factory copies _HACCP Plan B_ to create their own HACCP plan, _HACCP Plan C_. The newly created _HACCP Plan C_ has the unique _Comparison ID_ value of the originating _HACCP Plan A_, and a _Source HACCP Plan_ value of _HACCP Plan B_.

### How to Copy an Existing HACCP Plan Design {#copy-plan}

When configured by your Admin, you can copy existing [_HACCP Plan Designs_][1] and _HACCP Plans_ through a lifecycle state change or a user action on a _HACCP Plan_ record.

To copy an existing _HACCP Plan Design_:

1. Navigate to the appropriate _HACCP Plan_.
2. Select **Create HACCP Plan Design from Design** or **Create HACCP Plan from Design** from the **All Actions** menu.
3. In the dialog, enter a **Name**.
4. Optional: Enter a **Title**, **External ID**, and **Unique Field**.
5. Click **Save**.

When the copy is complete, you'll receive a notification that the _HACCP Plan_ is created with a link to the new record or if it fails because of an error.

<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: Vault cannot copy a <em>HACCP Plan</em> record if the total number of related records to copy exceeds 4,000.</p>
    </div>
  </div>
</div>



## Translating a HACCP Plan {#translate}

Once your _HACCP Plan Design_ is finalized, you can generate translated copies for factory users in their local language. Learn more about <a href="/en/gr/771989/">Translating HACCP Plans</a>
.

## Working with the HACCP Flow Diagram {#flow-diagram}

The HACCP Flow Diagram lets you view and update your _HACCP Plan_ in an easy-to-use visual interface. See <a href="/en/gr/628565/">Working with the HACCP Flow Diagram</a>
 for more details.

## Limitations {#limitations}

The following limitations affect HACCP plans:

* The _Create HACCP Plan Design from Design_ and _Create HACCP Plan from Design_ actions cannot copy _HACCP Plans_ that have more than 4,000 related records.
* The _Create HACCP Plan Design from Design_ and _Create HACCP Plan from Design_ actions do not copy values stored in <a href="/en/gr/15057/#attachment-fields">_Attachment_ fields</a>
.
* You cannot associate a _HACCP Plan Process Step_ with more than ten _HACCP Plan Process Step Groups_.
* The number of _Materials_ associated with a _HACCP Plan_ from the _HACCP Plan Materials_ section cannot exceed 1,000.

[1]: #create-design
[2]: #deep-copy
[3]: #populate-plan 
[4]: #create-from-design 
[5]: #populate 
[6]: #flow-diagram
[7]: #reference
[8]: #ingredients
[9]: #process-steps
[10]: #step-connections
[11]: #hazard-analysis
[12]: #process-step-groups
[13]: #pha
[14]: #iha
[15]: #ccp
[16]: #verify
[17]: #translate
[18]: #materials