다음을 통해 공유


DefaultTotalCy

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

Use this component to calculate the order total from the subtotals.

For more information, see Currency Enhancements.

Intended use: Order Processing pipeline, Order Total stage.

Values Read

The DefaultTotalCy component reads the following values from the indicated dictionaries.

Key

Dictionary

Description

order._cy_oadjust_subtotal

Order

The subtotal of all of the items in the items list.

order._cy_shipping_total

Order

The total shipping cost for the items.

order._cy_tax_total

Order

The total tax for the order.

order_cy_handling_total

Order

The total cost for handling the order.

Values Written

The DefaultTotalCy component assigns a value to the following key in the Order dictionary.

Key

Description

order._cy_total_total

The complete total for the order.

Remarks

These components verify that all four totals on the order have been set.

If all four values exist, they are added together and assigned to the complete total in the Order dictionary.

If any value is missing, the component stops and returns an error.

See Also

Other Resources

Pipeline Component Reference