Class ProjectEntity
The Project Service. The service implements all services working with the Project object
Carrier object for ProjectEntity. Services for the ProjectEntity Carrier is available from the IProjectAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class ProjectEntity : Carrier, IUdefFieldCarrier, IExtraFieldCarrier, IPublishedCarrier
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
Constructors
ProjectEntity()
Default constructor
Declaration
public ProjectEntity()
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
Properties
ActiveErpLinks
The number of active erp links
Declaration
public virtual int ActiveErpLinks { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
ActiveLinks
Number of active links to documents, other appointments, and such
Declaration
public virtual uint ActiveLinks { get; set; }
Property Value
Type | Description |
---|---|
UInt32 |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
ActiveStatusMonitorId
Active status monitor identity with the lowest rank for project
Declaration
public virtual int ActiveStatusMonitorId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
Associate
The person that created the project
Use MDO List name "associate" to get list items.
Declaration
public virtual Associate Associate { get; set; }
Property Value
Type | Description |
---|---|
Associate |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
Completed
Done (0=false, 1=true). Status implies changes in which fields are shown in GUI, as well as which fields can be updated
Declaration
public virtual bool Completed { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
CreatedBy
The person that created the project
Declaration
public virtual Associate CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
Associate |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
CreatedDate
Registered date in UTC.
Declaration
public virtual DateTime CreatedDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
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 ExtraFields and UserDefinedFields properties are deprecated in favor of this combined collection.
Declaration
public StringDictionary CustomFields { get; set; }
Property Value
Type | Description |
---|---|
StringDictionary |
Remarks
The naming convention of the key string is as follows:
Extra field data |
[Extra field name]
Example:
|
User defined field data |
[Prog-id name]
Example:
|
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
Description
The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases
Declaration
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
EndDate
Planned end date for project, inhertied from type and later editable
Declaration
public virtual DateTime EndDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
ExtraFields
Deprecated: Use CustomFields instead. Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc.
Declaration
public StringDictionary ExtraFields { get; set; }
Property Value
Type | Description |
---|---|
StringDictionary |
Remarks
The naming convention of the key string is as follows:
Plug-in data | [Plug-in name].[Property name] Example: DocumentPlugin.DocumentType |
Foreign key data | 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 |
User defined table data | [Table name].[Field name] Example: Phunneling.AggregatedSales |
Other | 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). |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
HasImage
True if the project has an image. (This is the image that is displayed in the CRM client)
Declaration
public virtual bool HasImage { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
ImageDescription
Description of the project image if it exists. (This is the image that is displayed in the CRM client)
Declaration
public virtual string ImageDescription { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
IsPublished
Publication is published
Declaration
public bool IsPublished { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
Links
List of all elements linked to the project
Declaration
public virtual Link[] Links { get; set; }
Property Value
Type | Description |
---|---|
Link[] |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
Name
Project name
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
NextMilestoneDate
Calculated date, reflects date of closest non-complete future milestone activity
Declaration
public virtual DateTime NextMilestoneDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
NmdAppointmentId
ID of appointment that "caused" the nextMilestoneDate, can be 0
Declaration
public virtual int NmdAppointmentId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
Postit
The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases
Declaration
public virtual string Postit { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
ProjectId
Primary key
Declaration
public virtual int ProjectId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
ProjectMembers
The persons which are members of the project
Declaration
public virtual ProjectMember[] ProjectMembers { get; set; }
Property Value
Type | Description |
---|---|
ProjectMember[] |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
ProjectNumber
Automatically generated number
Declaration
public virtual string ProjectNumber { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
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
Use MDO List name "projectstatus" to get list items.
Declaration
public virtual ProjectStatus ProjectStatus { get; set; }
Property Value
Type | Description |
---|---|
ProjectStatus |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
ProjectType
Project type is a list defined by the database admin. for example: 'Large', 'Small', 'Party'...
Use MDO List name "projecttype" to get list items.
Declaration
public virtual ProjectType ProjectType { get; set; }
Property Value
Type | Description |
---|---|
ProjectType |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
PublishEventDate
Publish event date
Declaration
public DateTime PublishEventDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
PublishFrom
Publication valid from (inclusive)
Declaration
public DateTime PublishFrom { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
PublishTo
Publication valid to (inclusive)
Declaration
public DateTime PublishTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
UpdatedBy
The person that last updated the project
Declaration
public virtual Associate UpdatedBy { get; set; }
Property Value
Type | Description |
---|---|
Associate |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
UpdatedDate
Last updated date in UTC.
Declaration
public virtual DateTime UpdatedDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
Urls
The project's internet adresses
Declaration
public virtual EntityElement[] Urls { get; set; }
Property Value
Type | Description |
---|---|
EntityElement[] |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
UserDefinedFields
Deprecated: Use CustomFields 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"
Declaration
public StringDictionary UserDefinedFields { get; set; }
Property Value
Type | Description |
---|---|
StringDictionary |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );
See Also
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |
Examples
Get ProjectEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectEntity = agent.GetProjectEntity( 123 );
}
Find all ProjectEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindProject", "...", null, "getAllRows eq 1", null, 0, 100 );
var activities = archive.GetArchiveListByColumns2("ProjectActivity", "...", null, "projectId eq 123", null, 0, 100 );
var guide = archive.GetArchiveListByColumns2("ProjectGuide", "...", null, "projectId eq 123", null, 0, 100 );
var members = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "projectId eq 123", null, 0, 100 );
var contacts = archive.GetArchiveListByColumns2("ContactProjects", "...", null, "projectId eq 123", null, 0, 100 );
var links = archive.GetArchiveListByColumns2("Links", "...", null, "sourceProjectRestrictionId eq 123", null, 0, 100 );