comp-assets-promotions (layout)

The comp-assets-promotions layout provides the structure for the Promotions tab on the cards-based Assets and Review Cart Visualforce pages.

Template

comp-assets-promotions (template)

Layout Session Variables

None

Data Source

Dual

Remote Class

CpqAppHandler

Remote Method

getAppliedPromotionsByAccount

Input map

Input Map Variable

Value

accountId

{{attrs.accountId}}

Result JSON Path

records

REST API Information

Get Applied Promotions for Account

GET /services/apexrest/vlocity_cmt/v2/accounts/{{attrs.accountId}}/promotions

Cards

comp-assets-promotions-card

Image

The layout includes a filter with the All value displayed, and table columns Promotion Name, Description, Commitment Start Date, Commitment End Date, Cancellation Date, and Reason for Cancellation.