次の方法で共有


RequiredHandlingCy

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Use the RequiredHandlingCy pipeline component to verify that the handling total is present in the order.

For more information, see Currency Enhancements.

Intended use: Order Processing pipeline, Handling stage.

Values Read

The RequiredHandlingCy pipeline component reads the following values from the indicated dictionaries.

Key

Dictionary

Description

order._cy_handling_total

Order

The total cost for handling the order.

MessageManager.pur_badhandling

Context

The error message text (optional).

Values Written

The RequiredHandlingCy component writes the following value to the Order dictionary.

Key

Description

order._Purchase_Errors

Error messages are written to this SimpleList object.

Errors

The RequiredHandlingCy pipeline component returns error level 2 (OPPERRORLEV_WARN) when the handling total is not in the order form. Other errors return error level 3 (OPPERRORLEV_FAIL).

The RequiredHandlingCy pipeline component writes error messages to the _Purchase_Errors collection. The components use a MessageManager object to retrieve user warning message text.

Constant

Condition

pur_badhandling

The handling total is not in the order form.

Remarks

The RequiredHandlingCy pipeline component verifies that the order._handling_total key is present.

See Also

Other Resources

Pipeline Component Reference