ApplyConcurrencyRules Method
Given a transaction, choose the discounts which should be active on each line according to the concurrency rules and add them to the sales items
Namespace: Microsoft.Dynamics.Commerce.Runtime.Services
Assembly: Microsoft.Dynamics.Commerce.Runtime.Services (in Microsoft.Dynamics.Commerce.Runtime.Services.dll)
Syntax
'Declaration
Public Shared Sub ApplyConcurrencyRules ( _
transaction As SalesTransaction _
)
'Usage
Dim transaction As SalesTransaction
DiscountConcurrencyRules.ApplyConcurrencyRules(transaction)
public static void ApplyConcurrencyRules(
SalesTransaction transaction
)
public:
static void ApplyConcurrencyRules(
SalesTransaction^ transaction
)
Parameters
- transaction
Type: Microsoft.Dynamics.Commerce.Runtime.DataModel.SalesTransaction