The CPublicationProduct type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CPublicationProduct(IiMISUser, String) | This constructor instantiates an existing CPublicationProduct stored in the database. | |
| CPublicationProduct(IiMISUser, String, String) | This constructor creates a new CPublicationProduct. |
Methods
| Name | Description | |
|---|---|---|
| AddKitItem(CStandardProduct) |
Adds quantity 1 of the provided product to the kit that comprises this CProduct.
(Inherited from CProduct.) | |
| AddKitItem(CStandardProduct, Double, String) |
Adds the specified quantity of the provided product to the kit that comprises this CProduct.
(Inherited from CProduct.) | |
| 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.) | |
| GetExtendedPrice |
Calculates the extended price of the given quantity of this CStandardProduct for a customer with the supplied
customer type.
(Inherited from CStandardProduct.) | |
| 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.
(Inherited from CProduct.) | |
| GetQtyAvailable |
Gets the quantity available for this CStandardProduct in the specified warehouse.
(Inherited from CStandardProduct.) | |
| GetQuantityAvailable |
Gets the quantity available for orders other than the one specified.
(Inherited from CStandardProduct.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetWarehouseBin |
Returns the BIN field of the product inventory for the given warehouse.
(Inherited from CStandardProduct.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| RemoveKitItem(String) |
Remove the CProduct specified by the supplied product code from this kit. If this product is not a kit or the
specified product is not part of the kit, this method does nothing.
(Inherited from CProduct.) | |
| RemoveKitItem(CProduct) |
Remove the specified CProduct from this kit. If this product is not a kit or the
CProduct is not part of the kit, this method does nothing.
(Inherited from CProduct.) | |
| Save()()()() |
Saves the CPublicationProduct along with all of its child records to the database using a
new DataServer object.
(Overrides CProduct..::..Save()()()().) | |
| Save(DataServer) |
Saves the CPublicationProduct along with all of its child records to the database using the supplied
DataServer object.
(Overrides CProduct..::..Save(DataServer).) | |
| Save(DataServer, Boolean) |
Saves the Product along with all of its child records to the database.
(Inherited from CProduct.) | |
| ToString | (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.
(Inherited from CProduct.) |
Fields
| Name | Description | |
|---|---|---|
| mAdjustmentAccount |
The general ledger account to be used for adjustments.
(Inherited from CProduct.) | |
| mAppealCode | The default AppealCode associated with this product. (Inherited from CProduct.) | |
| mApplyImageFlag |
Contains the value of the APPLY_IMAGE field of the Product table.
(Inherited from CProduct.) | |
| mApplyInfoFlag |
Contains the value of the APPLY_INFO field of the Product table.
(Inherited from CProduct.) | |
| mApplyThumbnailFlag |
Contains the value of the APPLY_THUMBNAIL field of the Product table.
(Inherited from CProduct.) | |
| mAttributes |
Contains the value of the ATTRIBUTES field of the Product table.
(Inherited from CProduct.) | |
| mCampaignCode | The default CampaignCode associated with this product. (Inherited from CProduct.) | |
| mCOGAccount |
The general ledger account for cost-of-goods sold.
(Inherited from CProduct.) | |
| mCommissionRate | The commission rate on this product. (Inherited from CProduct.) | |
| mDecimalPoints |
Contains the value of the DECIMAL_POINTS field of the Product table.
(Inherited from CProduct.) | |
| 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. (Inherited from CProduct.) | |
| mGroup1 |
Contains the value of the GROUP_1 field of the Product table.
(Inherited from CProduct.) | |
| mGroup2 |
Contains the value of the GROUP_2 field of the Product table.
(Inherited from CProduct.) | |
| mGroup3 |
Contains the value of the GROUP_3 field of the Product table.
(Inherited from CProduct.) | |
| mInventoryAccount |
The general ledger account to be used for inventory.
(Inherited from CProduct.) | |
| mIsCommissionable | Whether commission can be paid on this product. (Inherited from CProduct.) | |
| mIsComplimentary | Whether this product is complimentary. (Inherited from CProduct.) | |
| mIsFRItem | Whether this product is a fundraising item. (Inherited from CProduct.) | |
| mIsKit |
Indicates whether the product is a kit.
(Inherited from CProduct.) | |
| mIsPremium |
Indicates whether this product is a premium for a fundraising effort.
(Inherited from CProduct.) | |
| mKitItems |
A collection of CKitItem objects representing the constituent products
that are part of this kit product.
(Inherited from CProduct.) | |
| mLocation |
Contains the value of the LOCATION field of the Product table.
(Inherited from CProduct.) | |
| mLotSerialExist |
Contains the value of the LOT_SERIAL_EXIST field of the Product table.
(Inherited from CProduct.) | |
| mNote | The note for this product. (Inherited from CProduct.) | |
| mOtherDescription |
Contains the value of the OTHER_DESC field of the Product table.
(Inherited from CProduct.) | |
| mPLPCode |
Contains the value of the PLP_CODE field of the Product table.
(Inherited from CProduct.) | |
| mPrice1 |
Contains the value of the PRICE_1 field of the Product table.
(Inherited from CProduct.) | |
| mPrice2 |
Contains the value of the PRICE_2 field of the Product table.
(Inherited from CProduct.) | |
| mPrice3 |
Contains the value of the PRICE_3 field of the Product table.
(Inherited from CProduct.) | |
| mProductCategoryCode | The product category code for this product. (Inherited from CProduct.) | |
| mProrate |
Contains the value of the PRORATE field of the Product table.
(Inherited from CProduct.) | |
| mRenewMonths |
Contains the value of the RENEW_MONTHS field of the Product table.
(Inherited from CProduct.) | |
| mTaxableValue | The taxable value of this product. (Inherited from CProduct.) | |
| mUnitOfMeasure | The unit of measurement for this product. (Inherited from CProduct.) | |
| mWeight | The unit weight for this product. (Inherited from CProduct.) |
Properties
| Name | Description | |
|---|---|---|
| AdjustmentAccount |
Gets or sets the General Ledger account used to track adjustments to sales of this product.
(Inherited from CStandardProduct.) | |
| AppealCode |
Gets or sets the APPEAL_CODE field of the CProduct.
(Inherited from CProduct.) | |
| ApplyImageFlag |
Gets or sets the APPLY_IMAGE field of the CProduct.
(Inherited from CProduct.) | |
| ApplyInfoFlag |
Gets or sets the APPLY_INFO field of the CProduct.
(Inherited from CProduct.) | |
| ApplyThumbnailFlag |
Gets or sets the APPLY_THUMBNAIL field of the CProduct.
(Inherited from CProduct.) | |
| Attributes |
Gets or sets the ATTRIBUTES field of the CProduct.
(Inherited from CProduct.) | |
| Author |
Gets or sets the publication's author.
| |
| CampaignCode |
Gets or sets the CAMPAIGN_CODE field of the CProduct.
(Inherited from CProduct.) | |
| CatalogDescription |
Gets or sets the CATALOG_DESC field of the CProduct.
(Inherited from CProduct.) | |
| CommissionRate |
Gets or sets the salesperson's commission rate for this product.
(Inherited from CStandardProduct.) | |
| CostOfGoodsAccount |
Gets or sets the General Ledger account used to track the Cost of Goods for this product.
(Inherited from CStandardProduct.) | |
| DecimalPoints |
Gets or sets the DECIMAL_POINTS field of the CProduct.
(Inherited from CProduct.) | |
| DefaultBin |
Gets the BIN field of the Product_Inventory table for the default warehouse for this CStandardProduct.
(Inherited from CStandardProduct.) | |
| DefaultWarehouse |
Gets or sets the Location.
(Inherited from CStandardProduct.) | |
| DeferredIncomeAccount |
Gets or sets the General Ledger account into which deferred income from the sales of this product should be credited.
(Inherited from CProduct.) | |
| Description |
Gets or sets the product's description.
(Inherited from CProduct.) | |
| Edition |
Gets or sets the publication's edition.
| |
| 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 associated with this product.
(Inherited from CStandardProduct.) | |
| FinancialEntityCode |
Gets or sets a reference to the Financial Entity (Organization) to which this product belongs.
(Inherited from CProduct.) | |
| Group1 |
Gets or sets the GROUP_1 field of the CProduct.
(Inherited from CProduct.) | |
| Group2 |
Gets or sets the GROUP_2 field of the CProduct.
(Inherited from CProduct.) | |
| Group3 |
Gets or sets the GROUP_3 field of the CProduct.
(Inherited from CProduct.) | |
| ImageUrl |
Gets or sets an internet URL that points to an image of this product
(Inherited from CProduct.) | |
| IncomeAccount |
Gets or sets the General Ledger account into which income from the sales of this product should be credited.
(Inherited from CProduct.) | |
| InfoUrl |
Gets or sets an internet URL that points to a page containing information about this product
(Inherited from CProduct.) | |
| InventoryAccount |
Gets or sets the General Ledger account used to track inventory of this product.
(Inherited from CStandardProduct.) | |
| ISBN |
Gets or sets the ISBN of the publication.
| |
| IsCommissionable |
Gets or sets IsCommissionable.
(Inherited from CStandardProduct.) | |
| IsComplimentary |
Gets or sets the COMPLIMENTARY field of the CProduct.
(Inherited from CProduct.) | |
| IsFundRaisingItem |
Gets or sets the IS_FR_ITEM field of the CProduct.
(Inherited from CProduct.) | |
| IsInStock |
Gets an indication of whether the CStandardProduct is in stock.
(Inherited from CStandardProduct.) | |
| IsKit |
Gets or sets the IsKit.
(Inherited from CStandardProduct.) | |
| IsOutOfStock |
Gets an indication of whether the CStandardProduct is out of stock.
(Inherited from CStandardProduct.) | |
| IsPremium |
Gets or sets IsPremium.
(Inherited from CStandardProduct.) | |
| IsPSTTaxable |
Gets or sets the PST_TAXABLE field of the CProduct.
(Inherited from CProduct.) | |
| IsStockItem |
Gets or sets the STOCK_ITEM field of the CProduct.
(Inherited from CProduct.) | |
| IsTaxable |
Gets or sets the TAXABLE field of the CProduct.
(Inherited from CProduct.) | |
| KitItems | (Inherited from CProduct.) | |
| Location |
Gets or sets the Location of the product
(Inherited from CStandardProduct.) | |
| LotSerialExistsFlag |
Gets or sets the LOT_SERIAL_EXIST field of the CProduct.
(Inherited from CProduct.) | |
| Media |
Gets or sets the media on which the publication was published.
| |
| MemberUnitPrice |
Gets or sets the Price1.
(Inherited from CStandardProduct.) | |
| NonMemberUnitPrice |
Gets or sets the Price2.
(Inherited from CStandardProduct.) | |
| Note |
Gets or sets the NOTE field of the CProduct.
(Inherited from CProduct.) | |
| OtherDescription |
Gets or sets the OTHER_DESC field of the CProduct.
(Inherited from CProduct.) | |
| Pages |
Gets or sets the number of pages in the publication
| |
| PaymentPriority |
Gets or sets the PAYMENT_PRIORITY field of the CProduct.
(Inherited from CProduct.) | |
| Price1 |
Gets or sets the PRICE_1 field of the CProduct.
(Inherited from CProduct.) | |
| Price2 |
Gets or sets the PRICE_2 field of the CProduct.
(Inherited from CProduct.) | |
| Price3 |
Gets or sets the PRICE_3 field of the CProduct.
(Inherited from CProduct.) | |
| PriceRulesExist |
Gets or sets the an indication of whether special pricing rules exist for this product.
(Inherited from CProduct.) | |
| Prices |
Gets an array of CProductPrice objects for this CStandardProduct.
(Inherited from CStandardProduct.) | |
| ProductCategory |
Gets a CProductCategory based on the ProductCategoryCode.
(Inherited from CStandardProduct.) | |
| ProductCategoryCode |
Gets or sets the ProductCategoryCode.
(Inherited from CStandardProduct.) | |
| ProductCode |
Gets the code identifying this product.
(Inherited from CProduct.) | |
| ProductMajor |
Gets the major portion of the product code.
(Inherited from CProduct.) | |
| ProductMinor |
Gets the minor portion of the product code.
(Inherited from CProduct.) | |
| ProductTypeCode |
Gets or sets the code identifying the product type.
(Inherited from CProduct.) | |
| PromoteProductFlag |
Gets or sets the PROMOTE field of the CProduct.
(Inherited from CProduct.) | |
| ProrateRule |
Gets or sets the PRORATE field of the CProduct.
(Inherited from CProduct.) | |
| PublicationDate |
Gets or sets the date the publication was published.
| |
| Publisher |
Gets or sets the publication's publisher.
| |
| RenewalMonths |
Gets or sets the RENEW_MONTHS field of the CProduct.
(Inherited from CProduct.) | |
| SellOnWeb |
Gets or sets an indication of whether this product may be offered for sale on the website.
(Inherited from CProduct.) | |
| StatusCode |
Gets or sets the STATUS field of the CProduct.
(Inherited from CProduct.) | |
| TaxableValue |
Gets or sets the TAXABLE_VALUE field of the CProduct.
(Inherited from CProduct.) | |
| TaxAuthorityCode |
Gets or sets the TAX_AUTHORITY field of the CProduct.
(Inherited from CProduct.) | |
| ThumbnailUrl |
Gets or sets an internet URL that points to a thumbnail (small) image of this product
(Inherited from CProduct.) | |
| Title |
Gets or sets the name of the product.
(Inherited from CProduct.) | |
| TotalQtyAvailable |
Gets the quantity available.
(Inherited from CStandardProduct.) | |
| UnitOfMeasure |
Gets or sets the UnitOfMeasure.
(Inherited from CStandardProduct.) | |
| ValidWarehouses | Gets a comma-separated list of the valid warehouses. (Inherited from CStandardProduct.) | |
| ViewOnWeb |
Gets or sets an indication of whether this product may be displayed on the website.
(Inherited from CProduct.) | |
| WebDescription |
Gets or sets the WEB_DESC field of the CProduct.
(Inherited from CProduct.) | |
| WebOption |
Gets or sets the WEB_OPTION field of the CProduct.
(Inherited from CProduct.) | |
| Weight |
Gets or sets the Weight.
(Inherited from CStandardProduct.) |