GetTransactionById Method

Gets the sales transaction by its transaction and customer identifiers.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Data
Assembly:  Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)

public SalesTransaction GetTransactionById(
	string transactionId,
	string customerId,
	ColumnSet columnSet
)

Parameters

transactionId
Type: System.String
customerId
Type: System.String
columnSet
Type: Microsoft.Dynamics.Commerce.Runtime.ColumnSet

Return Value

Type: Microsoft.Dynamics.Commerce.Runtime.DataModel.SalesTransaction
The sales transaction.

Community Additions

Show: