The CProduct type exposes the following members.

Constructors

  NameDescription
CProductOverloaded.

Methods

  NameDescription
AddKitItemOverloaded.
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
Determines whether the specified Object is equal to the current Object.
(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.)
GetKitItem
Gets the CKitItem object corresponding to the given ProductCode in the kit. If this CProduct is not a kit, or if the given ProductCode is not present in the kit, returns null.
GetProductsOverloaded.
GetProductsByType
Retrieves all of the Products from the database that have the given product type
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
RemoveKitItemOverloaded.
SaveOverloaded.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Validate
Validates the data set in the product'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
mAdjustmentAccount
The general ledger account to be used for adjustments.
mAppealCode
The default AppealCode associated with this product.
mApplyImageFlag
Contains the value of the APPLY_IMAGE field of the Product table.
mApplyInfoFlag
Contains the value of the APPLY_INFO field of the Product table.
mApplyThumbnailFlag
Contains the value of the APPLY_THUMBNAIL field of the Product table.
mAttributes
Contains the value of the ATTRIBUTES field of the Product table.
mCampaignCode
The default CampaignCode associated with this product.
mCOGAccount
The general ledger account for cost-of-goods sold.
mCommissionRate
The commission rate on this product.
mDecimalPoints
Contains the value of the DECIMAL_POINTS field of the Product table.
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.)
mFairMarketValue
The fair market value for this product.
mGroup1
Contains the value of the GROUP_1 field of the Product table.
mGroup2
Contains the value of the GROUP_2 field of the Product table.
mGroup3
Contains the value of the GROUP_3 field of the Product table.
mInventoryAccount
The general ledger account to be used for inventory.
mIsCommissionable
Whether commission can be paid on this product.
mIsComplimentary
Whether this product is complimentary.
mIsFRItem
Whether this product is a fundraising item.
mIsKit
Indicates whether the product is a kit.
mIsPremium
Indicates whether this product is a premium for a fundraising effort.
mKitItems
A collection of CKitItem objects representing the constituent products that are part of this kit product.
mLocation
Contains the value of the LOCATION field of the Product table.
mLotSerialExist
Contains the value of the LOT_SERIAL_EXIST field of the Product table.
mNote
The note for this product.
mOtherDescription
Contains the value of the OTHER_DESC field of the Product table.
mPLPCode
Contains the value of the PLP_CODE field of the Product table.
mPrice1
Contains the value of the PRICE_1 field of the Product table.
mPrice2
Contains the value of the PRICE_2 field of the Product table.
mPrice3
Contains the value of the PRICE_3 field of the Product table.
mProductCategoryCode
The product category code for this product.
mProrate
Contains the value of the PRORATE field of the Product table.
mRenewMonths
Contains the value of the RENEW_MONTHS field of the Product table.
mTaxableValue
The taxable value of this product.
mUnitOfMeasure
The unit of measurement for this product.
mWeight
The unit weight for this product.

Properties

  NameDescription
AdjustmentAccount
Gets or sets the General Ledger account used to track adjustments to sales of this product.
AppealCode
Gets or sets the APPEAL_CODE field of the CProduct.
ApplyImageFlag
Gets or sets the APPLY_IMAGE field of the CProduct.
ApplyInfoFlag
Gets or sets the APPLY_INFO field of the CProduct.
ApplyThumbnailFlag
Gets or sets the APPLY_THUMBNAIL field of the CProduct.
Attributes
Gets or sets the ATTRIBUTES field of the CProduct.
CampaignCode
Gets or sets the CAMPAIGN_CODE field of the CProduct.
CatalogDescription
Gets or sets the CATALOG_DESC field of the CProduct.
CommissionRate
Gets or sets the salesperson's commission rate for this product.
CostOfGoodsAccount
Gets or sets the General Ledger account used to track the Cost of Goods for this product.
DecimalPoints
Gets or sets the DECIMAL_POINTS field of the CProduct.
DeferredIncomeAccount
Gets or sets the General Ledger account into which deferred income from the sales of this product should be credited.
Description
Gets or sets the product's description.
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.)
FairMarketValue
Gets or sets the FAIR_MARKET_VALUE field of the CProduct.
FinancialEntityCode
Gets or sets a reference to the Financial Entity (Organization) to which this product belongs.
Group1
Gets or sets the GROUP_1 field of the CProduct.
Group2
Gets or sets the GROUP_2 field of the CProduct.
Group3
Gets or sets the GROUP_3 field of the CProduct.
ImageUrl
Gets or sets an internet URL that points to an image of this product
IncomeAccount
Gets or sets the General Ledger account into which income from the sales of this product should be credited.
InfoUrl
Gets or sets an internet URL that points to a page containing information about this product
InventoryAccount
Gets or sets the General Ledger account used to track inventory of this product.
IsCommissionable
Gets or sets the COMMISIONABLE field of the CProduct.
IsComplimentary
Gets or sets the COMPLIMENTARY field of the CProduct.
IsFundRaisingItem
Gets or sets the IS_FR_ITEM field of the CProduct.
IsKit
Gets or sets the IS_KIT field of the CProduct.
IsPremium
Gets or sets the PREMIUM field of the CProduct.
IsPSTTaxable
Gets or sets the PST_TAXABLE field of the CProduct.
IsStockItem
Gets or sets the STOCK_ITEM field of the CProduct.
IsTaxable
Gets or sets the TAXABLE field of the CProduct.
KitItems
Gets an array of CKitItem objects for this CProduct. If the CProduct is not a kit, returns null.
Location
Gets or sets the LOCATION field of the CProduct.
LotSerialExistsFlag
Gets or sets the LOT_SERIAL_EXIST field of the CProduct.
Note
Gets or sets the NOTE field of the CProduct.
OtherDescription
Gets or sets the OTHER_DESC field of the CProduct.
PaymentPriority
Gets or sets the PAYMENT_PRIORITY field of the CProduct.
Price1
Gets or sets the PRICE_1 field of the CProduct.
Price2
Gets or sets the PRICE_2 field of the CProduct.
Price3
Gets or sets the PRICE_3 field of the CProduct.
PriceRulesExist
Gets or sets the an indication of whether special pricing rules exist for this product.
ProductCategoryCode
Gets or sets the CATEGORY field of the CProduct.
ProductCode
Gets the code identifying this product.
ProductMajor
Gets the major portion of the product code.
ProductMinor
Gets the minor portion of the product code.
ProductTypeCode
Gets or sets the code identifying the product type.
PromoteProductFlag
Gets or sets the PROMOTE field of the CProduct.
ProrateRule
Gets or sets the PRORATE field of the CProduct.
RenewalMonths
Gets or sets the RENEW_MONTHS field of the CProduct.
SellOnWeb
Gets or sets an indication of whether this product may be offered for sale on the website.
StatusCode
Gets or sets the STATUS field of the CProduct.
TaxableValue
Gets or sets the TAXABLE_VALUE field of the CProduct.
TaxAuthorityCode
Gets or sets the TAX_AUTHORITY field of the CProduct.
ThumbnailUrl
Gets or sets an internet URL that points to a thumbnail (small) image of this product
Title
Gets or sets the name of the product.
UnitOfMeasure
Gets or sets the UNIT_OF_MEASURE field of the CProduct.
ViewOnWeb
Gets or sets an indication of whether this product may be displayed on the website.
WebDescription
Gets or sets the WEB_DESC field of the CProduct.
WebOption
Gets or sets the WEB_OPTION field of the CProduct.
Weight
Gets or sets the WEIGHT field of the CProduct.

See Also