The CPublicationProduct type exposes the following members.

Constructors

  NameDescription
Public methodCPublicationProduct(IiMISUser, String)
This constructor instantiates an existing CPublicationProduct stored in the database.
Public methodCPublicationProduct(IiMISUser, String, String)
This constructor creates a new CPublicationProduct.

Methods

  NameDescription
Public methodAddKitItem(CStandardProduct)
Adds quantity 1 of the provided product to the kit that comprises this CProduct.
(Inherited from CProduct.)
Public methodAddKitItem(CStandardProduct, Double, String)
Adds the specified quantity of the provided product to the kit that comprises this CProduct.
(Inherited from CProduct.)
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 methodGetExtendedPrice
Calculates the extended price of the given quantity of this CStandardProduct for a customer with the supplied customer type.
(Inherited from CStandardProduct.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetKitItem
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.)
Public methodGetQtyAvailable
Gets the quantity available for this CStandardProduct in the specified warehouse.
(Inherited from CStandardProduct.)
Public methodGetQuantityAvailable
Gets the quantity available for orders other than the one specified.
(Inherited from CStandardProduct.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWarehouseBin
Returns the BIN field of the product inventory for the given warehouse.
(Inherited from CStandardProduct.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveKitItem(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.)
Public methodRemoveKitItem(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.)
Public methodSave()()()()
Saves the CPublicationProduct along with all of its child records to the database using a new DataServer object.
(Overrides CProduct..::..Save()()()().)
Public methodSave(DataServer)
Saves the CPublicationProduct along with all of its child records to the database using the supplied DataServer object.
(Overrides CProduct..::..Save(DataServer).)
Public methodSave(DataServer, Boolean)
Saves the Product along with all of its child records to the database.
(Inherited from CProduct.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
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

  NameDescription
Protected fieldmAdjustmentAccount
The general ledger account to be used for adjustments.
(Inherited from CProduct.)
Protected fieldmAppealCode
The default AppealCode associated with this product.
(Inherited from CProduct.)
Protected fieldmApplyImageFlag
Contains the value of the APPLY_IMAGE field of the Product table.
(Inherited from CProduct.)
Protected fieldmApplyInfoFlag
Contains the value of the APPLY_INFO field of the Product table.
(Inherited from CProduct.)
Protected fieldmApplyThumbnailFlag
Contains the value of the APPLY_THUMBNAIL field of the Product table.
(Inherited from CProduct.)
Protected fieldmAttributes
Contains the value of the ATTRIBUTES field of the Product table.
(Inherited from CProduct.)
Protected fieldmCampaignCode
The default CampaignCode associated with this product.
(Inherited from CProduct.)
Protected fieldmCOGAccount
The general ledger account for cost-of-goods sold.
(Inherited from CProduct.)
Protected fieldmCommissionRate
The commission rate on this product.
(Inherited from CProduct.)
Protected fieldmDecimalPoints
Contains the value of the DECIMAL_POINTS field of the Product table.
(Inherited from CProduct.)
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.)
Protected fieldmFairMarketValue
The fair market value for this product.
(Inherited from CProduct.)
Protected fieldmGroup1
Contains the value of the GROUP_1 field of the Product table.
(Inherited from CProduct.)
Protected fieldmGroup2
Contains the value of the GROUP_2 field of the Product table.
(Inherited from CProduct.)
Protected fieldmGroup3
Contains the value of the GROUP_3 field of the Product table.
(Inherited from CProduct.)
Protected fieldmInventoryAccount
The general ledger account to be used for inventory.
(Inherited from CProduct.)
Protected fieldmIsCommissionable
Whether commission can be paid on this product.
(Inherited from CProduct.)
Protected fieldmIsComplimentary
Whether this product is complimentary.
(Inherited from CProduct.)
Protected fieldmIsFRItem
Whether this product is a fundraising item.
(Inherited from CProduct.)
Protected fieldmIsKit
Indicates whether the product is a kit.
(Inherited from CProduct.)
Protected fieldmIsPremium
Indicates whether this product is a premium for a fundraising effort.
(Inherited from CProduct.)
Protected fieldmKitItems
A collection of CKitItem objects representing the constituent products that are part of this kit product.
(Inherited from CProduct.)
Protected fieldmLocation
Contains the value of the LOCATION field of the Product table.
(Inherited from CProduct.)
Protected fieldmLotSerialExist
Contains the value of the LOT_SERIAL_EXIST field of the Product table.
(Inherited from CProduct.)
Protected fieldmNote
The note for this product.
(Inherited from CProduct.)
Protected fieldmOtherDescription
Contains the value of the OTHER_DESC field of the Product table.
(Inherited from CProduct.)
Protected fieldmPLPCode
Contains the value of the PLP_CODE field of the Product table.
(Inherited from CProduct.)
Protected fieldmPrice1
Contains the value of the PRICE_1 field of the Product table.
(Inherited from CProduct.)
Protected fieldmPrice2
Contains the value of the PRICE_2 field of the Product table.
(Inherited from CProduct.)
Protected fieldmPrice3
Contains the value of the PRICE_3 field of the Product table.
(Inherited from CProduct.)
Protected fieldmProductCategoryCode
The product category code for this product.
(Inherited from CProduct.)
Protected fieldmProrate
Contains the value of the PRORATE field of the Product table.
(Inherited from CProduct.)
Protected fieldmRenewMonths
Contains the value of the RENEW_MONTHS field of the Product table.
(Inherited from CProduct.)
Protected fieldmTaxableValue
The taxable value of this product.
(Inherited from CProduct.)
Protected fieldmUnitOfMeasure
The unit of measurement for this product.
(Inherited from CProduct.)
Protected fieldmWeight
The unit weight for this product.
(Inherited from CProduct.)

Properties

  NameDescription
Public propertyAdjustmentAccount
Gets or sets the General Ledger account used to track adjustments to sales of this product.
(Inherited from CStandardProduct.)
Public propertyAppealCode
Gets or sets the APPEAL_CODE field of the CProduct.
(Inherited from CProduct.)
Public propertyApplyImageFlag
Gets or sets the APPLY_IMAGE field of the CProduct.
(Inherited from CProduct.)
Public propertyApplyInfoFlag
Gets or sets the APPLY_INFO field of the CProduct.
(Inherited from CProduct.)
Public propertyApplyThumbnailFlag
Gets or sets the APPLY_THUMBNAIL field of the CProduct.
(Inherited from CProduct.)
Protected propertyAttributes
Gets or sets the ATTRIBUTES field of the CProduct.
(Inherited from CProduct.)
Public propertyAuthor
Gets or sets the publication's author.
Public propertyCampaignCode
Gets or sets the CAMPAIGN_CODE field of the CProduct.
(Inherited from CProduct.)
Public propertyCatalogDescription
Gets or sets the CATALOG_DESC field of the CProduct.
(Inherited from CProduct.)
Public propertyCommissionRate
Gets or sets the salesperson's commission rate for this product.
(Inherited from CStandardProduct.)
Public propertyCostOfGoodsAccount
Gets or sets the General Ledger account used to track the Cost of Goods for this product.
(Inherited from CStandardProduct.)
Protected propertyDecimalPoints
Gets or sets the DECIMAL_POINTS field of the CProduct.
(Inherited from CProduct.)
Public propertyDefaultBin
Gets the BIN field of the Product_Inventory table for the default warehouse for this CStandardProduct.
(Inherited from CStandardProduct.)
Public propertyDefaultWarehouse
Gets or sets the Location.
(Inherited from CStandardProduct.)
Public propertyDeferredIncomeAccount
Gets or sets the General Ledger account into which deferred income from the sales of this product should be credited.
(Inherited from CProduct.)
Public propertyDescription
Gets or sets the product's description.
(Inherited from CProduct.)
Public propertyEdition
Gets or sets the publication's edition.
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 propertyFairMarketValue
Gets or sets the fair market value associated with this product.
(Inherited from CStandardProduct.)
Public propertyFinancialEntityCode
Gets or sets a reference to the Financial Entity (Organization) to which this product belongs.
(Inherited from CProduct.)
Protected propertyGroup1
Gets or sets the GROUP_1 field of the CProduct.
(Inherited from CProduct.)
Protected propertyGroup2
Gets or sets the GROUP_2 field of the CProduct.
(Inherited from CProduct.)
Protected propertyGroup3
Gets or sets the GROUP_3 field of the CProduct.
(Inherited from CProduct.)
Public propertyImageUrl
Gets or sets an internet URL that points to an image of this product
(Inherited from CProduct.)
Public propertyIncomeAccount
Gets or sets the General Ledger account into which income from the sales of this product should be credited.
(Inherited from CProduct.)
Public propertyInfoUrl
Gets or sets an internet URL that points to a page containing information about this product
(Inherited from CProduct.)
Public propertyInventoryAccount
Gets or sets the General Ledger account used to track inventory of this product.
(Inherited from CStandardProduct.)
Public propertyISBN
Gets or sets the ISBN of the publication.
Public propertyIsCommissionable
Gets or sets IsCommissionable.
(Inherited from CStandardProduct.)
Protected propertyIsComplimentary
Gets or sets the COMPLIMENTARY field of the CProduct.
(Inherited from CProduct.)
Protected propertyIsFundRaisingItem
Gets or sets the IS_FR_ITEM field of the CProduct.
(Inherited from CProduct.)
Public propertyIsInStock
Gets an indication of whether the CStandardProduct is in stock.
(Inherited from CStandardProduct.)
Public propertyIsKit
Gets or sets the IsKit.
(Inherited from CStandardProduct.)
Public propertyIsOutOfStock
Gets an indication of whether the CStandardProduct is out of stock.
(Inherited from CStandardProduct.)
Public propertyIsPremium
Gets or sets IsPremium.
(Inherited from CStandardProduct.)
Public propertyIsPSTTaxable
Gets or sets the PST_TAXABLE field of the CProduct.
(Inherited from CProduct.)
Public propertyIsStockItem
Gets or sets the STOCK_ITEM field of the CProduct.
(Inherited from CProduct.)
Public propertyIsTaxable
Gets or sets the TAXABLE field of the CProduct.
(Inherited from CProduct.)
Public propertyKitItems
Gets an array of CKitItem objects for this CProduct. If the CProduct is not a kit, returns null.
(Inherited from CProduct.)
Public propertyLocation
Gets or sets the Location of the product
(Inherited from CStandardProduct.)
Protected propertyLotSerialExistsFlag
Gets or sets the LOT_SERIAL_EXIST field of the CProduct.
(Inherited from CProduct.)
Public propertyMedia
Gets or sets the media on which the publication was published.
Public propertyMemberUnitPrice
Gets or sets the Price1.
(Inherited from CStandardProduct.)
Public propertyNonMemberUnitPrice
Gets or sets the Price2.
(Inherited from CStandardProduct.)
Public propertyNote
Gets or sets the NOTE field of the CProduct.
(Inherited from CProduct.)
Public propertyOtherDescription
Gets or sets the OTHER_DESC field of the CProduct.
(Inherited from CProduct.)
Public propertyPages
Gets or sets the number of pages in the publication
Protected propertyPaymentPriority
Gets or sets the PAYMENT_PRIORITY field of the CProduct.
(Inherited from CProduct.)
Protected propertyPrice1
Gets or sets the PRICE_1 field of the CProduct.
(Inherited from CProduct.)
Protected propertyPrice2
Gets or sets the PRICE_2 field of the CProduct.
(Inherited from CProduct.)
Protected propertyPrice3
Gets or sets the PRICE_3 field of the CProduct.
(Inherited from CProduct.)
Public propertyPriceRulesExist
Gets or sets the an indication of whether special pricing rules exist for this product.
(Inherited from CProduct.)
Public propertyPrices
Gets an array of CProductPrice objects for this CStandardProduct.
(Inherited from CStandardProduct.)
Public propertyProductCategory
Gets a CProductCategory based on the ProductCategoryCode.
(Inherited from CStandardProduct.)
Public propertyProductCategoryCode
Gets or sets the ProductCategoryCode.
(Inherited from CStandardProduct.)
Public propertyProductCode
Gets the code identifying this product.
(Inherited from CProduct.)
Public propertyProductMajor
Gets the major portion of the product code.
(Inherited from CProduct.)
Public propertyProductMinor
Gets the minor portion of the product code.
(Inherited from CProduct.)
Public propertyProductTypeCode
Gets or sets the code identifying the product type.
(Inherited from CProduct.)
Public propertyPromoteProductFlag
Gets or sets the PROMOTE field of the CProduct.
(Inherited from CProduct.)
Protected propertyProrateRule
Gets or sets the PRORATE field of the CProduct.
(Inherited from CProduct.)
Public propertyPublicationDate
Gets or sets the date the publication was published.
Public propertyPublisher
Gets or sets the publication's publisher.
Protected propertyRenewalMonths
Gets or sets the RENEW_MONTHS field of the CProduct.
(Inherited from CProduct.)
Public propertySellOnWeb
Gets or sets an indication of whether this product may be offered for sale on the website.
(Inherited from CProduct.)
Public propertyStatusCode
Gets or sets the STATUS field of the CProduct.
(Inherited from CProduct.)
Public propertyTaxableValue
Gets or sets the TAXABLE_VALUE field of the CProduct.
(Inherited from CProduct.)
Public propertyTaxAuthorityCode
Gets or sets the TAX_AUTHORITY field of the CProduct.
(Inherited from CProduct.)
Public propertyThumbnailUrl
Gets or sets an internet URL that points to a thumbnail (small) image of this product
(Inherited from CProduct.)
Public propertyTitle
Gets or sets the name of the product.
(Inherited from CProduct.)
Public propertyTotalQtyAvailable
Gets the quantity available.
(Inherited from CStandardProduct.)
Public propertyUnitOfMeasure
Gets or sets the UnitOfMeasure.
(Inherited from CStandardProduct.)
Public propertyValidWarehouses
Gets a comma-separated list of the valid warehouses.
(Inherited from CStandardProduct.)
Public propertyViewOnWeb
Gets or sets an indication of whether this product may be displayed on the website.
(Inherited from CProduct.)
Public propertyWebDescription
Gets or sets the WEB_DESC field of the CProduct.
(Inherited from CProduct.)
Public propertyWebOption
Gets or sets the WEB_OPTION field of the CProduct.
(Inherited from CProduct.)
Public propertyWeight
Gets or sets the Weight.
(Inherited from CStandardProduct.)

See Also