Class NSContactActivity
Carrier object for ContactActivity.
Syntax
Constructors
NSContactActivity()
Initializes a new instance of the NSContactActivity class.
Declaration
NSContactActivity
Methods
GetAction()
Carrier object for ContactActivity.
Declaration
Integer GetAction()
Returns
Type | Description |
---|---|
Integer | The activity that has occurred on this contact. See ContactAction. |
Examples
NSContactActivity thing;
Integer action = thing.GetAction();
GetActionId()
Carrier object for ContactActivity.
Declaration
Integer GetActionId()
Returns
Type | Description |
---|---|
Integer | ID of the last element an activity was found on () AppointmentId, ContactId, or PersonId). |
Examples
NSContactActivity thing;
Integer actionId = thing.GetActionId();
GetActionTime()
Carrier object for ContactActivity.
Declaration
DateTime GetActionTime()
Returns
Type | Description |
---|---|
DateTime | The time of the activity. If more than one activity has occurred on the contact, the last activity time is shown. |
Examples
NSContactActivity thing;
DateTime actionTime = thing.GetActionTime();
GetActivityPersonId()
Carrier object for ContactActivity.
Declaration
Integer GetActivityPersonId()
Returns
Type | Description |
---|---|
Integer | ID of the person causing the activity. |
Examples
NSContactActivity thing;
Integer activityPersonId = thing.GetActivityPersonId();
GetActivityPersonName()
Carrier object for ContactActivity.
Declaration
String GetActivityPersonName()
Returns
Type | Description |
---|---|
String | The person that carried out the activity on the contact. |
Examples
NSContactActivity thing;
String activityPersonName = thing.GetActivityPersonName();
GetAssociateFullName()
Carrier object for ContactActivity.
Declaration
String GetAssociateFullName()
Returns
Type | Description |
---|---|
String | The contact's owner. |
Examples
NSContactActivity thing;
String associateFullName = thing.GetAssociateFullName();
GetAssociateId()
Carrier object for ContactActivity.
Declaration
Integer GetAssociateId()
Returns
Type | Description |
---|---|
Integer | Our contact. |
Examples
NSContactActivity thing;
Integer associateId = thing.GetAssociateId();
GetCategory()
Carrier object for ContactActivity.
Declaration
String GetCategory()
Returns
Type | Description |
---|---|
String | The contact category. |
Examples
NSContactActivity thing;
String category = thing.GetCategory();
GetContactId()
Carrier object for ContactActivity.
Declaration
Integer GetContactId()
Returns
Type | Description |
---|---|
Integer | Primary key. |
Examples
NSContactActivity thing;
Integer contactId = thing.GetContactId();
GetDepartment()
Carrier object for ContactActivity.
Declaration
String GetDepartment()
Returns
Type | Description |
---|---|
String | Department. |
Examples
NSContactActivity thing;
String department = thing.GetDepartment();
GetName()
Carrier object for ContactActivity.
Declaration
String GetName()
Returns
Type | Description |
---|---|
String | Contact name. |
Examples
NSContactActivity thing;
String name = thing.GetName();
GetOrgNr()
Carrier object for ContactActivity.
Declaration
String GetOrgNr()
Returns
Type | Description |
---|---|
String | VAT number or similar. |
Examples
NSContactActivity thing;
String orgNr = thing.GetOrgNr();
GetPersonId()
Carrier object for ContactActivity.
Declaration
Integer GetPersonId()
Returns
Type | Description |
---|---|
Integer | The person Id. |
Examples
NSContactActivity thing;
Integer personId = thing.GetPersonId();
GetURL()
Carrier object for ContactActivity.
Declaration
String GetURL()
Returns
Type | Description |
---|---|
String | URL address. |
Examples
NSContactActivity thing;
String uRL = thing.GetURL();
SetAction(Integer)
Carrier object for ContactActivity.
Declaration
Void SetAction(Integer action)
Parameters
Type | Name | Description |
---|---|---|
Integer | action | The activity that has occurred on this contact. See ContactAction. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
Integer action;
thing.SetAction(action);
SetActionId(Integer)
Carrier object for ContactActivity.
Declaration
Void SetActionId(Integer actionId)
Parameters
Type | Name | Description |
---|---|---|
Integer | actionId | ID of the last element an activity was found on (AppointmentId, ContactId, or PersonId). |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
Integer actionId;
thing.SetActionId(actionId);
SetActionTime(DateTime)
Carrier object for ContactActivity.
Declaration
Void SetActionTime(DateTime actionTime)
Parameters
Type | Name | Description |
---|---|---|
DateTime | actionTime | The time of the activity. If more than one activity has occurred on the contact, the last activity time is shown. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
DateTime actionTime;
thing.SetActionTime(actionTime);
SetActivityPersonId(Integer)
Carrier object for ContactActivity.
Declaration
Void SetActivityPersonId(Integer activityPersonId)
Parameters
Type | Name | Description |
---|---|---|
Integer | activityPersonId | ID of the person causing the activity. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
Integer activityPersonId;
thing.SetActivityPersonId(activityPersonId);
SetActivityPersonName(String)
Carrier object for ContactActivity.
Declaration
Void SetActivityPersonName(String activityPersonName)
Parameters
Type | Name | Description |
---|---|---|
String | activityPersonName | The person that carried out the activity on the contact. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
String activityPersonName;
thing.SetActivityPersonName(activityPersonName);
SetAssociateFullName(String)
Carrier object for ContactActivity.
Declaration
Void SetAssociateFullName(String associateFullName)
Parameters
Type | Name | Description |
---|---|---|
String | associateFullName | The contact's owner. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
String associateFullName;
thing.SetAssociateFullName(associateFullName);
SetAssociateId(Integer)
Carrier object for ContactActivity.
Declaration
Void SetAssociateId(Integer associateId)
Parameters
Type | Name | Description |
---|---|---|
Integer | associateId | Our contact. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
Integer associateId;
thing.SetAssociateId(associateId);
SetCategory(String)
Carrier object for ContactActivity.
Declaration
Void SetCategory(String category)
Parameters
Type | Name | Description |
---|---|---|
String | category | The contact category. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
String category;
thing.SetCategory(category);
SetContactId(Integer)
Carrier object for ContactActivity.
Declaration
Void SetContactId(Integer contactId)
Parameters
Type | Name | Description |
---|---|---|
Integer | contactId | Primary key. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
Integer contactId;
thing.SetContactId(contactId);
SetDepartment(String)
Carrier object for ContactActivity.
Declaration
Void SetDepartment(String department)
Parameters
Type | Name | Description |
---|---|---|
String | department | Department. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
String department;
thing.SetDepartment(department);
SetName(String)
Carrier object for ContactActivity.
Declaration
Void SetName(String name)
Parameters
Type | Name | Description |
---|---|---|
String | name | Contact name. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
String name;
thing.SetName(name);
SetOrgNr(String)
Carrier object for ContactActivity.
Declaration
Void SetOrgNr(String orgNr)
Parameters
Type | Name | Description |
---|---|---|
String | orgNr | VAT number or similar. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
String orgNr;
thing.SetOrgNr(orgNr);
SetPersonId(Integer)
Carrier object for ContactActivity.
Declaration
Void SetPersonId(Integer personId)
Parameters
Type | Name | Description |
---|---|---|
Integer | personId | The person Id. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
Integer personId;
thing.SetPersonId(personId);
SetURL(String)
Carrier object for ContactActivity.
Declaration
Void SetURL(String uRL)
Parameters
Type | Name | Description |
---|---|---|
String | uRL | URL address. |
Returns
Type | Description |
---|---|
Void |
Examples
NSContactActivity thing;
String uRL;
thing.SetURL(uRL);