GetDefaultPriceLevelRequest Class

 

Updated: January 15, 2016

Applies To: Dynamics CRM 2015

Contains the data that is needed to retrieve the default price level (price list) for the current user based on the user’s territory relationship with the price level.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

System.Object
  Microsoft.Xrm.Sdk.OrganizationRequest
    Microsoft.Crm.Sdk.Messages.GetDefaultPriceLevelRequest

<DataContractAttribute(Namespace := "http://schemas.microsoft.com/crm/2011/Contracts")>
Public NotInheritable Class GetDefaultPriceLevelRequest
	Inherits OrganizationRequest

NameDescription
System_CAPS_pubmethodGetDefaultPriceLevelRequest()

For internal use only.

NameDescription
System_CAPS_pubpropertyColumnSet

For internal use only.

System_CAPS_pubpropertyEntityName

For internal use only.

System_CAPS_pubpropertyExtensionData

Gets or sets the structure that contains extra data. Optional.(Inherited from OrganizationRequest.)

System_CAPS_pubpropertyItem(String)

Gets or sets the indexer for the Parameters collection.(Inherited from OrganizationRequest.)

System_CAPS_pubpropertyParameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest.)

System_CAPS_pubpropertyRequestId

Gets or sets the ID of an asynchronous operation (system job). Optional. (Inherited from OrganizationRequest.)

System_CAPS_pubpropertyRequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Message Availability

 For this message to work, the caller must be connected to the server.

Usage

This message does not have any usage scenario of its own. CRM internally uses the message to determine the default price level for an opportunity, quote, order, or invoice based on the current user and the territory relationship with the price level. More information: Enable automatic selection of default price level

If you have Microsoft Dynamics CRM Online 2015 Update 1, this message also provides you the capability to specify your custom logic for selecting default price level instead of using the out-of-box rule for the selection of default price level for an opportunity, quote, order, and invoice. To use this message, you must create a plug-in with the custom code for returning price levels based on your business requirement, and register it on the GetDefaultPriceLevel message. More information: Extend default price level selection

Privileges and Access Rights

To perform this action, the caller must have privileges on the Territory, PriceLevel, Opportunity, Quote, SalesOrder, and Invoice entities.

Notes to Caller

If a user territory is part of multiple price levels, this message will retrieve all those price levels.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

© 2016 Microsoft. All rights reserved. Copyright

Show: