Example 2: Freight has a percent handling fee, but the percentage varies for different types of customers

 

In this example, the customer record associated with our order contains a Customer Type field; you could also use a user-defined field in the customer record. We want to charge different handling fee percentages depending on the customer type. If the customer type is "Reseller", we want to charge a 2% handling fee; for "Gold Reseller" we want to charge 1%; and for all other customer types we want to charge 5%.

The following steps show you how to create a rule that applies these varying percentages depending upon the value in the "Cust Type" field.

 

  1. Create a new rule.

  1. Select "Shipment Freight amount is increased or decreased" and click Next.

 

 

  1. Select "increase" and "percentage" and enter 2.00. Click Next.

 

 

  1. We don’t want to set a minimum or maximum amount of increase, so skip this screen by clicking Next.

 

 

  1. Select "Only under certain conditions" and click Next.

 

 

  1. Now select the value that will be the basis for applying this rule. In this example, we’ll select "Order Value" but your choices might be invoices, sales receipts, etc, depending upon your source interface. Then select the value; in our example, we select "Cust Type", but again, your available source document fields will vary. Click Next.

 

 

  1. Next, we’ll set a condition defining the customer type for this rule. Select "is equal to" and select "Reseller" from the drop-down list (or the Customer Type value that applies to your source interface). Then, click Next. Note that this rule will only be met if the text value for "Cust Type" in the order exactly matches the text written here, including case.

 

 

  1. Decide if the rules that follow should be ignored when conditions for this rule are met. Click Finish.


     

  2. The Verify new rule screen will show you the complete rule (result and condition). Click OK.


     

  3. You return to the Freight Rules window, where you see the rule you just created. Click New to create a new rule. Repeat steps 2-8, but for

This is what the Verify new rule screen will look like. Click OK to save the rule.

 

 

  1. From the Freight Rules screen, click "New" again. Now we will create the rule for "all other customers". Repeat steps 2-8, entering 5.00 in Step 3.

  2. For "when Order field "Cust Type"" select "is not one of" and check the "Reseller" and "Gold Reseller" values.


     

  3. Verify the new rule by clicking OK.




     

  4. In the Freight Rules window, you’ll see the 3 rules you just created.