The CContact type exposes the following members.

Methods

  NameDescription
Public methodBillDuesSubscriptions
Bill dues subscriptions for the given effective date.
Public methodBillNonDuesSubscriptions
Bill non-dues subscriptions for the given effective date.
Public methodBillSingleNonDuesSubscription
Bill non-dues subscriptions for the given product for the given effective date.
Protected methodCheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Public methodConvertGuest
Converts an "IBOGuest" anonymous contact into a real CContact
Public methodCreateUserSecurity
Adds security information.
Public methodDelete
iBoBase override to ensure that we get rid of CContactUser when we delete CContact
(Overrides iboBase..::..Delete()()()().)
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 methodGetAddressByNum
Gets the address object with the given address num (key to the address) from this contact
Public methodGetAddressByPurpose
Given the address purpose (AddressPurpose) returns the address with that purpose, if any.
Public methodStatic memberGetContacts(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.
Public methodStatic memberGetContacts(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.
Public methodStatic memberGetContacts(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.
Public methodStatic memberGetContacts(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.
Public methodGetExtTableByName
Finds the ExtTable instance with the given name for the Contact and returns a reference to it.
Public methodGetExtViewByName
Finds the ExtView instance with the given name for the Contact and returns a reference to it.
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 methodNewActivity
Adds a new CActivity object to the Contact and returns a reference to it.
Public methodNewAddress()()()()
Adds a new Address object to the Contact and returns a reference to it.
Public methodNewAddress(String)
Adds a new Address object to the Contact and returns a reference to it.
Public methodNewExtTableRow
Adds a new instance of a CExtTable with the given name and returns a reference to it.
Public methodNewExtView
Adds a new instance of the ExtView with the given name and returns a reference to it.
Public methodNewNote
Adds a new note object to the Contact and returns a reference to it.
Public methodNewSubscription
Used to create a new CSubscription
Public methodSave()()()()
Saves the Contact record, along with all of its child records, to the database
Public methodSave(DataServer)
Saves the Contact record, along with all of its child records, to the database
Public methodSave(DataServer, Boolean)
Saves the Contact record, along with all of its child records, to the database
Public methodSetContactId
Sets the ContactId to the value sent in. This method overrides any Automatic ID generation and should be use carefully.
Public methodSetInstituteContactId
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.
Public methodSetInstituteReference
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.
Public methodSetNames
Calls internal methods to calculcate FullName and LastFirst
(Inherited from CContactBasic.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodStatic memberUpgradeBasic
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.
Public methodValidate()()()()
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()()()().)
Public methodValidate(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.

See Also