The CActivity type exposes the following members.

Constructors

  NameDescription
Public methodCActivity(IiMISUser, Int32)
Retrieves the Activity object referenced by sequenceNumber (the key).
Public methodCActivity(IiMISUser, String, String)
Creates a new Activity object of the given type for the given contact.

Methods

  NameDescription
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 methodStatic memberGetActivities(IiMISUser, String, String, array<SqlParameter>[]()[][])
Retrieves a collection of Activities from the database using the supplied SQL FROM and WHERE criteria and parameters. The starting SQL is: SELECT Activity.* FROM Activity {0} WHERE 1 = 1 {1}. So any additional FROM criteria should look something like: ", Product" or "INNER JOIN Product ON Activity.PRODUCT_CODE = Product.PRODUCT_CODE" etc. Any additional WHERE criteria should start with AND, like: "AND Activity.PRODUCT_CODE = Product.PRODUCT_CODE" etc.
Public methodStatic memberGetActivities(DataServer, IiMISUser, String, String, array<SqlParameter>[]()[][])
Retrieves a collection of Activities from the database using the supplied SQL FROM and WHERE criteria and parameters. The starting SQL is: SELECT Activity.* FROM Activity {0} WHERE 1 = 1 {1}. So any additional FROM criteria should look something like: ", Product" or "INNER JOIN Product ON Activity.PRODUCT_CODE = Product.PRODUCT_CODE" etc. Any additional WHERE criteria should start with AND, like: "AND Activity.PRODUCT_CODE = Product.PRODUCT_CODE" etc.
Public methodStatic memberGetContactActivities(IiMISUser, String)
Retrieves all of the Activity objects for the specified Contact.
Public methodStatic memberGetContactActivities(IiMISUser, String, String)
Retrieves all of the Activity objects for the specified Contact with the specified ActivityType.
Public methodStatic memberGetContactActivities(IiMISUser, String, DateTime, DateTime)
Retrieves all of the Activity objects for the specified Contact with a TransactionDate within the specified date range.
Public methodStatic memberGetContactActivities(IiMISUser, String, String, DateTime, DateTime)
Retrieves all of the Activity objects for the specified Contact with the specified ActivityType with a TransactionDate within the specified date range.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
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 methodSave()()()()
Saves the Activity record to the database
Public methodSave(DataServer)
Saves the Activity record to the database
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
Validates the properties of the object to make sure they conform to iMIS business rules.
(Overrides iboBase..::..Validate()()()().)

Fields

  NameDescription
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.)

Properties

  NameDescription
Public propertyActionCodes
A list of codes that represent actions that shoulc be taken with regard to the Activity. For example, for Call type activities this may be codes representing follow-up actions. The meaning is ActivityType specific.
Public propertyActivityType
The type of Activity that this object represents (e.g., Dues, Committee, Gift, etc.)
Public propertyAmount
The monetary amount associated with the Activity if applicable for the Activity type. E.g., the price for product sales, or event registrations
Public propertyAttachSequenceNumber
Deprecated.
Public propertyAttachTotal
Total number of attachments that are associated with this Activity.
Public propertyBatchNumber
The BatchNumber of the batch containing the financial transaction that generated this Activity, if applicable.
Public propertyCampaignCode
The code (key) of the Campaign that generated this Activity, if any
Public propertyCategoryCode
A code used to categorize the the Activity
Public propertyContactId
Key to the Contact to which this Activity is related
Public propertyCustomerTypeCode
The Customer type of the contact to whcih this Activity is related. Must be one of the values defined in iMIS.
Public propertyDescription
A text description of the Activity
Public propertyEditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
Public propertyEffectiveDate
The date at which this Activity is effective, for activity types that are date sensitive
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 propertyFinancialEntityCode
The Organization (Financail Entity) to which this contact record belongs. This is used to distinguish different financial entities within iMIS and is validated against the list setup in iMIS Organization Names.
Public propertyGracePeriod
The grace period, in days, for subscriptions
Public propertyInstituteContactId
The ContactID of the Company associated with the Contact to which this Activity is related
Public propertyIsRecurringRequest
Indicates whether or not the Activity is setup to recur periodically. For example, a monthly donation
Public propertyNextInstallDate
The date that the next installment is set to occur. For recurring Activities like a monthly donation
Public propertyNote
Text notes associated with this Activity
Public propertyNote2
Text notes associated with this Activity, a second set Note
Public propertyObjectData
A binary object stored with the Activity. The meaning is ActivityType specific
Public propertyOriginatingTransactionNumber
The transaction number of the financial transaction that caused this Activity to be created
Public propertyOtherCode
An additional code, ActivityType specific, that further defines the type of Activity
Public propertyOtherContactId
The ContactID of an additional contact that is related to this Activity in some way. Its meaning, if used at all, is ActivityType specific.
Public propertyPayMethod
The method of payment used to pay for this Activity, if applicable.
Public propertyProductCode
The ProductCode of the Product that is related to this Activity
Public propertyQuantity
The associated quantity if the Activity represents something that tracks quantity. E.g., Product sales, Dues, etc.
Public propertySequenceNumber
The key to the Activity
Public propertySolicitorContactId
The ContactID of the person who made the solicitation, for Campaigns.
Public propertySourceCode
A code representing the source of the Activity information. E.g., Mailing, Phone Call, markting campaign
Public propertySourceSystem
The iMIS System (module) that created the Activity record
Public propertyStatusCode
The status of the Activity
Public propertyTaxableValue
The amount from the financial transaction that generated this Activity that is taxable.
Public propertyThruDate
The date thru which this Activity is in effect. E.g., the end date for a subscription. The meaning is ActivityType specific.
Public propertyTicklerDate
The date on which the iMIS user should be reminded of this Activity, e.g. to follow-up with the customer
Public propertyTransactionDate
The date and time that the transaction that caused this Activity to be generated occurred
Public propertyUnits
The number of units associated with this Activity. The meaning is Activity type specific
Public propertyUserField1
A string property that can be setup in iMIS to hold any value less than 256 characters in length. Its meaning, if used at all, is ActivityType specific.
Public propertyUserField2
A string property that can be setup in iMIS to hold any value less than 256 characters in length. Its meaning, if used at all, is ActivityType specific.
Public propertyUserField3
A string property that can be setup in iMIS to hold any value less than 256 characters in length. Its meaning, if used at all, is ActivityType specific.
Public propertyUserField4
A decimal property that can be setup in iMIS to hold any numeric value that fits in 15,4. Its meaning, if used at all, is ActivityType specific.
Public propertyUserField5
A decimal property that can be setup in iMIS to hold any numeric value that fits in 15,4. Its meaning, if used at all, is ActivityType specific.
Public propertyUserField6
A Date/Time property that can be setup in iMIS to hold any Date/Time value. Its meaning, if used at all, is ActivityType specific.
Public propertyUserField7
A Date/Time property that can be setup in iMIS to hold any Date/Time value. Its meaning, if used at all, is ActivityType specific.

See Also