Export (0) Print
Expand All
Expand Minimize

PricingErrorCode Class (CrmHelpers)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

This class contains integer flags to set the invoice.pricingerrorcode and salesorder.pricingerrorcode attributes. Although the attributes may accept any value, these are the valid values.

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

The PricingErrorCode class exposes the following members.

BaseCurrencyAttributeOverflow36Specifies an overflow in the base currency attribute.
BaseCurrencyAttributeUnderflow37Specifies an underflow in the base currency attribute.
DetailError 1Specifies that an error occurred while pricing a detail line item.
DiscountTypeInvalidState 27Specifies the discount type has an invalid state.
InactiveDiscountType33Specifies an inactive discount type.
InactivePriceLevel 3Specifies an inactive price level.
InvalidCurrentCost 20Specifies an invalid current cost.
InvalidDiscount 28Specifies an invalid discount.
InvalidDiscountType 26Specifies an invalid discount type.
InvalidPrice 19Specifies an invalid price.
InvalidPriceLevelAmount 17Specifies an invalid price level amount.
InvalidPriceLevelCurrency34Specifies an invalid price level currency.
InvalidPriceLevelPercentage 18Specifies an invalid price level percentage.
InvalidPricingCode 9Specifies an invalid pricing method code.
InvalidPricingPrecision 30Specifies an invalid pricing precision.
InvalidProduct 7Specifies an invalid product.
InvalidQuantity 29Specifies an invalid quantity.
InvalidRoundingAmount 24Specifies an invalid rounding amount.
InvalidRoundingOption 23Specifies an invalid rounding option.
InvalidRoundingPolicy 22Specifies an invalid rounding policy.
InvalidStandardCost 21Specifies an invalid standard cost.
MissingCurrentCost15Specifies a missing current cost.
MissingPrice 14Specifies a missing price.
MissingPriceLevel 2Specifies a missing price level.
MissingPriceLevelAmount 12Specifies a missing price level amount.
MissingPriceLevelPercentage 13Specifies a missing price level percentage.
MissingPricingCode 8Specifies a missing pricing method code.
MissingProduct 6Specifies a missing product.
MissingProductDefaultuom 31Specifies a missing product default unit of measure.
MissingProductUomschedule 32Specifies a missing product default unit of measure schedule.
MissingQuantity 4Specifies a missing quantity.
MissingStandardCost 16Specifies a missing standard cost.
MissingUnitOfMeasure 10Specifies a missing unit of measure.
MissingUnitPrice 5Specifies a missing unit price
None 0Specifies no error.
PriceAttributeOutOfRange35Specifies a price attribute out of range.
PriceCalculationError 25Specifies that an error occurred during price calculation.
ProductNotInPriceLevel 11Specifies that the product is not in the price level.


This class is in the helper code file SDK\Helpers\CS\CrmHelpers\enums.cs. This class can also be found in the assembly Microsoft.Crm.Sdk.dll.


Filename: enums.cs

See Also


© 2010 Microsoft Corporation. All rights reserved.

© 2014 Microsoft