Trade plan rate hierarchy

Article • 7/24/2023 • 6 min read

When you create a new sales order, the system automatically determines the trade plan rate to be applied. Here, we assume that the Trade Business Group and Trade Product Group fields are set to X and Y on the Trade Plan Groups, Customer Card, and Item Card pages.

To understand how a trade plan rate is selected for a sales order line, consider the following example. Let’s say you have created a sales order for customer C001, with a sales order line for item IT01:

The following rates for item IT01 exist on the Trade Plan Rates page. Please note that the rate lines that match the selected item number, customer, trade business group, and trade product group are displayed in this image. Any lines that do not meet these criteria have already been filtered out and are not shown in the image provided.

To determine which rate from the trade plan rates list will be selected for the order line, the system follows a filtering process. All trade plan rate lines that are not applicable to the current order (line) will be filtered out. To understand the criteria for determining which trade plan rate line is picked, please refer to the following information:

Source type

Source address

Only rate lines that have the same source address code as the customer on the order header or no source address code are valid.

Item type

Variant code

Only rate lines that have the same variant code as the item on the order line or have no variant code are valid.

Unit of measure

Rate lines that have any unit of measure code or have no unit of measure are valid. But the rate lines that have the same unit of measure as the base unit of measure for the item on the order line are considered first. Based on the filtering process, the following scenarios determine how the trade rate is selected based on the unit of measure code:

Shipment method

Only rate lines that have the same shipment method as the item on the order line or have no shipment method are valid.

Location

Only rate lines that have the same location code as the item on the order line or have no location code are valid.

Starting date

The following image explains the trade plan rate line filtering process, prioritizing certain fields and values in those fields from most important to least important. The system performs step-by-step checks, as mentioned in the image. The most important fields in this filtering process are Source Type, Source Address, and Item Type, which are evaluated in the first, second, and third steps to filter rate lines with the values mentioned as most important. Subsequently, the system proceeds to the fourth step, comparing the Variant Code field with the variant code on the order line. If a match is found, the system proceeds to the fourth step. In case the Variant Code is empty, the remaining trade plan rate lines (which passed the initial steps) are checked for values that are most important in the subsequent steps.
Lastly, if multiple lines still exist after examining all the steps, the system considers the trade plan rate line with the most recent starting date for further processing.


When no lines remain, trade rates will not be used on the order line.

Applying all the above steps to the valid rate lines we had in our example, would filter out the pink lines in the image below, resulting in 1 remaining (grey) price line.

Explanation:
Step 1: Since rate lines with the source type as Customer exist, 8 lines are filtered out.
Step 2: Since rate lines with the source address as USA exist, the rate lines with no source address are filtered out.
Step 3: Since rate lines with the item type as Item exist, 3 lines are filtered out.
Steps 4, 5, & 6: Since the remaining rate lines exist with the same variant code, unit of measure, and shipment method as the order line, the system moves further to the next step.
Step 7: Since rate lines with the location code as EAST exist, 4 lines are filtered out.

Implying the steps mentioned above, the pink lines in the following image are filtered out of the trade plan rate lines in our example. The reason why they are not valid (in combination with our order example) is highlighted in red.

The trade rate that will be used in the order line is 5 USD.