---
schema_version: "1"
id: 49a04767353adda5ab7e1dc34730cefb48f8478c7e666e513ec566dc425541cd
title: Set Up System Number Tracked Objects for Offline Sync
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_task_admin_set_up_system_number_tracked_objects.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_set_up_system_number_tracked_objects.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d725b52d323eef8e38720f0f069d93537495e99400b738ee21748105a8d713a4
description: For numbering to work offline, set up the objects as tracked objects, and turn on data download for each one so the device gets its records.
products:
  - Consumer Goods
release: "264"
---
# Set Up System Number Tracked Objects for Offline Sync

For numbering to work offline, set up the objects as tracked objects, and turn on data download for each one so the device gets its records.

### 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 in <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions that have Consumer Goods Cloud enabled.</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="d25405e60">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d25405e60 ">To set up system number tracked objects for offline sync:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d25405e60 ">CGCloud Mobile Sync Admin</td>

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

1. From Setup, in the Quick Find box, enter **Sync Management** and select **Sync Management**.
2. In Sync Management, select **Sync Configuration** and then select **Tracked Objects**.
3. Set up these custom objects as tracked objects, and select **Data Download** for each:
    
     
    | Object | Why it must be available on the device |
    | --- | --- |
    | System Number | The definition. The device reads it to learn the number format. |
    | System Number Segment | The device reads the segments that make up the number. |
    | System Number Last | The per-device counter. The device stores and advances its counter here, and then uploads the progress on sync. |
    
    **Note:** Make sure that sync rules are scoped to the user's assigned sales org, so each device gets only the definitions for its own sales org.
4. Save your changes.
    
    The tracked-object configuration makes each object's schema available on the device. The data-download setting controls whether the device downloads the object's records. Both settings are required. If an object isn't tracked, it doesn't exist on the device at all. Without the definition or its segments, the device can't build a number. Without the counter object, the device has nowhere to keep or upload its progress. Syncing is scoped to your sales org, so each device gets only the definitions for its own sales org.
    
    **Prevent duplicate numbers**
    
    The app uploads a record and its counter advance in the same sync, but not as a single transaction, so they can succeed or fail on their own. If the counter advance doesn't reach the server, for example because the sync is interrupted or you don't sync the device before you reinstall it, the server's counter falls behind the numbers the device already used. The next fresh install then seeds from that stale value and can reissue numbers, which creates duplicates.
    
    To prevent this problem:
    
    - Sync devices regularly throughout the day.
    - Run a full manual sync immediately before you reinstall, clear data, or swap devices.