Click or drag to resize

SOSelection Properties

The SOSelection type exposes the following members.

Properties
  NameDescription
Public propertyActiveLinks
ActiveLinks - Number of active links to documents, projects, Urls, appointments, sales, contacts, persons, selections
(Inherited from ISelection.)
Public propertyActivityLinks
The ActivityLinks attached to this selection. Add or remove links on this object.
(Inherited from ISelection.)
Public propertyCode exampleAssociate
Associate who owns the selection Associate is the selection owner, and the only associate that is allowed to make changes to the selection members of the selection
(Inherited from ISelection.)
Public propertyCode exampleAutoSaveOnChangeIdentity
Should the model save on IdentityChanged?
(Inherited from ISelection.)
Public propertyCode exampleAutoSaveOnFlush
Should the model save on flush cache?
(Inherited from ISelection.)
Public propertyCode exampleChanged
has record been changed since read? If the selection has been modified since it was loaded, this will return false
(Inherited from ISelection.)
Public propertyCode exampleCompanyUnique
Only one person from a company may be selected as a member If Company is unique is checked in the selection, only one person from a company may be selected as a selection member.
(Inherited from ISelection.)
Public propertyCompleted
Completed
(Inherited from ISelection.)
Public propertyCode exampleCreatedAssociate
The user that created the object
(Inherited from ISelection.)
Public propertyCode exampleCreatedDate
The date the object was saved to the database.
(Inherited from ISelection.)
Public propertyCode exampleCriteria
Get criteria list for this Dynamic selection
(Inherited from ISelection.)
Public propertyCode exampleDescription
Description text Description is the big textbox on the selection card. May be used to put more information regarding what kind of a selection this is, e.g. the search parameters
(Inherited from ISelection.)
Public propertyCode exampleExternalFieldChanged
have external fields been changed? New in Seven.
(Inherited from ISelection.)
Public propertyCode exampleForeignKey
ForeignKey Get the foreign key values for this selection
(Inherited from ISelection.)
Public propertyCode exampleGroup
Original primary user group of owning associate. Set implicitly when Associate property is set.
(Inherited from ISelection.)
Public propertyCode exampleIdentity
The primary key on the primary table. Is zero for new objects. Is set when an object is saved. The selection identity is the unique database internal identity
(Inherited from ISelection.)
Public propertyCode exampleIncludeFirstPerson
0 = Include first person, 1 = Include all persons, 2 = Include no persons A flag that tells the Selection to include the first person for each Company when adding members to the Selection. The Person that is added is the one with the highest rank (Rank = 1)
(Inherited from ISelection.)
Public propertyCode exampleIsAvailable
is record available in db? Checks if the record is available in the database. It’s useful to check if a selection actually exists before adding new properties to it
(Inherited from ISelection.)
Public propertyIsFavourite
Add/Remove this selection from my favourites
(Inherited from ISelection.)
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
(Inherited from ISelection.)
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
(Inherited from ISelection.)
Public propertyCode exampleName
Name of selection, freetext indexed
(Inherited from ISelection.)
Public propertyCode examplePostItText
Postit text Post-It is shown on the selection card as a paperclip that expands to a "Yellow sticky note", when clicked. It contains extra information for the selection card it is attached to.
(Inherited from ISelection.)
Public propertyCode examplePrivate
Who is the selection visible for? 0=public, 1=private, 2=group The confidentiality of appointments is shown as different types of “private” on the appointment. For an updated list of “private” types, see the database manual
(Inherited from ISelection.)
Public propertyCode examplePrivateToGroup
Which user-group is the selection visible for. 0 = not visible to any particular group, or ID of group The confidentiality of appointments is shown as different types of “private” on the appointment. For an updated list of “private” types, see the database manual
(Inherited from ISelection.)
Public propertyCode exampleSelectionCategory
SelectionCategory (list item) Category for selections is a list defined by the database administrator. This might be for example, "Personal phone list", "PDA selection".
(Inherited from ISelection.)
Public propertyCode exampleSelectionMembers
SelectionMembers Returns a collection of selectionmember objects.
(Inherited from ISelection.)
Public propertyCode exampleSentry
Sentry settings for this object. Lets you find out your read/write access to the object.
(Inherited from ISelection.)
Public propertyTargetTable
Which table the selection targets: contact, project, appointment, document, sale
(Inherited from ISelection.)
Public propertyCode exampleType
0 = static contact selection, 1 = dynamic contact selection, 10 = temp selection By using SetDefault the selection will automatically be set to 0 = static contact selection. If set to 1 = Dynamic contact selection, you will not be able to add members since these are automatically populated by search criteria.
(Inherited from ISelection.)
Public propertyCode exampleUpdatedAssociate
The last user to modify the object The last associate that updated this selection object. If the selection has never been updated, this will return 0
(Inherited from ISelection.)
Public propertyCode exampleUpdatedDate
The date of the most recent update. The date and time the selection was last edited. If the selection has never been updated, this will return 0; formatted as a SuperOffice date (see the database manual), this will return 01.01.1970
(Inherited from ISelection.)
Public propertyCode exampleValidationMessage
get validation message, if empty model will think it is ok to save New in Seven.
(Inherited from ISelection.)
Top
See Also