---
schema_version: "1"
id: 33184a6c1fe2f86db658d0639777fad8c3ef32c4c3f32f4e84f900488db0c590
title: Keep System Numbers in Sync
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_concept_admin_keep_system_numbers_in_sync.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_concept_admin_keep_system_numbers_in_sync.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 03b17a17d7518cf940b26ca33121cd635cd8fa52ab58559951ac70b5646417bb
description: Set up tracked objects and follow sync habits that keep device counters current and prevent duplicate record numbers during fresh installs or device restores.
products:
  - Consumer Goods
release: "264"
---
# Keep System Numbers in Sync

Set up tracked objects and follow sync habits that keep device counters current and prevent duplicate record numbers during fresh installs or device restores.

### 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>Professional</strong>, <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="d16539e61">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d16539e61 ">To keep system numbers in sync:</td>

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

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

Because the device produces numbers, the app keeps the server informed.

On each sync, the device uploads the records it created together with its advanced counter, so the server's counter stays current.

Only on the first sync of a fresh install does the device download the counter value from the server. Every later sync leaves the local counter unchanged. From then on, the counter flows only from the device to the server, not from the server back to the device.

## Per-device counter record

Each device keeps its own counter for each system number definition it uses, one counter record per definition, per device. The device creates this record itself. The first time it generates a number for a definition, it creates the counter record locally and advances it from there. You don't need to create these records on the server in advance. The device makes and owns them, and it uploads them on sync.

- **[Set Up System Number Tracked Objects for Offline Sync](https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_set_up_system_number_tracked_objects.htm&release=264.0.0&type=5)**  
    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.