---
schema_version: "1"
id: 4b3485ce44ce2c7007de503ad7dada9bf5fb3be3b1fbcabcdf266c0945dc92b9
title: Associate Records with Dealer Branches in Automotive Cloud
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/auto_user_rab.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.auto_user_rab.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 99071595d5913b3718fb2aef37b3d65c0d7e9ccdf44f70f90741099de507bc96
description: Define association criteria to automatically create or update records such as leads, cases, accounts, or contacts, and link them to branch units in your company. Branch unit members don’t need to manually assign customer records to their branch because the criteria evaluates create and update events and enables automatic association. For example, you can create a criteria to create qualified leads, or a criteria to update opportunity records when they get closed. You can view the new and updated records on the Branch Unit Related Records related list on a branch unit record.
products:
  - Automotive
release: "264"
---
# Associate Records with Dealer Branches in Automotive Cloud

Define association criteria to automatically create or update records such as leads, cases, accounts, or contacts, and link them to branch units in your company. Branch unit members don’t need to manually assign customer records to their branch because the criteria evaluates create and update events and enables automatic association. For example, you can create a criteria to create qualified leads, or a criteria to update opportunity records when they get closed. You can view the new and updated records on the Branch Unit Related Records related list on a branch unit record.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d145667e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d145667e63 ">To create association criteria:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d145667e63 ">Automotive Foundation User permission set</td>

          </tr>
        </tbody>
      </table>

1. From Setup, in the Quick Find box, enter Association, and then select **Record Association Builder**.
2. Click **New Criteria**.
3. On the New Criteria page, enter a name.
    
    The API Name field value is filled in automatically.
4. For Association Type, select **BranchManagement**.
5. Add a description if needed.
    
    A description can be helpful for differentiating criteria that are based on similar events or formulas.
6. For Reference Object, select an object such as Account, Lead, or any custom object.
7. For Event Type, select **Create** or **Update**.
8. Specify a formula in the Precondition formula field.
    
    For example, to update opportunities when the stage changes to closed won, enter ISPICKVAL(\[Opportunity\].Stage, "ClosedWon")
9. Keep the **Use an alternate owner ID** checkbox unchecked to use the default Owner ID field when making associations.
10. If the Reference Object you selected doesn’t include an Owner ID field, or if you want to use a different ID field:
    1. Click **Use an alternate owner ID**.
    2. Click the search box.
    3. In the Select a Field window use the filter control to find and select the ID field to use.
    4. Click **Choose** to select that field.
11. Select Active when you’re ready to enable automatic associations whenever this criteria is met.
12. Click **Save**.