Calculate bracket threshold by weight and quantity

Advanced Pricing  •  Article  •  7/2/2025  • 

When the Threshold Type field value is set to Weight and Quantity, and the Source Type field value is set to Cust. Price Group on the Bracket Thresholds page, the system evaluates whether both the quantity and the calculated weight on the sales document fall within the defined threshold ranges.

  • The quantity is inherited from the Quantity field value on the sales document.
  • The weight is calculated as a product of the quantity and gross weight.
  • The gross weight is inherited from the Gross Weight field on the Item Card page.

For example, consider the following configuration:

Bracket Pricing Group CodeSource TypeSource No.Maximum WeightMinimum WeightMaximum QuantityMinimum Quantity
Code 1Cust. Price GroupBracket 013002004025
Code 2Cust. Price GroupBracket 0240202010
Code 3Cust. Price GroupBracket 036003503021
Code 4Cust. Price GroupBracket 0420060153

Weight Calculation = Quantity × Gross Weight

Scenario 1:

If the Quantity field value is set to 6 and the Gross Weight field value is 10, the calculated weight is: 6 × 10 = 60.

Both the quantity and the calculated weight fall within the range of Bracket 02 and Bracket 04.

The system compares the Minimum Weight field values of the qualifying brackets and selects the one with the highest minimum weight.

In this case, Bracket 04 is selected, and its source type is updated in the source document. So, the system updates the Customer Price Group field value with Code 4.

Scenario 2:

If the Quantity field value is set to 30 and the Gross Weight field value is 15, the calculated weight is: 30 × 15 = 450.

Both the quantity and the calculated weight fall within the range of Bracket 01 and Bracket 03.

The system compares the Minimum Weight field values of the qualifying brackets and selects the one with the highest minimum weight.

In this case, Bracket 03 is selected, and its source type is updated in the source document. So, the system updates the Customer Price Group field value with Code 3.


The record is not accepted if either the quantity or the weight value falls outside all defined ranges. The system displays a notification.