CRT Updates in Microsoft Dynamics AX 2012 R2 CU1 [AX 2012]

Updated: April 15, 2013

The following table describes the changes to the Commerce Runtime (CRT) between Microsoft Dynamics AX 2012 R2 and Microsoft Dynamics AX 2012 R2 CU1.

Element

Change

Microsoft.Dynamics.Commerce.Runtime.Data.ShippingDataManager

The following method was added:

public ReadOnlyCollection<DeliveryOption> GetAllDeliveryOptions()

Microsoft.Dynamics.Commerce.Runtime.DataModel.SalesParameters

The following property was added:

public LineDiscountCalculationType LineMultilineMethod

Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine.PricingEngine

The activeDate parameter was added in the following method overload:

public static void CalculateDiscountsForLines(IPricingDataManager pricingDataManager, SalesTransaction transaction, RoundingRule roundingRule, string currencyCode, bool doesPriceIncludeTax, string lineDiscountGroup, string multilineDiscountGroup, string totalDiscountGroup, DateTime activeDate)

Microsoft.Dynamics.Commerce.Runtime.Client.OrderManager

The following method was added:

public SalesOrder GetOrderByChannelReferenceId(string channelReferenceId)

Notification classes

The notification classes have been moved from Microsoft.Dynamics.Commerce.Runtime.Services to Microsoft.Dynamics.Commerce.Runtime.Services.Messages.

Microsoft.Dynamics.Commerce.Runtime.Workflow.IRequestHandlerFactory

A method signature was updated to include generic response type IRequestHandler CreateHandler<TResponse>(Request request) where TResponse : Response.

RequestResponseTypePair

This type was added.

ServiceRequestMetadataAttribute

This type was added.

WorkflowRequestMetadataAttribute

This type was added.

IRequestHandlerMetadata

This type was deleted. Services are annotated with ServiceRequestHandlerMetadata attributes. Workflows are annotated with WorkflowRequestHandlerMetadata attributes.

DataValidationErrors

The following properties were added:

public static readonly string UnknownRequestResponsePair

public static readonly string InvalidRequestType

Community Additions

Show: