---
schema_version: "1"
id: fd61afafe564ce25a142c59227ef1eecafc55670c0dd411963c1588945c466c8
title: Create DMOs for Consumption-Based Data
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/forecasts_consumption_bring_consumption_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.forecasts_consumption_bring_consumption_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 07fb62c3bbb2e9c4a1cbd130bbf0b974169141396abba2aa9f4adaaa4cd906fa
description: The consumption-based data includes details of real usage and estimates of future usage of each product or service that you want to forecast.
products:
  - Sales Cloud
release: "264"
---
# Create DMOs for Consumption-Based Data

The consumption-based data includes details of real usage and estimates of future usage of each product or service that you want to forecast.

### 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: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong> with Sales, and in <strong>Agentforce 1 Sales Edition</strong></td></tr></tbody></table>

You need two DMOs, one for tracking the consumption lifecycle of a product or service line item used by customers and another for tracking customer usage data and other consumption details. For example, to forecast consumption for your computing storage business, create DMOs with the details and fields provided in these tables. See [Create a Custom Data Model Object](https://help.salesforce.com/s/articleView?id=data.c360_a_create_custom_data_model_object.htm&type=5&language=en_US).

Product or Service DMO  
| Details | Values |
| --- | --- |
| Object Label | StorageService |
| Object API Name | StorageService |
| Object Category | Other |

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d29828e126">Field Label</th>
          <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d29828e129">Data Types</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Field Label" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e126 ">OrganizationId</td>

          <td data-label="Data Types" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e129 ">Text</td>

        </tr>
        <tr class="">
          <td data-label="Field Label" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e126 ">Id</td>

          <td data-label="Data Types" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e129 ">Text (Primary Key)</td>

        </tr>
        <tr class="">
          <td data-label="Field Label" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e126 ">Name</td>

          <td data-label="Data Types" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e129 ">Text</td>

        </tr>
        <tr class="">
          <td data-label="Field Label" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e126 ">Account Lookup</td>

          <td data-label="Data Types" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e129 ">Text</td>

        </tr>
        <tr class="">
          <td data-label="Field Label" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e126 ">Owner</td>

          <td data-label="Data Types" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e129 ">Text</td>

        </tr>
        <tr class="">
          <td data-label="Field Label" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e126 ">ContractValue</td>

          <td data-label="Data Types" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e129 ">
            <p>Number or Currency</p>
            <p style="margin-bottom:0;">The data type of this field is the same as that of the field on which you want to
              apply custom adjustments.</p>
          </td>

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

Consumption Data DMO  
| Details | Values |
| --- | --- |
| Object Label | StorageUsage |
| Object API Name | StorageUsage |
| Object Category | Other |

 
| Field Label | Data Types |
| --- | --- |
| OrganizationId | Text |
| Id | Text (Primary Key) |
| Storage Service Lookup | Text |
| Date | DateTime |
| MeterAmount | Number |
| Expected | Number |
| Predicted | Number |

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-sales_pipe_visibility-264-0-0-production-enus/75640128-02d2-4752-84b3-eb077e12fb74/images/icon_note.png)

Note

In your consumption data DMO, make sure that you at least have one field of the DateTime data type and one field of the Number or Currency data type.

## Create and Map DLOs with Consumption-Based DMOs

Create DLOs to begin the flow of the consumption-based data from your data sources. You can create a custom object, use a preexisting object within Salesforce CRM, leverage Amazon S3, or choose other options to establish these DLOs.

You need two DLOs, one for the product or service DMO and another for the consumption details DMO. For the computing storage business example mentioned above, use the information provided in these tables to map DLOs with the respective DMOs. We recommend that you name the fields in DLOs the same as the field names in DMOs for easy mapping. See [Map Data Model Objects](https://help.salesforce.com/s/articleView?id=data.c360_a_map_custom_data_model_objects.htm&type=5&language=en_US).

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small " summary="StorageService">
        <caption>StorageService</caption>
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d29828e381">DMO Fields</th>
            <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d29828e384">Map to the Field That Contains...</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e381 ">Id (Primary Key)</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e384 ">Unique IDs.</td>

          </tr>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e381 ">Name (Name__c)</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e384 ">Names of services.</td>

          </tr>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e381 ">Account</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e384 ">
              <p>Account IDs of services.</p>
              <p style="margin-bottom:0;">The account IDs must match the IDs in the Account object.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e381 ">Owner</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e384 ">
              <p>Owners (user IDs) of services.</p>
              <p style="margin-bottom:0;"> The user IDs must match the IDs in the User object.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e381 ">OrganizationId</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e384 ">
              <p>Use the 18-character organization ID.</p>
              <p>To find it, open Developer
                Console and run this query in Query Editor:</p>
              <p style="margin-bottom:0;"><code>SELECT Id, Name FROM
                  Organization</code></p>
            </td>

          </tr>
        </tbody>
      </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small " summary="StorageUsage">
        <caption>StorageUsage</caption>
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d29828e471">DMO Fields</th>
            <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d29828e474">Map to the Field That Contains...</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e471 ">Id (Primary Key)</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e474 ">Unique Ids.</td>

          </tr>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e471 ">Usecase</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e474 ">
              <p>Service IDs.</p>
              <p style="margin-bottom:0;">The service IDs must match the IDs in the service DMO.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e471 ">MeterDate</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e474 ">The date and time of the consumption.</td>

          </tr>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e471 ">MeterAmount</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e474 ">The amount of the consumption for each use case.</td>

          </tr>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e471 ">Expected</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e474 ">Data of expected consumption for each use case.</td>

          </tr>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e471 ">Predicted</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e474 ">Data of predicted consumption for each use case.</td>

          </tr>
          <tr class="">
            <td data-label="DMO Fields" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e471 ">OrganizationId</td>

            <td data-label="Map to the Field That Contains..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d29828e474 ">
              <p>Use the 18-character organization ID.</p>
              <p>To find it, open Developer
                Console and run this query in Query Editor:</p>
              <p style="margin-bottom:0;"><code>SELECT Id, Name FROM
                  Organization</code></p>
            </td>

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

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-sales_pipe_visibility-264-0-0-production-enus/75640128-02d2-4752-84b3-eb077e12fb74/images/icon_note.png)

Note

The unique ID of any data imported from an external source must be exactly 15 characters.