The CActivity type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CActivity(IiMISUser, Int32) |
Retrieves the Activity object referenced by sequenceNumber (the key).
| |
| CActivity(IiMISUser, String, String) |
Creates a new Activity object of the given type for the given contact.
|
Methods
| Name | Description | |
|---|---|---|
| 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.) | |
| GetActivities(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.
| |
| GetActivities(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.
| |
| GetContactActivities(IiMISUser, String) |
Retrieves all of the Activity objects for the specified Contact.
| |
| GetContactActivities(IiMISUser, String, String) |
Retrieves all of the Activity objects for the specified Contact with the specified ActivityType.
| |
| GetContactActivities(IiMISUser, String, DateTime, DateTime) |
Retrieves all of the Activity objects for the specified Contact with a TransactionDate within the specified date range.
| |
| GetContactActivities(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.
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Save()()()() |
Saves the Activity record to the database
| |
| Save(DataServer) |
Saves the Activity record to the database
| |
| ToString | (Inherited from Object.) | |
| Validate |
Validates the properties of the object to make sure they conform to iMIS business rules.
(Overrides iboBase..::..Validate()()()().) |
Fields
| Name | Description | |
|---|---|---|
| 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.) |
Properties
| Name | Description | |
|---|---|---|
| ActionCodes |
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.
| |
| ActivityType |
The type of Activity that this object represents (e.g., Dues, Committee, Gift, etc.)
| |
| Amount |
The monetary amount associated with the Activity if applicable for the Activity type. E.g., the price for product sales, or event registrations
| |
| AttachSequenceNumber |
Deprecated.
| |
| AttachTotal |
Total number of attachments that are associated with this Activity.
| |
| BatchNumber |
The BatchNumber of the batch containing the financial transaction that generated this Activity, if applicable.
| |
| CampaignCode |
The code (key) of the Campaign that generated this Activity, if any
| |
| CategoryCode |
A code used to categorize the the Activity
| |
| ContactId |
Key to the Contact to which this Activity is related
| |
| CustomerTypeCode |
The Customer type of the contact to whcih this Activity is related. Must be one of the values defined in iMIS.
| |
| Description |
A text description of the Activity
| |
| EditStatus |
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus (Inherited from iboBase.) | |
| EffectiveDate |
The date at which this Activity is effective, for activity types that are date sensitive
| |
| 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.) | |
| FinancialEntityCode |
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. | |
| GracePeriod |
The grace period, in days, for subscriptions
| |
| InstituteContactId |
The ContactID of the Company associated with the Contact to which this Activity is related
| |
| IsRecurringRequest |
Indicates whether or not the Activity is setup to recur periodically. For example, a monthly donation
| |
| NextInstallDate |
The date that the next installment is set to occur. For recurring Activities like a monthly donation
| |
| Note |
Text notes associated with this Activity
| |
| Note2 |
Text notes associated with this Activity, a second set Note | |
| ObjectData |
A binary object stored with the Activity. The meaning is ActivityType specific
| |
| OriginatingTransactionNumber |
The transaction number of the financial transaction that caused this Activity to be created
| |
| OtherCode |
An additional code, ActivityType specific, that further defines the type of Activity
| |
| OtherContactId |
The ContactID of an additional contact that is related to this Activity in some way. Its meaning,
if used at all, is ActivityType specific.
| |
| PayMethod |
The method of payment used to pay for this Activity, if applicable.
| |
| ProductCode |
The ProductCode of the Product that is related to this Activity
| |
| Quantity |
The associated quantity if the Activity represents something that tracks quantity. E.g., Product sales, Dues, etc.
| |
| SequenceNumber |
The key to the Activity
| |
| SolicitorContactId |
The ContactID of the person who made the solicitation, for Campaigns.
| |
| SourceCode |
A code representing the source of the Activity information. E.g., Mailing, Phone Call, markting campaign
| |
| SourceSystem |
The iMIS System (module) that created the Activity record
| |
| StatusCode |
The status of the Activity
| |
| TaxableValue |
The amount from the financial transaction that generated this Activity that is taxable.
| |
| ThruDate |
The date thru which this Activity is in effect. E.g., the end date for a subscription. The meaning is ActivityType specific.
| |
| TicklerDate |
The date on which the iMIS user should be reminded of this Activity, e.g. to follow-up with the customer
| |
| TransactionDate |
The date and time that the transaction that caused this Activity to be generated occurred
| |
| Units |
The number of units associated with this Activity. The meaning is Activity type specific
| |
| UserField1 |
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.
| |
| UserField2 |
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.
| |
| UserField3 |
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.
| |
| UserField4 |
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.
| |
| UserField5 |
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.
| |
| UserField6 |
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.
| |
| UserField7 |
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.
|