Class StatusDefRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the StatusDef table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class StatusDefRecordData : Object
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
StatusDefRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the StatusDef table.
Declaration
public StatusDefRecordData()
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
DefaultTask
Default task type for this status; the default task text is in the text table (since it can be long), and may contain template variables
Declaration
public int DefaultTask
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Deleted
Deleted flag, 1 if this record is deleted (never from the database)
Declaration
public short Deleted
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
DirtyOnChange
If 1, the statusValue records should be set to dirty whenever information related to the owning entity changes. If 0, nothing happens.
Declaration
public short DirtyOnChange
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
GenerationStart
When was the last regeneration started
Declaration
public DateTime GenerationStart
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
IsVisual
Should the status be visualized (active) in the client
Declaration
public short IsVisual
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LastGenerated
When was the last generation finished (i.e., statusValue rows created)
Declaration
public DateTime LastGenerated
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
NeedsUpdate
Is the definition dirty, ie., ALL values are invalid until a recalculation; this flag is set when the status DEFINITION is changed, as opposed to the flag on StatusValue
Declaration
public short NeedsUpdate
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
NumMatches
Number of targets that have this status, this should be the number of rows in StatusValue pointing to this definition, and that have isSignalled set to 1
Declaration
public uint NumMatches
Field Value
Type | Description |
---|---|
UInt32 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
NumNeedUpdate
Number of targets that had this status, but have their needsUpdate bit set due to some change
Declaration
public uint NumNeedUpdate
Field Value
Type | Description |
---|---|
UInt32 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
OwnerTable
The owning entity, currently contact or project
Declaration
public short OwnerTable
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Rank
Priority rank, in case more than one status is signalled. Lowest wins
Declaration
public short Rank
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Registered
Registered when in UTC.
Declaration
public DateTime Registered
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
StatusDefId
Primary key
Declaration
public int StatusDefId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Updated
Last updated when in UTC.
Declaration
public DateTime Updated
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UpdatedAssociateId
Last updated by whom
Declaration
public int UpdatedAssociateId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full StatusDefRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding StatusDefTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.