ApplyEditPromotion Method

The ApplyEditPromotion function triggers the AddtoCart operation on the Promotion Selection Catalog business component, then retrieves the LastItemId value from the profile attributes, and continues the rest of the Edit UI rendering operations.

Note: The product type for the selected record must be set to Promotion.

Arguments

Argument Description

Promotion Def

[in] The Promotion Def Id of the selected promotion record.

Return View

[in] Returns the view name when the user completes an Edit UI session.