Click or drag to resize

IProject Interface

Projects can have persons as project members, with specific roles. Appointments/Sales/Documents can be linked to a project.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
public interface IProject : IModelBase

The IProject type exposes the following members.

Properties
  NameDescription
Public propertyActiveLinks
ActiveLinks - Number of active links to documents, projects, Urls, appointments, sales, contacts, persons, selections
Public propertyActivityLinks
The ActivityLinks attached to this project. Add or remove links on this object.
Public propertyCode exampleAssociate
Project Manager - the project's owning Associate

Associate is displayed in the GUI as Responsible. This is the SuperOffice user that owns this project.

Note! This is part of the area filtering rules

Public propertyCode exampleAutoSaveOnChangeIdentity
Should the model save on IdentityChanged?
Public propertyCode exampleAutoSaveOnFlush
Should the model save on flush cache?
Public propertyCode exampleChanged
has record been changed since read? If the project has been modified since it was loaded, this will return false.
Public propertyCode exampleCounters
Project Counters - when was the most recent activity in this project, how many activities were registered in the period. May be NULL if the Sales Intelligence license is missing.
Public propertyCode exampleCreatedAssociate
The user that created the object The associate that first created the project
Public propertyCode exampleCreatedDate
The date the object was saved to the database. The date and time the project was first created.
Public propertyCode exampleDescription
Description text Description is the big textbox on the project card. May be used to put more information regarding what kind of a project this is, and what the expected result of the project is.
Public propertyDone
Is Completed
Public propertyEndDate
Gets the end date for this project
Public propertyExternalFieldChanged
have external fields been changed?
Public propertyCode exampleForeignKey
Access Foreign keys linked to this object Get the foreign key values for this project
Public propertyCode exampleGroup
Primary User group of owning associate. Set implicitly by SetAssociateId
Public propertyCode exampleIdentity
The primary key on the primary table. Is zero for new objects. Is set when an object is saved. This is the internal ID of the project
Public propertyCode exampleIsAvailable
is record available in db? Checks if the record is available in the database. It’s useful to check if a project actually exists before adding new properties to it
Public propertyIsFavourite
Add/Remove this project from my favourites
Public propertyIsGuided
Is this project connected to a project guide?
Public propertyCode exampleIsRequiredFilled
Are all the required fields filled out? Can we save the record? Checks if all properties that are required in this model is filled
Public propertyCode exampleIsValid
does the record exist? To save time, we don’t load a record into buffer before one of its properties is asked for. This checks if the requested record is available in buffer
Public propertyCode exampleMembers
Get the project members for this project. Returns a collection of SOProjectmembers. The ProjectMembers collection store the information with personid as the key, this means you have to use the personid when accessing the item property
Public propertyCode exampleName
Project Name The project name, e.g. "Christmas party year 2000"
Public propertyNextMilestoneAppointmentId
Gets the appointmentId for the next milestone
Public propertyNextMilestoneDate
Gets the date for the next milestone
Public propertyCode examplePicture
Returns the project picture as an ISOPicture object.
Public propertyCode examplePostItText
PostItText Post-It is displayed on the Project card as a paperclip that expands to a “Yellow sticky note”, when clicked. It contains extra information for the project card it is attached to
Public propertyCode exampleProjectNumber
Project Number This is displayed in the GUI as Number, just above Web Site on the project screen. This might be an automatically generated number, but it’s possible to turn off this feature in the Admin. Client.
Public propertyCode examplePublishType
Publish type for this project. Published projects may be visible on the extranet.
Public propertyCode exampleSentry
Sentry settings for this object. Lets you find out your read/write access to the object.
Public propertyCode exampleStatus
Project Status - list item - enTableProjStatus=88 Project status is a list defined by the database administrator. Different statuses of a project may be: “In planning”, “Started”, “Finished” and so on
Public propertyCode exampleStatusMonitors
Project Status Monitors - list of all active status monitors indexed by id. May return an error if the Sales Intelligence license is missing. Project status is a list defined by the database administrator. Different statuses of a project may be: “In planning”, “Started”, “Finished” and so on
Public propertySuggestedAppointments
Returns a collection of suggested appointments for this project
Public propertySuggestedDocuments
Returns a collection of suggested documents for this project
Public propertyCode exampleType
Project Type - list item - enTableProjType=85 Project type is a list defined by the database administrator. Different types of project may be: “Marketing campaign”, “Internal Routines”, “Christmas party year 2000” and so on
Public propertyCode exampleUDef
User defined fields object A collection of the Projects user defined fields
Public propertyCode exampleUpdatedAssociate
The last user to modify the object The last associate that updated this project object. If the project has never been updated, this will return 0
Public propertyCode exampleUpdatedDate
The date of the most recent update. The date and time the project was last edited. If the contact has never been updated, this will return 0; formatted as a SuperOffice date (see the database manual), this will return 01.01.1970.
Public propertyCode exampleUrls
Web addresses Returns a collection of URLs that belongs to the project.
Public propertyValidationMessage
get validation message, if empty model will think it is ok to save
Top
Methods
  NameDescription
Public methodCode exampleCancelChanges
Undo any changes made since the object was loaded. If you made changes to the model that you don't want to be saved to the database, call the CancelChanges method
Public methodCode exampleChangeIdentity
Loads a different record into the object. Causes changes to the existing object to be saved first. Saves the changes made to the project model to the database. The last thing you do to an object if you want the changes you made to be saved. The ChangeIdentity method calls the save method first.
Public methodClone
Clone this project
Public methodCode exampleDelete
Delete the object from the database. May throw an error if you are not allowed to delete the object. Deletes the specified project model from the database
Public methodGetActivityList
Public methodMergeTo
Merge this project into the passed project, together with projectmembers and appointments registered on this project.
Public methodCode exampleSave
Persist the object to the database. May throw an error if you are not allowed to save changes to the object. Saves the changes you made to the project model to the database, does not return the new data from the database
Public methodCode exampleSetDefaults
Populate the object with default values, such as setting the owner to the current user. Uses the UserPreferences table to set the predefined default settings for a project. The SetDefaults method is only available for current objects in this version of SuperOfficeDB Type Library
Top
See Also