Skip to main content
The Project Service. The service implements all services working with the Project object.

Constructors

NSProjectEntity()

Initializes a new instance of the NSProjectEntity class.

Methods

Returns: CRMScript.Global.Integer - The number of active ERP links. Example:
Returns: CRMScript.Global.Integer - Number of active links to documents, other appointments, and such. Example:

GetActiveStatusMonitorId()

Returns: CRMScript.Global.Integer - Active status monitor identity with the lowest rank for project. Example:

GetAssociate()

Returns: CRMScript.NetServer.NSAssociate - The person that created the project. Example:

GetCompleted()

Returns: CRMScript.Global.Bool - Done (0=false, 1=true); implies changes in which fields are shown in GUI, as well as which fields can be updated. Example:

GetCreatedBy()

Returns: CRMScript.NetServer.NSAssociate - The person that created the project. Example:

GetCreatedDate()

Returns: CRMScript.Global.DateTime - Registered date. Example:

GetCustomFields()

Gets the user-defined + extra fields on a ProjectEntity as a map.
Returns: CRMScript.Native.Map 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:

GetEndDate()

Returns: CRMScript.Global.DateTime - Planned end date for project, inherited from type and later editable. Example:

GetExtraFields()

Gets the extra fields on ProjectEntity as a map.
Returns: CRMScript.Native.Map Example:

GetHasImage()

Returns: CRMScript.Global.Bool - True if the project has an image. (This is the image that is displayed in the CRM client). Example:

GetImageDescription()

Returns: CRMScript.Global.String - Description of the project image if it exists. (This is the image that is displayed in the CRM client). Example:

GetIsPublished()

Returns: CRMScript.Global.Bool - Should this ProjectEntity be published and visible to strangers?
Returns: CRMScript.NetServer.NSLink[] - All elements linked to the project. Example:

GetName()

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

GetNextMilestoneDate()

Returns: CRMScript.Global.DateTime - Calculated date, reflects date of closest non-complete future milestone activity. Example:

GetNmdAppointmentId()

Returns: CRMScript.Global.Integer - ID of appointment that “caused” the nextMilestoneDate, can be 0 Example:

GetPostit()

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:

GetProjectId()

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

GetProjectMembers()

Returns: CRMScript.NetServer.NSProjectMember[] - The persons that are members of the project. Example:

GetProjectNumber()

Returns: CRMScript.Global.String - Automatically generated number. Example:

GetProjectStatus()

Returns: CRMScript.NetServer.NSProjectStatus - Project status is a list defined by the database administrator. Different statuses of a project may be “In planning”, “Started”, “Finished” and so on. Example:

GetProjectType()

Returns: CRMScript.NetServer.NSProjectType - Project type is a list defined by the database admin. For example, ‘Large’, ‘Small’, ‘Party’… Example:

GetPublishEventDate()

Returns: CRMScript.Global.DateTime - Publish event date on ProjectEntity.

GetPublishFrom()

Returns: CRMScript.Global.DateTime - Publish from date on ProjectEntity.

GetPublishTo()

Returns: CRMScript.Global.DateTime - Publish to date on ProjectEntity. After this date the event is no longer visible.

GetUpdatedBy()

Returns: CRMScript.NetServer.NSAssociate - The person that last updated the project. Example:

GetUpdatedDate()

Returns: CRMScript.Global.DateTime - Last updated date. Example:

GetUrls()

Returns: CRMScript.NetServer.NSEntityElement[] - The project’s internet addresses. Example:

GetUserDefinedFields()

Gets the user-defined fields on the ProjectEntity as a map.
Returns: CRMScript.Native.Map Example:
Returns: CRMScript.Global.Void Example:
Returns: CRMScript.Global.Void Example:

SetActiveStatusMonitorId(Integer)

Returns: CRMScript.Global.Void Example:

SetAssociate(NSAssociate)

Returns: CRMScript.Global.Void Example:

SetCompleted(Bool)

Returns: CRMScript.Global.Void Example:

SetCreatedBy(NSAssociate)

Returns: CRMScript.Global.Void Example:

SetCreatedDate(DateTime)

Returns: CRMScript.Global.Void Example:

SetCustomFields(Map)

Sets the user-defined and extra fields on a ProjectEntity with a map.
Returns: CRMScript.Global.Void Example:

SetDescription(String)

Returns: CRMScript.Global.Void Example:

SetEndDate(DateTime)

Returns: CRMScript.Global.Void Example:

SetExtraFields(Map)

Sets the extra field values on ProjectEntity with a map.
Returns: CRMScript.Global.Void Example:

SetHasImage(Bool)

Returns: CRMScript.Global.Void Example:

SetImageDescription(String)

Returns: CRMScript.Global.Void Example:

SetIsPublished(Bool)

Sets the visibility of a ProjectEntity
Returns: CRMScript.Global.Void
Returns: CRMScript.Global.Void Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetNextMilestoneDate(DateTime)

Returns: CRMScript.Global.Void Example:

SetNmdAppointmentId(Integer)

Returns: CRMScript.Global.Void Example:

SetPostit(String)

Returns: CRMScript.Global.Void Example:

SetProjectId(Integer)

Returns: CRMScript.Global.Void Example:

SetProjectMembers(NSProjectMember[])

Returns: CRMScript.Global.Void Example:

SetProjectNumber(String)

Returns: CRMScript.Global.Void Example:

SetProjectStatus(NSProjectStatus)

Returns: CRMScript.Global.Void Example:

SetProjectType(NSProjectType)

Returns: CRMScript.Global.Void Example:

SetPublishEventDate(DateTime)

Returns: CRMScript.Global.Void

SetPublishFrom(DateTime)

Sets the publish from date on a ProjectEntity.
Returns: CRMScript.Global.Void

SetPublishTo(DateTime)

Sets the publish to date on ProjectEntity.
Returns: CRMScript.Global.Void

SetUpdatedBy(NSAssociate)

Returns: CRMScript.Global.Void Example:

SetUpdatedDate(DateTime)

Returns: CRMScript.Global.Void Example:

SetUrls(NSEntityElement[])

Returns: CRMScript.Global.Void Example:

SetUserDefinedFields(Map)

Sets the user-defined fields on the ProjectEntity as a map.
Returns: CRMScript.Global.Void Example: