Use this component to set the handling total on an order by multiplying a field on the order form by a fixed rate.
- The LinearHandling component is for backward compatibility only and does not support the new, extended Currency datatype.
Intended use: Order Processing pipeline, Handling stage.
You can determine how the LinearHandling component applies the handling rate and the rate itself by setting component properties. Use the following boxes on the Linear Handling tab of the Component Properties dialog box to determine this information.
|Apply when||Determines when to apply the handling charge. The values are:
|Method||The shipping method to match against the value of the |
|Basis Item Key||The property of the item to use in computing the handling charge. Defaults to the |
|Rate||The handling rate, which is an integer value.|
The LinearHandling component reads the following value from the indicated dictionary.
|Order||Dynamic. Default shown. The property of the item to use in computing the handling charge. The key name is determined by the value in the Basis Item Key configuration box.|
The LinearHandling component writes the following value to the Order dictionary.
|The handling total for the entire order.|
The LinearHandling component computes the handling charge by multiplying the value specified in the Rate box by the sum of the property specified for the Basis Item Key box. For example, you might base the linear handling charge on the quantity of the items, and the value in the Basis Item Key box might be
sum.quantity key. If the order contains two items, one item with a quantity of four and the other item with a quantity of two, then the basis sum is six. The component calculates the handling charge by multiplying the value in the Rate box by six.
For more general information about basis item keys, see Specifying the Basis Item Key.Copyright © 2005 Microsoft Corporation.
All rights reserved.