Product3.PricingCategory Property (PIA)
The PricingCategory property is a read/write String that contains the name of the pricing category for this product.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Catalog
Imports ADODB26Lib ' for _Recordset
…
Public Property PricingCategory As String
[C#]
using Microsoft.CommerceServer.Interop.Catalog;
…
public string PricingCategory {get; set;}
Property Value
A string that contains the pricing category.
Exceptions
This property may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
The following table shows the custom COM errors that a COMException can wrap.
Constant | Value | Description |
---|---|---|
E_CAT_VC_NOT_A_SUPPLIER_CATALOG | [C#] 0x889800F9 [Visual Basic .NET] &H889800F9 |
Invalid catalog type. This API can only be called on a base catalog. |
E_CAT_PRODUCT_DOESNT_EXIST | [C#] 0x8898001E [Visual Basic .NET] &H8898001E |
The product you specified does not exist. |
E_CAT_CATEGORY_DOESNT_EXIST | [C#] 0x8898001C [Visual Basic .NET] &H8898001C |
The category you specified does not exist. |
E_CAT_PRICING_CAT_PRICELESS | [C#] 0x8898002F [Visual Basic .NET] &H8898002F |
The category you specified has no list price. The list price of the category must be set before using this for pricing. |
Remarks
Using a category as a Pricing category allows you to set the prices of multiple products by making a single change, rather than having to change the price for each product. Setting the Pricing category for a product family will also set the Pricing category for all the variants of the product family.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Catalog
Platforms: Windows 2000, Windows Server 2003
Assembly: Cataloglib (in Cataloglib.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.