---
schema_version: "1"
id: 2bece96c31a580a35a99e6190f002fe5ed9582d9cee8f43f8993fc83262e8743
title: Create Object Level Rules
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_create_object_level_rules.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_create_object_level_rules.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 15f2975688b4832d18d7cec244acc6a57ad4189aab2ed0a8dfd759efd9a8379c
description: Object level rules are used by the ContractTerminiationService interface to assign penalty rules for contracts.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Create Object Level Rules

Object level rules are used by the ContractTerminiationService interface to assign penalty rules for contracts.

For more information on penalty rules for contracts, see [Penalty Rules for Contracts](https://help.salesforce.com/s/articleView?id=ind.comms_penalty_rules_for_contracts.htm&release=264.0.0&type=5 "To apply a penalty charge when an asset that is covered by an active contract is deleted or disconnected using Industries Cart, define a penalty rule. The contractual asset must be a root asset and not a child asset.").

1. In Vlocity Product Console under Rules next to Object Level Rule, click the create icon.
2. In the **New Object Level Rule** dialog, enter the following information.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col>
              <col>
              <col>
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d156695e64">
                  <p style="margin-bottom:0;">Property</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d156695e70">
                  <p style="margin-bottom:0;">Possible Values</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d156695e76">
                  <p style="margin-bottom:0;">Description</p>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e64 ">
                  <p style="margin-bottom:0;">Name</p>
                </td>

                <td data-label="Possible Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e70 ">
                  <p style="margin-bottom:0;">String value</p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e76 ">
                  <p style="margin-bottom:0;">The name of the object level rule. You cannot use spaces
                    in the name of an object level rule due to requirements from
                    the rules parsing engine.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e64 ">
                  <p style="margin-bottom:0;">Object</p>
                </td>

                <td data-label="Possible Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e70 ">
                  <p style="margin-bottom:0;">
                    <kbd>Contract</kbd>
                  </p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e76 ">
                  <p>The object must be set to
                    <kbd>Contract</kbd> for a penalty rule for
                    contracts.
                  </p>
                  <p style="margin-bottom:0;">If additional objects display in this
                    list, go to the Object Manager and deactivate those picklist
                    items from the Vlocity Object Rule Assignment
                    <code>ObjectRuleAssignment__c</code> Object
                    <code>vlocity_cmt__Object__c</code> picklist.
                  </p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e64 ">
                  <p style="margin-bottom:0;">Rule</p>
                </td>

                <td data-label="Possible Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e70 ">
                  <p style="margin-bottom:0;">Select a context rule using the <strong class="uicontrol">Vlocity Rule
                      Lookup</strong> dialog.</p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e76 ">
                  <p style="margin-bottom:0;">Lookup dialog that enables you to select any context
                    rule. Although any rule can be selected, be sure to select the
                    desired penalty rule for contract cancellations.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e64 ">
                  <p style="margin-bottom:0;">Active</p>
                </td>

                <td data-label="Possible Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e70 ">
                  <p style="margin-bottom:0;">Click to select</p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e76 ">
                  <p style="margin-bottom:0;">Must set as active to be used at run
                    time.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e64 ">
                  <p style="margin-bottom:0;">Effective Start Date</p>
                </td>

                <td data-label="Possible Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e70 ">
                  <p style="margin-bottom:0;">Select a date</p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e76 ">
                  <p style="margin-bottom:0;">The start date of the period during
                    which the object level rule will be effective.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e64 ">
                  <p style="margin-bottom:0;">Effective End Date</p>
                </td>

                <td data-label="Possible Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e70 ">
                  <p style="margin-bottom:0;">Select a date</p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d156695e76 ">
                  <p style="margin-bottom:0;">The end date of the period during which the object level
                    rule will be effective.</p>
                </td>

              </tr>
            </tbody>
          </table>
3. Click **Save**.