This documentation is archived and is not being maintained.

PriceMethod Class (Sdk Assembly)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

The PriceMethod class contains integer flags to set the productpricelevel.pricingmethodcode attribute. Although the attribute may accept any value, these are the valid values.

This static class does not need instantiation or initialization because the fields represent constant integer values. These values are intended to be used when setting entity attribute values.

The PriceMethod class exposes the following members.

CurrencyAmount 1Specifies that the price is set for each unit of measure for each product..
MarginCurrentCost 4Specifies that the price is based on the profit percentage you want to achieve and your current cost for the item.
MarginStandardCost 6Specifies that the price is calculated as a percentage of the standard cost of the item.
MarkupCurrentCost 3Specifies that the price is calculated as a percentage of your current cost for the item.
MarkupStandardCost 5Specifies the percent mark up - standard cost.
PercentListPrice 2Specifies that the price is calculated based on the manufacturer's or distributor's list price.


This class can also be found in SDK\Helpers\CS\CrmHelpers\enums.cs. See CrmHelpers Classes.


Namespace: Microsoft.Crm.Sdk

Assembly: Microsoft.Crm.Sdk.dll

See Also



© 2010 Microsoft Corporation. All rights reserved.