Quantity Units
Your business may require to use custom units or quantity-unit conversions for subscription items and invoice line items.
JustOn Billing & Invoice Management 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. | Pcs Hours kWh Clicks |
Description | An optional description of the unit. | Pieces Worked hours Consumed energy Page impressions |
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. |
For page impressions: 1000 |
Code | The code for the unit of measurement applicable to the invoiced quantity. Is expected to be one of the codes listed in UNECE Recommendation No. 20 "Codes for Units of Measure Used in International Trade" or UNECE Recommendation No 21 "Codes for Passengers, Types of Cargo, Packages and Packaging Materials", see UNECE Code List Recommendations |
C62 HUR KWH IM |
Create a Quantity Units record for each unit or quantity conversion to be available for selection.
-
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.
-
Click Manage in the row of Quantity Units.
- Click New.
- Specify the information as necessary.
-
Click Save.
This creates the new unit setting.