Skip to main content
Carrier object for Document.

Constructors

NSDocument()

Initializes a new instance of the NSDocument class.

Methods

GetAssociateFullName()

Returns: CRMScript.Global.String - The associate’s culture formatted fullname (firstname, middleName and lastname). Example:

GetAssociateId()

Returns: CRMScript.Global.Integer - ID of associate whose diary the appointment is in, REQUIREd. Example:

GetAttention()

Returns: CRMScript.Global.String - Attention/salutation. Example:

GetContactId()

Returns: CRMScript.Global.Integer - Contact ID of owning contact, may be 0 Example:

GetContactName()

Returns: CRMScript.Global.String - Contact name. Example:

GetDescription()

Returns: CRMScript.Global.String - The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases. Example:

GetDocumentId()

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

GetDocumentTemplate()

Returns: CRMScript.Global.String Example:

GetHeader()

Returns: CRMScript.Global.String - Visible document name. Example:

GetIsPublished()

Returns: CRMScript.Global.Bool - True if document have an entry in published table. Example:

GetName()

Returns: CRMScript.Global.String - File name. Example:

GetOurRef()

Returns: CRMScript.Global.String - Our reference, searchable field from free-text search. Example:

GetPersonFullName()

Returns: CRMScript.Global.String - The full name of the person this document belongs to. Example:

GetPersonId()

Returns: CRMScript.Global.Integer - Person ID of person the appointment is with, may be 0 Example:

GetProjectId()

Returns: CRMScript.Global.Integer - ID of project referred to, may be 0 Example:

GetProjectName()

Returns: CRMScript.Global.String - Project name. Example:

GetSnum()

Returns: CRMScript.Global.Integer - The sequence number allocated from refcount on used template when creating the document. Example:

GetYourRef()

Returns: CRMScript.Global.String - Your reference. Example:

SetAssociateFullName(String)

Returns: CRMScript.Global.Void Example:

SetAssociateId(Integer)

Returns: CRMScript.Global.Void Example:

SetAttention(String)

Returns: CRMScript.Global.Void Example:

SetContactId(Integer)

Returns: CRMScript.Global.Void Example:

SetContactName(String)

Returns: CRMScript.Global.Void Example:

SetDescription(String)

Returns: CRMScript.Global.Void Example:

SetDocumentId(Integer)

Returns: CRMScript.Global.Void Example:

SetDocumentTemplate(String)

Returns: CRMScript.Global.Void Example:

SetHeader(String)

Returns: CRMScript.Global.Void Example:

SetIsPublished(Bool)

Returns: CRMScript.Global.Void Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetOurRef(String)

Returns: CRMScript.Global.Void Example:

SetPersonFullName(String)

Returns: CRMScript.Global.Void Example:

SetPersonId(Integer)

Returns: CRMScript.Global.Void Example:

SetProjectId(Integer)

Returns: CRMScript.Global.Void Example:

SetProjectName(String)

Returns: CRMScript.Global.Void Example:

SetSnum(Integer)

Returns: CRMScript.Global.Void Example:

SetYourRef(String)

Returns: CRMScript.Global.Void Example: