Jaa


OrganizationServiceContextExtensions.LockInvoicePricing Method (OrganizationServiceContext, Guid)

 

Applies To: Dynamics CRM 2015

Locks the total price of products and services specified in the invoice. When the invoice pricing is locked, changes to underlying price lists (price levels) do not affect the prices for an invoice. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static void LockInvoicePricing(
    this OrganizationServiceContext context,
    Guid invoiceId
)
public:
[ExtensionAttribute]
static void LockInvoicePricing(
    OrganizationServiceContext^ context,
    Guid invoiceId
)
static member LockInvoicePricing : 
        context:OrganizationServiceContext *
        invoiceId:Guid -> unit
<ExtensionAttribute>
Public Shared Sub LockInvoicePricing (
    context As OrganizationServiceContext,
    invoiceId As Guid
)

Parameters

Remarks

This is a method wrapper for the LockInvoicePricingRequest and LockInvoicePricingResponse 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