OrganizationServiceContextExtensions.LockSalesOrderPricing Method (OrganizationServiceContext, Guid)
Applies To: Dynamics CRM 2015
Locks the total price of products and services specified in the sales order (order). When the sales order pricing is locked, changes to underlying price lists (price levels) do not affect the prices for a sales order (order). (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void LockSalesOrderPricing(
this OrganizationServiceContext context,
Guid salesOrderId
)
public:
[ExtensionAttribute]
static void LockSalesOrderPricing(
OrganizationServiceContext^ context,
Guid salesOrderId
)
static member LockSalesOrderPricing :
context:OrganizationServiceContext *
salesOrderId:Guid -> unit
<ExtensionAttribute>
Public Shared Sub LockSalesOrderPricing (
context As OrganizationServiceContext,
salesOrderId As Guid
)
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- salesOrderId
Type: System.Guid
Remarks
This is a method wrapper for the LockSalesOrderPricingRequest and LockSalesOrderPricingResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright