IProject Interface |
Namespace: SuperOffice.COM.SuperOfficeDB
The IProject type exposes the following members.
Name | Description | |
---|---|---|
![]() | ActiveLinks | ActiveLinks - Number of active links to documents, projects, Urls, appointments, sales, contacts, persons, selections |
![]() | ActivityLinks | The ActivityLinks attached to this project. Add or remove links on this object. |
![]() ![]() | Associate | 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 |
![]() ![]() | AutoSaveOnChangeIdentity | Should the model save on IdentityChanged? |
![]() ![]() | AutoSaveOnFlush | Should the model save on flush cache? |
![]() ![]() | Changed | has record been changed since read?
If the project has been modified since it was loaded, this will return false. |
![]() ![]() | Counters | 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. |
![]() ![]() | CreatedAssociate | The user that created the object
The associate that first created the project |
![]() ![]() | CreatedDate | The date the object was saved to the database.
The date and time the project was first created. |
![]() ![]() | Description | 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. |
![]() | Done | Is Completed |
![]() | EndDate | Gets the end date for this project |
![]() | ExternalFieldChanged | have external fields been changed? |
![]() ![]() | ForeignKey | Access Foreign keys linked to this object
Get the foreign key values for this project |
![]() ![]() | Group | Primary User group of owning associate. Set implicitly by SetAssociateId |
![]() ![]() | Identity | 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 |
![]() ![]() | IsAvailable | 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 |
![]() | IsFavourite | Add/Remove this project from my favourites |
![]() | IsGuided | Is this project connected to a project guide? |
![]() ![]() | IsRequiredFilled | Are all the required fields filled out? Can we save the record?
Checks if all properties that are required in this model is filled |
![]() ![]() | IsValid | 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 |
![]() ![]() | Members | 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 |
![]() ![]() | Name | Project Name
The project name, e.g. "Christmas party year 2000" |
![]() | NextMilestoneAppointmentId | Gets the appointmentId for the next milestone |
![]() | NextMilestoneDate | Gets the date for the next milestone |
![]() ![]() | Picture | Returns the project picture as an ISOPicture object. |
![]() ![]() | PostItText | 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 |
![]() ![]() | ProjectNumber | 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. |
![]() ![]() | PublishType | Publish type for this project. Published projects may be visible on the extranet. |
![]() ![]() | Sentry | Sentry settings for this object. Lets you find out your read/write access to the object. |
![]() ![]() | Status | 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 |
![]() ![]() | StatusMonitors | 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 |
![]() | SuggestedAppointments | Returns a collection of suggested appointments for this project |
![]() | SuggestedDocuments | Returns a collection of suggested documents for this project |
![]() ![]() | Type | 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 |
![]() ![]() | UDef | User defined fields object
A collection of the Projects user defined fields |
![]() ![]() | UpdatedAssociate | 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 |
![]() ![]() | UpdatedDate | 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. |
![]() ![]() | Urls | Web addresses
Returns a collection of URLs that belongs to the project. |
![]() | ValidationMessage | get validation message, if empty model will think it is ok to save |
Name | Description | |
---|---|---|
![]() ![]() | CancelChanges | 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 |
![]() ![]() | ChangeIdentity | 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. |
![]() | Clone | Clone this project |
![]() ![]() | Delete | 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 |
![]() | GetActivityList | |
![]() | MergeTo | Merge this project into the passed project, together with projectmembers and appointments registered on this project. |
![]() ![]() | Save | 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 |
![]() ![]() | SetDefaults | 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 |