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
Each Quantity Units setting specifies the following information:
|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.
|An optional description of the unit.
|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:
|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
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.
This creates the new unit setting.