Quantity Units

Your business may require to use custom units or quantity-unit conversions for subscription items and invoice line items.

JustOn supports creating custom units and, if required, corresponding conversion factors, using the custom setting Quantity Units. These units can then be applied to subscription items or invoice line items. The individual custom setting records are available as values in the corresponding Unit picklist.

Each Quantity Units setting specifies the following information:

Field Description Example
Name The unique name for the custom setting record. At the same time, specifies the name of the unit to be available for selection. When set, the unit can be printed to the invoice PDF. CPM
Description An optional description of the unit. Cost per mille
Factor The (optional) factor to be applied to the quantity in order to determine the correct price for the invoice line item:
CalculatedQuantity = Quantity / Factor
If left blank, JustOn uses 1.0 by default.

Create a Quantity Units record for each unit or quantity conversion to be available for selection.

  1. Click to enter Setup, then open Custom Settings.

    In Salesforce Lightning, navigate to Custom Code > Custom Settings.

    In Salesforce Classic, navigate to Develop > Custom Settings.

  2. Click Manage in the row of Quantity Units.

  3. Click New.
  4. Specify the information as necessary.
  5. Click Save.

    This creates the new unit setting.