Skip to main content
The usage history of the currently logged in user is represented as History objects.

Constructors

NSHistory()

Initializes a new instance of the NSHistory class.

Methods

GetAssociateId()

Returns: CRMScript.Global.Integer - Owner of history list. Example:

GetHistoryId()

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

GetHistoryName()

Returns: CRMScript.Global.String - The name of the history list, for instance contact. Represents the history table’s TableId field. Example:

GetId()

Returns: CRMScript.Global.Integer - ID of the history item, for instance a contact id. Represents the history table’s RecordId field, if the item is based on a history table record. Example:

GetItemInfo()

Returns: CRMScript.Global.String - Extra information on the history item, e.g. The Associate Type for an associate or other relevant info. Example:

GetName()

Returns: CRMScript.Global.String - Name of the history item, for instance contact name. Example:

GetRank()

Returns: CRMScript.Global.Integer - Sort order, indexed so it can used for sorting in the query. Example:

SetAssociateId(Integer)

Returns: CRMScript.Global.Void Example:

SetHistoryId(Integer)

Returns: CRMScript.Global.Void Example:

SetHistoryName(String)

Returns: CRMScript.Global.Void Example:

SetId(Integer)

Returns: CRMScript.Global.Void Example:

SetItemInfo(String)

Returns: CRMScript.Global.Void Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetRank(Integer)

Returns: CRMScript.Global.Void Example: