Skip to main content

<a id=“SuperOffice_WebApi_Data_ProjectEntity”></a> Class ProjectEntity

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for ProjectEntity. The Project Service. The service implements all services working with the Project object

Inheritance

objectCarrierProjectEntity

Inherited Members

Carrier.TableRight, Carrier.FieldProperties, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Examples

Get ProjectEntity 123 using the WebApi client: <pre><code class=“lang-csharp”>var configuration = new WebApiConfiguration(url); var agent = new ProjectAgent(configuration); var projectEntity = agent.GetProjectEntity( 123 );</code></pre>

Remarks

Use <xref href=“SuperOffice.CRM.Services.ArchiveAgent?text=Archive+agent” data-throw-if-not-resolved=“false”></xref>: All ProjectEntity: <pre><code class=“lang-csharp”>“FindProject”</code></pre> Activities: <pre><code class=“lang-csharp”>“ProjectActivity”</code></pre> with restriction <pre><code class=“lang-csharp”>“projectId eq ” + id</code></pre>. Guide: <pre><code class=“lang-csharp”>“ProjectGuide”</code></pre> with restriction <pre><code class=“lang-csharp”>“projectId eq ” + id</code></pre>. Members: <pre><code class=“lang-csharp”>“ProjectMember”</code></pre> with restriction <pre><code class=“lang-csharp”>“projectId eq ” + id</code></pre>. Contacts: <pre><code class=“lang-csharp”>“ContactProjects”</code></pre> with restriction <pre><code class=“lang-csharp”>“projectId eq ” + id</code></pre>. Links: <pre><code class=“lang-csharp”>“Links”</code></pre> with restriction <pre><code class=“lang-csharp”>“sourceProjectRestrictionId eq ” + id</code></pre>.

Constructors

<a id=“SuperOffice_WebApi_Data_ProjectEntity__ctor”></a> ProjectEntity()

Default constructor - defaults any enum props to 0.

Properties

The number of active erp links

Property Value

int Number of active links to documents, other appointments, and such

Property Value

uint

<a id=“SuperOffice_WebApi_Data_ProjectEntity_ActiveStatusMonitorId”></a> ActiveStatusMonitorId

Active status monitor identity with the lowest rank for project

Property Value

int

<a id=“SuperOffice_WebApi_Data_ProjectEntity_Associate”></a> Associate

The person that created the project <p>Use MDO List name “associate” to get list items.</p>

Property Value

Associate

<a id=“SuperOffice_WebApi_Data_ProjectEntity_Completed”></a> Completed

Done (0=false, 1=true). Status implies changes in which fields are shown in GUI, as well as which fields can be updated

Property Value

bool

<a id=“SuperOffice_WebApi_Data_ProjectEntity_CreatedBy”></a> CreatedBy

The person that created the project

Property Value

Associate

<a id=“SuperOffice_WebApi_Data_ProjectEntity_CreatedDate”></a> CreatedDate

Registered date

Property Value

DateTime

<a id=“SuperOffice_WebApi_Data_ProjectEntity_CustomFields”></a> CustomFields

Udef + Extra fields added to the carrier. Extra fields as defined by changes to database schema + user-defined fields as defined by admin. Custom fields combines user defined fields and extra fields into one bucket. The individual <xref href=“SuperOffice.WebApi.Data.ProjectEntity.ExtraFields” data-throw-if-not-resolved=“false”></xref> and <xref href=“SuperOffice.WebApi.Data.ProjectEntity.UserDefinedFields?text=UserDefinedFields” data-throw-if-not-resolved=“false”></xref> properties are deprecated in favor of this combined collection. The value string is the encoded value: “[I:123]” or “[DT:2019-09-11]”.

Property Value

StringDictionary

Remarks

The naming convention of the key string is as follows: <table><tbody><tr><td class=“term”>Extra field data</td><td class=“description”> [Extra field name]<p></p> Example: <pre><code class=“lang-csharp”>‘x_gorp’ = ‘[I:123]’</code></pre> </td></tr><tr><td class=“term”>User defined field data</td><td class=“description”> [Prog-id name]<p></p> Example: <pre><code class=“lang-csharp”>‘SuperOffice:1’ = ‘[I:123]’</code></pre><p></p> </td></tr></tbody></table>

<a id=“SuperOffice_WebApi_Data_ProjectEntity_Description”></a> Description

The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases

Property Value

string

<a id=“SuperOffice_WebApi_Data_ProjectEntity_EndDate”></a> EndDate

Planned end date for project, inhertied from type and later editable

Property Value

DateTime

<a id=“SuperOffice_WebApi_Data_ProjectEntity_EventId”></a> EventId

Reserved field for Lyyti event when project is linked to an event.

Property Value

int

<a id=“SuperOffice_WebApi_Data_ProjectEntity_ExtraFields”></a> ExtraFields

Deprecated: Use <xref href=“SuperOffice.WebApi.Data.ProjectEntity.CustomFields” data-throw-if-not-resolved=“false”></xref> instead. Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc. The value string is the encoded value: “[I:123]” or “[DT:2019-09-11]”.

Property Value

StringDictionary

