Partager via


RequiredProdInfo

Use the RequiredProdInfo pipeline component to delete items that were flagged for deletion by a previous Product Info stage component.

Intended use: Order Processing pipeline, Product Info stage.

Configuration Values

None.

Values Read

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

Key

Dictionary

Description

item.delete

Order

A flag on an item in the items collection of the Order dictionary. This key is created and set by another pipeline component.

MessageManager.pur_badsku

Context

The error message text (optional).

Values Written

The RequiredProdInfo pipeline component writes the following values to the Order dictionary.

Key

Description

_Basket_Errors

Error messages are written to this SimpleList object.

Errors

The RequiredProdInfo pipeline component writes an error message to the _Basket_Errors collection. The component uses a MessageManager object to retrieve user warning message text.

Constant

Condition

pur_badsku

One or more items were deleted from the order.

Remarks

The RequiredProdInfo pipeline component checks all items in the items collection in the Order dictionary and deletes any items with a delete key set to 1 (one). The QueryCatalogInfo pipeline component sets this key.

If the RequiredProdInfo pipeline component deletes any items from the items collection, it uses the pur_badsku constant to retrieve error message text from the MessageManager object and stores this message in the _Basket_Errors collection of the Order dictionary so that the application can report the problem with the item to the user.

See Also

Other Resources

QueryCatalogInfo

Pipeline Component Reference