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