Remarks

The naming convention of the key string is as follows: <table><tbody><tr><td class=“term”>Plug-in data</td><td class=“description”> [Plug-in name].[Property name] Example: DocumentPlugin.DocumentType </td></tr><tr><td class=“term”>Foreign key data</td><td class=“description”> The device identity is appended directly to the device name if it exists. This is not commonly used, but the database opens for this as a possibility to have several devices with the same name, and hence we would ensure an unique key if this field is used. Example: Audience.SecretService.DefaultCountry </td></tr><tr><td class=“term”>User defined table data</td><td class=“description”> [Table name].[Field name] Example: Phunneling.AggregatedSales </td></tr><tr><td class=“term”>Other</td><td class=“description”> Other data sources must ensure an unique name. If the key already exists we do not add the data to the dictionary. We also ensure that SuperOffice data are added first, so that existing data doesnt change when more data sources are added (with duplicate data keys). </td></tr></tbody></table>

<a id=“SuperOffice_WebApi_Data_ProjectEntity_HasImage”></a> HasImage

True if the project has an image. (This is the image that is displayed in the CRM client)

Property Value

bool

<a id=“SuperOffice_WebApi_Data_ProjectEntity_ImageDescription”></a> ImageDescription

Description of the project image if it exists. (This is the image that is displayed in the CRM client)

Property Value

string

<a id=“SuperOffice_WebApi_Data_ProjectEntity_IsPublished”></a> IsPublished

Publication is published

Property Value

bool List of all elements linked to the project

Property Value

Link[]

<a id=“SuperOffice_WebApi_Data_ProjectEntity_Name”></a> Name

Project name

Property Value

string

<a id=“SuperOffice_WebApi_Data_ProjectEntity_NextMilestoneDate”></a> NextMilestoneDate

Calculated date, reflects date of closest non-complete future milestone activity

Property Value

DateTime

<a id=“SuperOffice_WebApi_Data_ProjectEntity_NmdAppointmentId”></a> NmdAppointmentId

ID of appointment that “caused” the nextMilestoneDate, can be 0

Property Value

int

<a id=“SuperOffice_WebApi_Data_ProjectEntity_Postit”></a> Postit

The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases

Property Value

string

<a id=“SuperOffice_WebApi_Data_ProjectEntity_ProjectId”></a> ProjectId

Primary key

Property Value

int

<a id=“SuperOffice_WebApi_Data_ProjectEntity_ProjectMembers”></a> ProjectMembers

The persons which are members of the project

Property Value

ProjectMember[]

<a id=“SuperOffice_WebApi_Data_ProjectEntity_ProjectNumber”></a> ProjectNumber

Automatically generated number

Property Value

string

<a id=“SuperOffice_WebApi_Data_ProjectEntity_ProjectStatus”></a> ProjectStatus

Project status is a list defined by the database administrator. Different statuses of a project may be: “In planning”, “Started”, “Finished” and so on <p>Use MDO List name “projectstatus” to get list items.</p>

Property Value

ProjectStatus

<a id=“SuperOffice_WebApi_Data_ProjectEntity_ProjectType”></a> ProjectType

Project type is a list defined by the database admin. for example: ‘Large’, ‘Small’, ‘Party’… <p>Use MDO List name “projecttype” to get list items.</p>

Property Value

ProjectType

<a id=“SuperOffice_WebApi_Data_ProjectEntity_PublishEventDate”></a> PublishEventDate

Publish event date

Property Value

DateTime

<a id=“SuperOffice_WebApi_Data_ProjectEntity_PublishFrom”></a> PublishFrom

Publication valid from (inclusive)

Property Value

DateTime

<a id=“SuperOffice_WebApi_Data_ProjectEntity_PublishTo”></a> PublishTo

Publication valid to (inclusive)

Property Value

DateTime

<a id=“SuperOffice_WebApi_Data_ProjectEntity_StartDate”></a> StartDate

Reserved field for Lyyti event when project is linked to an event, is the event start date.

Property Value

DateTime

<a id=“SuperOffice_WebApi_Data_ProjectEntity_UpdatedBy”></a> UpdatedBy

The person that last updated the project

Property Value

Associate

<a id=“SuperOffice_WebApi_Data_ProjectEntity_UpdatedDate”></a> UpdatedDate

Last updated date

Property Value

DateTime

<a id=“SuperOffice_WebApi_Data_ProjectEntity_Urls”></a> Urls

The project’s internet adresses

Property Value

EntityElement[]

<a id=“SuperOffice_WebApi_Data_ProjectEntity_UserDefinedFields”></a> UserDefinedFields

Deprecated: Use <xref href=“SuperOffice.WebApi.Data.ProjectEntity.CustomFields” data-throw-if-not-resolved=“false”></xref> instead. Dictionary of user defined field data. The key string is the ProgId of the UdefField, or if the ProgId is empty it is a string of the format “SuperOffice:[UdefFieldIdentity]”, e.g. “SuperOffice:1234” The value string is the encoded value: “[I:123]” or “[DT:2019-09-11]”.

Property Value

StringDictionary

See Also

ProjectAgent, ArchiveAgent,