Skip to main content
Specification for a request for history information, by ID. It is possible to ask for rights for a new record (insert), but then you need to supply the parent ID for entities that have parents (projectmember, selectionmember, person).

Constructors

NSHistoryRequest()

Initializes a new instance of the NSHistoryRequest class.

Methods

GetEntityName()

Returns: CRMScript.Global.String - Name of entity to get history for. Example:

GetEntityOrParentId()

Returns: CRMScript.Global.Integer - ID of entity to get history for, or parent entity id if requesting insert rights for an entity that has a parent. Example:

GetRequestForNewRecord()

Returns: CRMScript.Global.Bool - Are we requesting insert rights? If true, then EntityorParentId is taken to mean parent Id. Example:

SetEntityName(String)

Returns: CRMScript.Global.Void Example:

SetEntityOrParentId(Integer)

Returns: CRMScript.Global.Void Example:

SetRequestForNewRecord(Bool)

Returns: CRMScript.Global.Void Example: