The CContact type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| BillDuesSubscriptions |
Bill dues subscriptions for the given effective date.
| |
| BillNonDuesSubscriptions |
Bill non-dues subscriptions for the given effective date.
| |
| BillSingleNonDuesSubscription |
Bill non-dues subscriptions for the given product for the given effective date.
| |
| CheckAndModifyEditStatus |
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.) | |
| ConvertGuest |
Converts an "IBOGuest" anonymous contact into a real CContact
| |
| CreateUserSecurity |
Adds security information.
| |
| Delete |
iBoBase override to ensure that we get rid of CContactUser when we delete CContact
(Overrides iboBase..::..Delete()()()().) | |
| 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.) | |
| GetAddressByNum |
Gets the address object with the given address num (key to the address) from this contact
| |
| GetAddressByPurpose |
Given the address purpose (AddressPurpose) returns the address with that purpose, if any.
| |
| GetContacts(IiMISUser, String, String, array<SqlParameter>[]()[][]) |
Retrieves a collection of Contacts from the database using the supplied SQL FROM and WHERE criteria and parameters.
The starting SQL is: SELECT Name.* FROM Name {0} WHERE 1 = 1 {1}. So any additional FROM criteria should look something like:
", Name_Note" or "INNER JOIN Name_Note ON Name.ID = Name_Note.ID" etc. Any additional WHERE criteria should start with AND, like:
"AND Name.ID = Name_Note.ID" etc.
| |
| GetContacts(DataServer, IiMISUser, String, String, array<SqlParameter>[]()[][]) |
Retrieves a collection of Contacts from the database using the supplied SQL FROM and WHERE criteria and parameters.
The starting SQL is: SELECT Name.* FROM Name {0} WHERE 1 = 1 {1}. So any additional FROM criteria should look something like:
", Name_Note" or "INNER JOIN Name_Note ON Name.ID = Name_Note.ID" etc. Any additional WHERE criteria should start with AND, like:
"AND Name.ID = Name_Note.ID" etc.
| |
| GetContacts(IiMISUser, String, String, String, array<SqlParameter>[]()[][]) |
Retrieves a collection of Contacts from the database using the supplied SQL FROM and WHERE criteria, ORDER BY clause and parameters.
The starting SQL is: SELECT Name.* FROM Name {0} WHERE 1 = 1 {1} ORDER BY {2}. So any additional FROM criteria should look something like:
", Name_Note" or "INNER JOIN Name_Note ON Name.ID = Name_Note.ID" etc. Any additional WHERE criteria should start with AND, like:
"AND Name.ID = Name_Note.ID" etc. The ORDER BY should look like: "Name.LAST_NAME" or "Name.LAST_NAME DESC" etc.
| |
| GetContacts(DataServer, IiMISUser, String, String, String, array<SqlParameter>[]()[][]) |
Retrieves a collection of Contacts from the database using the supplied SQL FROM and WHERE criteria, ORDER BY clause and parameters.
The starting SQL is: SELECT Name.* FROM Name {0} WHERE 1 = 1 {1} ORDER BY {2}. So any additional FROM criteria should look something like:
", Name_Note" or "INNER JOIN Name_Note ON Name.ID = Name_Note.ID" etc. Any additional WHERE criteria should start with AND, like:
"AND Name.ID = Name_Note.ID" etc. The ORDER BY clause should look like: "Name.LAST_NAME" or "Name.LAST_NAME DESC" etc.
| |
| GetExtTableByName |
Finds the ExtTable instance with the given name for the Contact and returns a reference to it.
| |
| GetExtViewByName |
Finds the ExtView instance with the given name for the Contact and returns a reference to it.
| |
| 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.) | |
| NewActivity |
Adds a new CActivity object to the Contact and returns a reference to it.
| |
| NewAddress()()()() |
Adds a new Address object to the Contact and returns a reference to it.
| |
| NewAddress(String) |
Adds a new Address object to the Contact and returns a reference to it.
| |
| NewExtTableRow |
Adds a new instance of a CExtTable with the given name and returns a reference to it.
| |
| NewExtView |
Adds a new instance of the ExtView with the given name and returns a reference to it.
| |
| NewNote |
Adds a new note object to the Contact and returns a reference to it.
| |
| NewSubscription |
Used to create a new CSubscription | |
| Save()()()() |
Saves the Contact record, along with all of its child records, to the database
| |
| Save(DataServer) |
Saves the Contact record, along with all of its child records, to the database
| |
| Save(DataServer, Boolean) |
Saves the Contact record, along with all of its child records, to the database
| |
| SetContactId |
Sets the ContactId to the value sent in. This method overrides any Automatic ID generation and should
be use carefully.
| |
| SetInstituteContactId |
Sets the InstituteContactId for the contact with the option to flowdown the name and address. The InstituteContactId property
should normally be used, which is the same as calling this function but with true sent for both flowdown options.
Use this method to override one or both of the flowdown options.
| |
| SetInstituteReference |
Sets the CompanyID and CompanyMemberType for a contact. This should only be used for bulk load operations where
the company may not yet exist when its employees or subsidiaries are loaded. Normally, the CompanyID property
should be set instead.
| |
| SetNames |
Calls internal methods to calculcate FullName and LastFirst
(Inherited from CContactBasic.) | |
| ToString | (Inherited from Object.) | |
| UpgradeBasic |
Upgrades a CContactBasic object to a CContact object. Used to take the basic contact
and address information created for orders and the like and turn them into ream Contacts in the
Contact Management system.
| |
| Validate()()()() |
Validates the data set in the contact'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.
(Overrides CContactBasic..::..Validate()()()().) | |
| Validate(DataServer) |
Validates the data set in the contact's properties against cross-property business rules. I 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.
|