Skip to main content
Definition of all properties for a status monitor.

Constructors

NSStatusMonitor()

Initializes a new instance of the NSStatusMonitor class.

Methods

GetDefaultTask()

Returns: CRMScript.Global.Integer - Default task type for this status.
The default task text is in the text table (since it can be long), and may contain template variables
Example:

GetDefaultTaskText()

Returns: CRMScript.Global.String - Default task text for this status. Example:

GetDeleted()

Returns: CRMScript.Global.Bool - Deleted flag, 1 if this record is deleted (never from the database). Example:

GetDescription()

Returns: CRMScript.Global.String - Description of the status monitor. Example:

GetGenerationStart()

Returns: CRMScript.Global.DateTime - When was the last regeneration started. Example:

GetIsVisual()

Returns: CRMScript.Global.Bool - Should the status be visualized (active) in the client. Example:

GetLastGenerated()

Returns: CRMScript.Global.DateTime - When was this status last generated (i.e., statusValue rows created). Example:

GetName()

Returns: CRMScript.Global.String - Name of status monitor. Example:

GetNeedsUpdate()

Returns: CRMScript.Global.Bool - Is the definition dirty, ie., ALL values are invalid until a recalculation; this flag is set when the status DEFINITION is changed, as opposed to the flag on StatusValue. Example:

GetNumMatches()

Returns: CRMScript.Global.Integer - Number of targets that have this status, this should be the number of rows in StatusValue pointing to this definition, and that have isSignalled set to 1 Example:

GetNumNeedUpdate()

Returns: CRMScript.Global.Integer - Number of targets that had this status, but have their needsUpdate bit set due to some change. Example:

GetOwnerTable()

Returns: CRMScript.Global.Integer - ID of table that owns the status monitor. Example:

GetPictureId()

Returns: CRMScript.Global.Integer - ID of BinaryObject row that contains image for status monitor. Example:

GetRank()

Returns: CRMScript.Global.Integer - Priority rank, in case more than one status is signalled. Lowest wins. Example:

GetStatusMonitorId()

Returns: CRMScript.Global.Integer - Primary key. Example:

SetDefaultTask(Integer)

Returns: CRMScript.Global.Void
The default task text is in the text table (since it can be long), and may contain template variables
Example:

SetDefaultTaskText(String)

Returns: CRMScript.Global.Void Example:

SetDeleted(Bool)

Returns: CRMScript.Global.Void Example:

SetDescription(String)

Returns: CRMScript.Global.Void Example:

SetGenerationStart(DateTime)

Returns: CRMScript.Global.Void Example:

SetIsVisual(Bool)

Returns: CRMScript.Global.Void Example:

SetLastGenerated(DateTime)

Returns: CRMScript.Global.Void Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetNeedsUpdate(Bool)

Returns: CRMScript.Global.Void Example:

SetNumMatches(Integer)

Returns: CRMScript.Global.Void Example:

SetNumNeedUpdate(Integer)

Returns: CRMScript.Global.Void Example:

SetOwnerTable(Integer)

Returns: CRMScript.Global.Void Example:

SetPictureId(Integer)

Returns: CRMScript.Global.Void Example:

SetRank(Integer)

Returns: CRMScript.Global.Void Example:

SetStatusMonitorId(Integer)

Returns: CRMScript.Global.Void Example: