ICustomerContact

class ICustomerContact

Bases: ImpactCOMWrapperBase

Description:

Represents a customer contact in the database.

Remarks:

Introduced in Impact 6.0.0.83.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property active

Gets Active.

Description:

A boolean indicating whether the customer contact is active.

Remarks:

After assigning a value to Active you must call do_update to update the database. Multiple properties can be updated in a single do_update call.

Returns:

The value of Active.

Return type:

active (bool)

property addresses

Gets Addresses.

Description:

Returns the IAddresses associated with the contact.

Remarks:

Introduced in Impact 11.0.0.23

Returns:

The value of Addresses.

Return type:

addresses (IAddresses)

property documents

Gets Documents.

Description:

An IDocuments collection representing all the documents associated with this item.

Remarks:

Introduced in Impact 9.0.0.83.

Returns:

The value of Documents.

Return type:

documents (IDocuments)

property email

Gets Email.

Description:

The email address for the contact.

Remarks:

After assigning a value to Email you must call do_update to update the database. Multiple properties can be updated in a single do_update call.

Returns:

The value of Email.

Return type:

email (str)

property fax

Gets Fax.

Description:

The fax number of the contact.

Remarks:

After assigning a value to Fax you must call do_update to update the database. Multiple properties can be updated in a single do_update call.

Returns:

The value of Fax.

Return type:

fax (str)

property full_name

Gets full_name.

Description:

The full name of the contact.

Remarks:

After assigning a value to full_name you must call do_update to update the database. Multiple properties can be updated in a single do_update call.

Returns:

The value of full_name.

Return type:

full_name (str)

property job_title

Gets job_title.

Description:

The job title of the contact.

Remarks:

After assigning a value to job_title you must call do_update to update the database. Multiple properties can be updated in a single do_update call.

Returns:

The value of job_title.

Return type:

job_title (str)

property key

Gets Key.

Description:

The key of the contact.

Returns:

The value of Key.

Return type:

key (int)

property mobile

Gets Mobile.

Description:

The mobile phone number of the contact.

Remarks:

After assigning a value to Mobile you must call do_update to update the database. Multiple properties can be updated in a single do_update call.

Returns:

The value of Mobile.

Return type:

mobile (str)

property phone

Gets Phone.

Description:

The phone number of the contact.

Remarks:

After assigning a value to Phone you must call do_update to update the database. Multiple properties can be updated in a single do_update call.

Returns:

The value of Phone.

Return type:

phone (str)

property title

Gets Title.

Description:

The title of the contact.

Remarks:

After assigning a value to Title you must call do_update to update the database. Multiple properties can be updated in a single do_update call.

Returns:

The value of Title.

Return type:

title (str)

property values

Gets Values.

Description:

An IDatabaseValues object that can be used to read/write the contacts associated database values.

Remarks:

The Values object can be used to directly read/write database values, extreme care should be taken when using this object.

Returns:

The value of Values.

Return type:

values (IDatabaseValues)

do_update()
Description:

Update the modified contact values directly in the database.

Remarks:

When modifying one or more contact properties update all the values with a single call to do_update.

Examples