The CProductCategory type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CProductCategory(IiMISUser) |
This constructor creates a new CProductCategory.
| |
| CProductCategory(IiMISUser, String) |
This constructor instantiates an existing CProductCategory from the database.
|
Methods
| Name | Description | |
|---|---|---|
| CheckAndModifyEditStatus |
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.) | |
| Delete |
Marks this object to be deleted when the save is done
(Inherited from iboBase.) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetProductCategories |
Gets an array of CProductCategory objects
representing all the Product_Cat entries in the iMIS system.
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Save()()()() |
Saves the CProductCategory to the database using a new DataServer.
| |
| Save(DataServer) |
Saves the CProductCategory to the database using the supplied DataServer.
| |
| ToString | (Inherited from Object.) | |
| Validate |
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
| Name | Description | |
|---|---|---|
| mEditStatus | The edit status (unchanged, modified, etc) of this record. (Inherited from iboBase.) | |
| mErrors | The current list of errors encountered by this class instance during processing. (Inherited from iboBase.) |
Properties
| Name | Description | |
|---|---|---|
| AdjustmentAccount |
Gets or sets the ADJUSTMENTS_ACCOUNT field of the CProductCategory.
| |
| COGAccount |
Gets or sets the COG_ACCOUNT field of the CProductCategory.
| |
| CommisionPercent |
Gets or sets the COMMISSION_PERCENT field of the CProductCategory.
| |
| CustomPrompt1 |
Gets or sets the UF_1 field of the CProductCategory.
| |
| CustomPrompt2 |
Gets or sets the UF_2 field of the CProductCategory.
| |
| CustomPrompt3 |
Gets or sets the UF_3 field of the CProductCategory.
| |
| CustomPrompt4 |
Gets or sets the UF_4 field of the CProductCategory.
| |
| Description |
Gets or sets the text description of the CProductCategory, i.e., its name
| |
| EditStatus |
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus (Inherited from iboBase.) | |
| Errors |
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.) | |
| ErrorsCount |
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.) | |
| ImageUrl |
Gets or sets an internet URL that points to a default image of products in this CProductCategory.
| |
| IncomeAccount |
Gets or sets the INCOME_ACCOUNT field of the CProductCategory.
| |
| InfoUrl |
Gets or sets an internet URL that points to a page containing general information about products in this CProductCategory.
| |
| InventoryAccount |
Gets or sets the INVENTORY_ACCOUNT field of the CProductCategory.
| |
| IsCommisionable |
Gets or sets the COMMISSIONABLE field of the CProductCategory.
| |
| IsImageUrlEnabled |
Gets or sets an indication of whether to use the ImageUrl for products in this CProductCategory | |
| IsInfoUrlEnabled |
Gets or sets an indication of whether to use the InfoUrl for products in this CProductCategory | |
| IsKit |
Gets or sets the IS_KIT field of the CProductCategory.
| |
| IsPremium |
Gets or sets the PREMIUM field of the CProductCategory.
| |
| IsPSTTaxable |
Gets or sets the PST_TAXABLE field of the CProductCategory.
| |
| IsPublication |
Gets or sets an indication of whether products in this CProductCategory are publications.
| |
| IsStockItem |
Gets or sets an indication of whether products in this CProductCategory are stocked.
| |
| IsTaxable |
Gets or sets an indication of whether products in this CProductCategory are taxable.
| |
| ProductCategoryCode |
Gets or sets the key to the Product Category
| |
| SellOnWeb |
Gets an indication of whether products in this CProductCategory may be sold on the website.
| |
| TaxAuthorityCode |
Gets or sets the TAX_AUTHORITY field of the CProductCategory.
| |
| ViewOnWeb |
Gets an indication of whether products in this CProductCategory may be displayed on the website.
| |
| WebOption |
Gets or sets the web options for this product. Options are Don't Show, View, or Sell.
|