Class NSSystemEventEntity
Entity for system events.
Constructors
NSSystemEventEntity()
Initializes a new instance of the NSSystemEventEntity class.
Declaration
NSSystemEventEntity Methods
GetActivatedBy()
Declaration
NSAssociate GetActivatedBy() Examples
NSSystemEventEntity thing;
NSAssociate activatedBy = thing.GetActivatedBy();
Returns
| Type | Description |
| NSAssociate | The associate that first created the SystemEvent. |
GetEta()
Declaration
DateTime GetEta() Examples
NSSystemEventEntity thing;
DateTime eta = thing.GetEta();
Returns
| Type | Description |
| DateTime | Estimated Time of Arrival, i.e., when will this event finish? |
GetEventkey()
Declaration
String GetEventkey() Examples
NSSystemEventEntity thing;
String eventkey = thing.GetEventkey();
Returns
| Type | Description |
| String | Event key, predefined in code. |
GetEventmess()
Declaration
String GetEventmess() Examples
NSSystemEventEntity thing;
String eventmess = thing.GetEventmess();
Returns
| Type | Description |
| String | Message to be shown, entered by administrator. |
GetExtraInfo()
Declaration
Integer GetExtraInfo() Examples
NSSystemEventEntity thing;
Integer extraInfo = thing.GetExtraInfo();
Returns
| Type | Description |
| Integer | Extra information (area ID for prototype rebuild, etc). |
GetOwner()
Declaration
Integer GetOwner() Examples
NSSystemEventEntity thing;
Integer owner = thing.GetOwner();
Returns
| Type | Description |
| Integer | 0, 0, group_id, assoc id (see over). |
GetRegistered()
Declaration
DateTime GetRegistered() Examples
NSSystemEventEntity thing;
DateTime registered = thing.GetRegistered();
Returns
| Type | Description |
| DateTime | Registered when. |
GetScope()
Declaration
Integer GetScope() Examples
NSSystemEventEntity thing;
Integer scope = thing.GetScope();
Returns
| Type | Description |
| Integer | See <xref href="CRMScript.NetServer.SystemEventScope" data-throw-if-not-resolved="false"></xref> |
GetSystemEventId()
Declaration
Integer GetSystemEventId() Examples
NSSystemEventEntity thing;
Integer systemEventId = thing.GetSystemEventId();
Returns
| Type | Description |
| Integer | Primary key. |
GetUpdatedCount()
Declaration
Integer GetUpdatedCount() Examples
NSSystemEventEntity thing;
Integer updatedCount = thing.GetUpdatedCount();
Returns
| Type | Description |
| Integer | Number of updates made to this record. |
SetActivatedBy(NSAssociate)
Declaration
Void SetActivatedBy(NSAssociate activatedBy) Examples
NSSystemEventEntity thing;
NSAssociate activatedBy;
thing.SetActivatedBy(activatedBy);
Parameters
| Type | Name | Description |
| NSAssociate | activatedBy | The associate that first created the SystemEvent. |
Returns
| Type | Description |
| Void |
SetEta(DateTime)
Declaration
Void SetEta(DateTime eta) Examples
NSSystemEventEntity thing;
DateTime eta;
thing.SetEta(eta);
Parameters
| Type | Name | Description |
| DateTime | eta | Estimated Time of Arrival, i.e., when will this event finish? |
Returns
| Type | Description |
| Void |
SetEventkey(String)
Event key, predefined in code
Declaration
Void SetEventkey(String eventkey) Examples
NSSystemEventEntity thing;
String eventkey;
thing.SetEventkey(eventkey);
Parameters
| Type | Name | Description |
| String | eventkey | Event key, predefined in code\ |
Returns
| Type | Description |
| Void |
SetEventmess(String)
Declaration
Void SetEventmess(String eventmess) Examples
NSSystemEventEntity thing;
String eventmess;
thing.SetEventmess(eventmess);
Parameters
| Type | Name | Description |
| String | eventmess | Message to be shown, entered by administrator. |
Returns
| Type | Description |
| Void |
SetExtraInfo(Integer)
Declaration
Void SetExtraInfo(Integer extraInfo) Examples
NSSystemEventEntity thing;
Integer extraInfo;
thing.SetExtraInfo(extraInfo);
Parameters
| Type | Name | Description |
| Integer | extraInfo | Extra information (area id for prototype rebuild, etc). |
Returns
| Type | Description |
| Void |
SetOwner(Integer)
Declaration
Void SetOwner(Integer owner) Examples
NSSystemEventEntity thing;
Integer owner;
thing.SetOwner(owner);
Parameters
| Type | Name | Description |
| Integer | owner | 0, 0, group_id, assoc id (see over). |
Returns
| Type | Description |
| Void |
SetRegistered(DateTime)
Declaration
Void SetRegistered(DateTime registered) Examples
NSSystemEventEntity thing;
DateTime registered;
thing.SetRegistered(registered);
Parameters
| Type | Name | Description |
| DateTime | registered | Registered when. |
Returns
| Type | Description |
| Void |
SetScope(Integer)
Declaration
Void SetScope(Integer scope) Examples
NSSystemEventEntity thing;
Integer scope;
thing.SetScope(scope);
Parameters
| Type | Name | Description |
| Integer | scope | See <xref href="CRMScript.NetServer.SystemEventScope" data-throw-if-not-resolved="false"></xref>. |
Returns
| Type | Description |
| Void |