Show / Hide Table of Contents

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.
Inheritance
Object
ProjectEntity
Implements
IUdefFieldCarrier
IExtraFieldCarrier
IPublishedCarrier
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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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:
'x_gorp' = '[I:123]'
User defined field data [Prog-id name]

Example:
'SuperOffice:1' = '[I:123]'

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

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 );
See Also
ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)

Implements

IUdefFieldCarrier
IExtraFieldCarrier
IPublishedCarrier

See Also

ProjectAgent
IProjectAgent
ArchiveAgent
GetArchiveListByColumns2(String, String, String, String, String, Int32, Int32)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top