The CFunction type exposes the following members.

Constructors

  NameDescription
Public methodCFunction(IiMISUser, CEvent, String)
This constructor is used to create a new CFunction object.
Public methodCFunction(IiMISUser, String, String)
This constructor is used to instantiate existing CFunction objects from the database.

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 methodGetFuncFeeByRegClass
Gets the CFunctionFee object for this CFunction for the specified registrant class.
Public methodStatic memberGetFunctions
Gets all CFunction objects for the given CEvent.
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 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 methodNewFunctionFee
Creates a new CFunctionFee object for this CFunction.
Public methodStatic memberNumberOfRegistrants
Returns the number of registrations currently stored for the indicated event and function. Canceled registrations are not included in the count.
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.)
Protected methodSave()()()()
Saves this CFunction instance to the database using a new DataServer object.
Public methodSave(DataServer)
Saves the Product along with all of its child records to the database.
(Inherited from CProduct.)
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 propertyActualAttendance
Gets or sets the actual attendance for this CFunction object. This is ACTUAL_ATTENDANCE in the Product_Function table.
Protected propertyAdjustmentAccount
Gets or sets the General Ledger account used to track adjustments to sales of this product.
(Inherited from CProduct.)
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 propertyBeginDateTime
Gets or sets the begin date and time for this CFunction object. This is BEGIN_DATE_TIME in the Product_Function table.
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 propertyCeuAmount
Gets or sets the CEU amount for this CFunction object. This is CEU_AMOUNT in the Product_Function table.
Public propertyCeuType
Gets or sets the CEU type for this CFunction object. This is CEU_TYPE in the Product_Function table.
Protected propertyCommissionRate
Gets or sets the salesperson's commission rate for this product.
(Inherited from CProduct.)
Public propertyConflictCode
Gets or sets the conflict code for this CFunction object. This is CONFLICT_CODE in the Product_Function table.
Protected propertyCostOfGoodsAccount
Gets or sets the General Ledger account used to track the Cost of Goods for this product.
(Inherited from CProduct.)
Public propertyCourseCode
Gets or sets the course code for this CFunction object. This is COURSE_CODE in the Product_Function table.
Protected propertyDecimalPoints
Gets or sets the DECIMAL_POINTS field of the CProduct.
(Inherited from CProduct.)
Public propertyDefaultEarlyFee
Gets or sets the default early registration fee for this CFunction object. This is PRICE_1 in the Product table.
Public propertyDefaultLateFee
Gets or sets the default late registration fee for this CFunction object. This is PRICE_3 in the Product table.
Public propertyDefaultRegularFee
Gets or sets the default regular registration fee for this CFunction object. This is PRICE_2 in the Product table.
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 propertyEditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
Public propertyEndDateTime
Gets or sets the end date and time for this CFunction object. This is END_DATE_TIME in the Product_Function table.
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 propertyEventCode
Gets the event code for this CFunction object. This is PRODUCT_MAJOR in the Product table.
Public propertyExpectedAttendance
Gets or sets the expected attendance for this CFunction object. This is EXPECTED_ATTENDANCE in the Product_Function table.
Protected propertyFairMarketValue
Gets or sets the FAIR_MARKET_VALUE field of the CProduct.
(Inherited from CProduct.)
Public propertyFees
Gets an array of CFunctionFee objects associated with this CFunction object.
Public propertyFinancialEntityCode
Gets or sets a reference to the Financial Entity (Organization) to which this product belongs.
(Inherited from CProduct.)
Public propertyFunctionCode
Gets the function code for this CFunction object. This is PRODUCT_MINOR in the Product table.
Public propertyFunctionTypeCode
Gets or sets the function type code for this CFunction object. This is FUNCTION_TYPE in the Product_Function table.
Public propertyGaraunteedAttendance
Gets or sets the guaranteed attendance for this CFunction object. This is GUARANTEED_ATTENDANCE in the Product_Function table.
Public propertyGroup1
Gets or sets Group1 for this CFunction object. This is GROUP_1 in the Product table.
Public propertyGroup2
Gets or sets Group2 for this CFunction object. This is GROUP_2 in the Product table.
Public propertyGroup3
Gets or sets Group3 for this CFunction object. This is GROUP_3 in the Product table.
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.)
Protected propertyInventoryAccount
Gets or sets the General Ledger account used to track inventory of this product.
(Inherited from CProduct.)
Public propertyIsAcceptingWebRegistration
Gets or sets an indication of whether registrations are accepted from the web for this CFunction object. This is WEB_ENABLED in the Product_Function table.
Public propertyIsAutoEnroll
Gets or sets an indication of whether this CFunction is automatically included in CEvent registrations. This is AUTO_ENROLL in the Product_Function table.
Protected propertyIsCommissionable
Gets or sets the COMMISIONABLE field of the CProduct.
(Inherited from CProduct.)
Public propertyIsComplimentary
Gets or sets an indication of whether this this CFunction object is complimentary. This is COMPLIMENTARY in the Product table.
Public propertyIsCueEntered
Gets or sets an indication of whether CEU is entered for this CFunction object. This is CEU_ENTERED in the Product_Function table.
Public propertyIsFundRaisingFunction
Gets or sets an indication of whether this CFunction is a fundraising function. This is IS_FR_ITEM in the Product_Function table for iMIS 10.6 and later.
Protected propertyIsFundRaisingItem
Gets or sets the IS_FR_ITEM field of the CProduct.
(Inherited from CProduct.)
Public propertyIsKit
Gets or sets the IS_KIT field of the CProduct.
(Inherited from CProduct.)
Public propertyIsParent
Gets or sets an indication of whether this CFunction object is a parent. This is PARENT in the Product_Function table.
Protected propertyIsPremium
Gets or sets the PREMIUM field of the CProduct.
(Inherited from CProduct.)
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 propertyLastTicket
Gets or sets the last ticket number for this CFunction object. This is LAST_TICKET in the Product_Function table.
Protected propertyLocation
Gets or sets the LOCATION field of the CProduct.
(Inherited from CProduct.)
Public propertyLotSerialExistsFlag
Gets or sets LOT_SERIAL_EXIST in the Product table.
Public propertyMaximumAttendees
Gets or sets the maximum attendance for this CFunction object. This is MAXIMUM_ATTENDANCE in the Product_Function table.
Public propertyMaxRegistrationsPerRegistrant
Gets or sets the maximum number of registrations per registrant for this CFunction object. This is WEB_MULTI_REG in the Product_Function table for iMIS 10.2 and later.
Public propertyMinimumAttendance
Gets or sets the minimum attendance for this CFunction object. This is MINIMUM_ATTENDANCE in the Product_Function table.
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 propertyOtherTickets
Gets or sets the other tickets for this CFunction object. This is OTHER_TICKETS in the Product_Function table.
Protected propertyPaymentPriority
Gets or sets the PAYMENT_PRIORITY field of the CProduct.
(Inherited from CProduct.)
Public propertyPostDateTime
Gets or sets the post date and time for this CFunction object. This is POST_DATE_TIME in the Product_Function table.
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 propertyPrintTicket
Gets or sets an indication of whether to print the ticket for this CFunction object. This is PRINT_TICKET in the Product_Function table.
Protected propertyProductCategoryCode
Gets or sets the CATEGORY field of the CProduct.
(Inherited from CProduct.)
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 propertyQuantityAvailable
Gets the quantity of registrations available for this CFunction. Calculated as MaximumAttendees minus the current number of registrants as calculated by NumberOfRegistrants(IiMISUser, String, String).
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 propertySequence
Gets or sets the sequence number for this CFunction object. This is SEQ in the Product_Function table.
Public propertySettings
Gets or sets the number of settings for this CFunction object. This is SETTINGS in the Product_Function table.
Public propertySetupDateTime
Gets or sets the setup date and time for this CFunction object. This is SETUP_DATE_TIME in the Product_Function table.
Public propertySquareFeet
Gets or sets the square feet for this CFunction object. This is SQUARE_FEET in the Product_Function table for iMIS 10.5 and later.
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 propertyTotalRevenue
Gets the total revenue for this CFunction object. This is LTD_INCOME in the Product_Inventory table.
Protected propertyUnitOfMeasure
Gets or sets the UNIT_OF_MEASURE field of the CProduct.
(Inherited from CProduct.)
Public propertyVATCode
Gets or sets VAT tax authority code for this CFunction object. This is TAX_AUTHORITY in the Product table.
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.)
Protected propertyWeight
Gets or sets the WEIGHT field of the CProduct.
(Inherited from CProduct.)

See Also