---
schema_version: "1"
id: 1f01ca4e7d9fdf5bc6368bbf5d35aee8836baad5520763219faf05de6184c876
title: Calculate Remaining Inventory Quantity
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/chrm_cpit_calculate_remaining_quantity.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.chrm_cpit_calculate_remaining_quantity.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9344e5e785b7d1295591029fe9924417c41eadbbd9bda6eb720261d7bd73ff53
description: Compute the remaining quantity of products available with the partners using the partner unsold inventory ledger records. This quantity is based on the point of sale documents debited to the transaction record.
products:
  - Partner Cloud
  - Cross Cloud
  - Manufacturing
release: "264"
---
# Calculate Remaining Inventory Quantity

Compute the remaining quantity of products available with the partners using the partner unsold inventory ledger records. This quantity is based on the point of sale documents debited to the transaction 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>Professional</strong>, and <strong>Unlimited</strong> Editions with the Channel Revenue Management add on</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col>
          <col>
        </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="d7801e61">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d7801e61 ">To calculate remaining quantity</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d7801e61 ">&nbsp;</td>

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

From the time the partner uploads the point of sale document, till the transaction is approved, the inventory quantity mentioned in the point of sale document is placed on hold. This means that the quantity of inventory is kept on reserve till the transaction is approved. Upon approval, this onhold quantity is deducted from the remaining quantity.

To see how to calculate the remaining quantity of unsold inventory, see [Create Adjustments Manually](https://help.salesforce.com/s/articleView?id=xcloud.chrm_cpit_create_adjustments_manually.htm&release=264.0.0&type=5 "Manually adjust inventory levels to ensure accuracy and currency of information and calculate the remaining quantity of unsold inventory.").

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-channel_revenue_mgmt-264-0-0-production-enus/0afcbbd8-b325-4d62-baa1-63243d1c10aa/images/icon_example.png)

Example

Remaining Quantity = PoS Original Quantity - Credit Quantity

For example, if there is a point of sale with 1,000 units of a product. After the DPE is run, the PoS is linked to a PUI by creating a debit ledger entry containing a 1000 units.

If the original quantity of the sales document was a 10,000 units. 9,000 units were debited. Final remaining quantity is 1,000 units.