The CProductCategory type exposes the following members.

Constructors

  NameDescription
Public methodCProductCategory(IiMISUser)
This constructor creates a new CProductCategory.
Public methodCProductCategory(IiMISUser, String)
This constructor instantiates an existing CProductCategory from the database.

Methods

  NameDescription
Protected methodCheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Public methodDelete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetProductCategories
Gets an array of CProductCategory objects representing all the Product_Cat entries in the iMIS system.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave()()()()
Saves the CProductCategory to the database using a new DataServer.
Public methodSave(DataServer)
Saves the CProductCategory to the database using the supplied DataServer.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
Validates the data set in the product category's properties against cross-property business rules. If any errors are found Validate will return false and the Asi.iBO.Errors property should be checked for details. Validate can be called at any time to check for errors but it will automatically be called at save time.
(Overrides iboBase..::..Validate()()()().)

Fields

  NameDescription
Protected fieldmEditStatus
The edit status (unchanged, modified, etc) of this record.
(Inherited from iboBase.)
Protected fieldmErrors
The current list of errors encountered by this class instance during processing.
(Inherited from iboBase.)

Properties

  NameDescription
Public propertyAdjustmentAccount
Gets or sets the ADJUSTMENTS_ACCOUNT field of the CProductCategory.
Public propertyCOGAccount
Gets or sets the COG_ACCOUNT field of the CProductCategory.
Public propertyCommisionPercent
Gets or sets the COMMISSION_PERCENT field of the CProductCategory.
Public propertyCustomPrompt1
Gets or sets the UF_1 field of the CProductCategory.
Public propertyCustomPrompt2
Gets or sets the UF_2 field of the CProductCategory.
Public propertyCustomPrompt3
Gets or sets the UF_3 field of the CProductCategory.
Public propertyCustomPrompt4
Gets or sets the UF_4 field of the CProductCategory.
Public propertyDescription
Gets or sets the text description of the CProductCategory, i.e., its name
Public propertyEditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
Public propertyErrors
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.)
Public propertyErrorsCount
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.)
Public propertyImageUrl
Gets or sets an internet URL that points to a default image of products in this CProductCategory.
Public propertyIncomeAccount
Gets or sets the INCOME_ACCOUNT field of the CProductCategory.
Public propertyInfoUrl
Gets or sets an internet URL that points to a page containing general information about products in this CProductCategory.
Public propertyInventoryAccount
Gets or sets the INVENTORY_ACCOUNT field of the CProductCategory.
Public propertyIsCommisionable
Gets or sets the COMMISSIONABLE field of the CProductCategory.
Public propertyIsImageUrlEnabled
Gets or sets an indication of whether to use the ImageUrl for products in this CProductCategory
Public propertyIsInfoUrlEnabled
Gets or sets an indication of whether to use the InfoUrl for products in this CProductCategory
Public propertyIsKit
Gets or sets the IS_KIT field of the CProductCategory.
Public propertyIsPremium
Gets or sets the PREMIUM field of the CProductCategory.
Public propertyIsPSTTaxable
Gets or sets the PST_TAXABLE field of the CProductCategory.
Public propertyIsPublication
Gets or sets an indication of whether products in this CProductCategory are publications.
Public propertyIsStockItem
Gets or sets an indication of whether products in this CProductCategory are stocked.
Public propertyIsTaxable
Gets or sets an indication of whether products in this CProductCategory are taxable.
Public propertyProductCategoryCode
Gets or sets the key to the Product Category
Public propertySellOnWeb
Gets an indication of whether products in this CProductCategory may be sold on the website.
Public propertyTaxAuthorityCode
Gets or sets the TAX_AUTHORITY field of the CProductCategory.
Public propertyViewOnWeb
Gets an indication of whether products in this CProductCategory may be displayed on the website.
Public propertyWebOption
Gets or sets the web options for this product. Options are Don't Show, View, or Sell.

See Also