Class StatusValueTableInfo
Table 'StatusValue': Values for statuses
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("StatusValue")]
public class StatusValueTableInfo : TableInfo, ICloneable
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
Fields
DictionaryTableName
Conceptual name of table StatusValue in the database dictionary: StatusValue
Declaration
public const string DictionaryTableName = "StatusValue"
Field Value
Type | Description |
---|---|
string |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
Properties
ContactId
Field 'contact_id' in table 'StatusValue': Dictionary type FK, target: Contact, .NET type: int
Link to contact, 0 if this status is not for contactsDeclaration
public Int32FieldInfo ContactId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
ContactId_InnerJoin_Contact
Generated join from the foreign key ContactId in this table, to its target table ContactTableInfo.
Declaration
public TargetedInnerJoin<ContactTableInfo> ContactId_InnerJoin_Contact { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<ContactTableInfo> |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Overrides
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
DictionaryTableNumber
Table number for table StatusValue in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database
Declaration
public int DictionaryTableNumber { get; }
Property Value
Type | Description |
---|---|
int |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
Extra1Id
Field 'extra1_id' in table 'StatusValue': Dictionary type Id, .NET type: int
Spare ID for future linksDeclaration
public Int32FieldInfo Extra1Id { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
Extra2Id
Field 'extra2_id' in table 'StatusValue': Dictionary type Id, .NET type: int
Spare ID for future linksDeclaration
public Int32FieldInfo Extra2Id { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
IsSignalled
Field 'isSignalled' in table 'StatusValue': Dictionary type Bool, .NET type: short
1 = this status is 'true', and the GUI should display itDeclaration
public UInt16FieldInfo IsSignalled { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
NeedsUpdate
Field 'needsUpdate' in table 'StatusValue': Dictionary type Bool, .NET type: short
1 = the value is dirty and needs updating; set when the target (contact, project) is changed (or its activities and sales are changed)Declaration
public UInt16FieldInfo NeedsUpdate { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
PersonId
Field 'person_id' in table 'StatusValue': Dictionary type FK, target: Person, .NET type: int
Link to person, 0 if this status is not for person (always 0 in 6.0)Declaration
public Int32FieldInfo PersonId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
PersonId_InnerJoin_Person
Generated join from the foreign key PersonId in this table, to its target table PersonTableInfo.
Declaration
public TargetedInnerJoin<PersonTableInfo> PersonId_InnerJoin_Person { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<PersonTableInfo> |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
ProjectId
Field 'project_id' in table 'StatusValue': Dictionary type FK, target: Project, .NET type: int
Link to project, 0 if this status is not for projectDeclaration
public Int32FieldInfo ProjectId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
ProjectId_InnerJoin_Project
Generated join from the foreign key ProjectId in this table, to its target table ProjectTableInfo.
Declaration
public TargetedInnerJoin<ProjectTableInfo> ProjectId_InnerJoin_Project { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<ProjectTableInfo> |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
Registered
Field 'registered' in table 'StatusValue': Dictionary type UtcDateTime, .NET type: DateTime
Registered whenDeclaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
RegisteredAssociateId
Field 'registered_associate_id' in table 'StatusValue': Dictionary type FK, target: Associate, .NET type: int
Registered by whomDeclaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
RegisteredAssociateId_InnerJoin_Associate
Generated join from the foreign key RegisteredAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
RuntimeDefinition
Definition of the table as described in the deployed runtime dictionary
Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
StatusDefId
Field 'StatusDef_id' in table 'StatusValue': Dictionary type FK, target: StatusDef, .NET type: int
Link to statusdefinitionDeclaration
public Int32FieldInfo StatusDefId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
StatusDefId_InnerJoin_StatusDef
Generated join from the foreign key StatusDefId in this table, to its target table StatusDefTableInfo.
Declaration
public TargetedInnerJoin<StatusDefTableInfo> StatusDefId_InnerJoin_StatusDef { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<StatusDefTableInfo> |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
StatusValueId
Field 'StatusValue_id' in table 'StatusValue': Dictionary type PK, .NET type: int
Primary keyDeclaration
public Int32FieldInfo StatusValueId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
Updated
Field 'updated' in table 'StatusValue': Dictionary type UtcDateTime, .NET type: DateTime
Last updated whenDeclaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
UpdatedAssociateId
Field 'updated_associate_id' in table 'StatusValue': Dictionary type FK, target: Associate, .NET type: int
Last updated by whomDeclaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
UpdatedAssociateId_InnerJoin_Associate
Generated join from the foreign key UpdatedAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> UpdatedAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
UpdatedCount
Field 'updatedCount' in table 'StatusValue': Dictionary type UShort, .NET type: short
Number of updates made to this recordDeclaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
Methods
IdxContactId(int)
Shortcut method for looking up using the database index ContactId, which spans the following fields:
Field | Description |
---|---|
ContactId | Link to contact, 0 if this status is not for contacts |
Declaration
public Restriction IdxContactId(int contactId)
Parameters
Type | Name | Description |
---|---|---|
int | contactId |
Returns
Type | Description |
---|---|
Restriction |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
IdxContactIdIsSignalled(int, short)
Shortcut method for looking up using the database index ContactIdIsSignalled, which spans the following fields:
Field | Description |
---|---|
ContactId | Link to contact, 0 if this status is not for contacts |
IsSignalled | 1 = this status is 'true', and the GUI should display it |
Declaration
public Restriction IdxContactIdIsSignalled(int contactId, short isSignalled)
Parameters
Type | Name | Description |
---|---|---|
int | contactId | |
short | isSignalled |
Returns
Type | Description |
---|---|
Restriction |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
IdxExtra1Id(int)
Shortcut method for looking up using the database index Extra1Id, which spans the following fields:
Field | Description |
---|---|
Extra1Id | Spare ID for future links |
Declaration
public Restriction IdxExtra1Id(int extra1Id)
Parameters
Type | Name | Description |
---|---|---|
int | extra1Id |
Returns
Type | Description |
---|---|
Restriction |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
IdxExtra1IdIsSignalled(int, short)
Shortcut method for looking up using the database index Extra1IdIsSignalled, which spans the following fields:
Field | Description |
---|---|
Extra1Id | Spare ID for future links |
IsSignalled | 1 = this status is 'true', and the GUI should display it |
Declaration
public Restriction IdxExtra1IdIsSignalled(int extra1Id, short isSignalled)
Parameters
Type | Name | Description |
---|---|---|
int | extra1Id | |
short | isSignalled |
Returns
Type | Description |
---|---|
Restriction |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
IdxExtra2Id(int)
Shortcut method for looking up using the database index Extra2Id, which spans the following fields:
Field | Description |
---|---|
Extra2Id | Spare ID for future links |
Declaration
public Restriction IdxExtra2Id(int extra2Id)
Parameters
Type | Name | Description |
---|---|---|
int | extra2Id |
Returns
Type | Description |
---|---|
Restriction |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
IdxExtra2IdIsSignalled(int, short)
Shortcut method for looking up using the database index Extra2IdIsSignalled, which spans the following fields:
Field | Description |
---|---|
Extra2Id | Spare ID for future links |
IsSignalled | 1 = this status is 'true', and the GUI should display it |
Declaration
public Restriction IdxExtra2IdIsSignalled(int extra2Id, short isSignalled)
Parameters
Type | Name | Description |
---|---|---|
int | extra2Id | |
short | isSignalled |
Returns
Type | Description |
---|---|
Restriction |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
IdxPersonId(int)
Shortcut method for looking up using the database index PersonId, which spans the following fields:
Field | Description |
---|---|
PersonId | Link to person, 0 if this status is not for person (always 0 in 6.0) |
Declaration
public Restriction IdxPersonId(int personId)
Parameters
Type | Name | Description |
---|---|---|
int | personId |
Returns
Type | Description |
---|---|
Restriction |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
IdxPersonIdIsSignalled(int, short)
Shortcut method for looking up using the database index PersonIdIsSignalled, which spans the following fields:
Field | Description |
---|---|
PersonId | Link to person, 0 if this status is not for person (always 0 in 6.0) |
IsSignalled | 1 = this status is 'true', and the GUI should display it |
Declaration
public Restriction IdxPersonIdIsSignalled(int personId, short isSignalled)
Parameters
Type | Name | Description |
---|---|---|
int | personId | |
short | isSignalled |
Returns
Type | Description |
---|---|
Restriction |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
IdxProjectId(int)
Shortcut method for looking up using the database index ProjectId, which spans the following fields:
Field | Description |
---|---|
ProjectId | Link to project, 0 if this status is not for project |
Declaration
public Restriction IdxProjectId(int projectId)
Parameters
Type | Name | Description |
---|---|---|
int | projectId |
Returns
Type | Description |
---|---|
Restriction |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().
IdxProjectIdIsSignalled(int, short)
Shortcut method for looking up using the database index ProjectIdIsSignalled, which spans the following fields:
Field | Description |
---|---|
ProjectId | Link to project, 0 if this status is not for project |
IsSignalled | 1 = this status is 'true', and the GUI should display it |
Declaration
public Restriction IdxProjectIdIsSignalled(int projectId, short isSignalled)
Parameters
Type | Name | Description |
---|---|---|
int | projectId | |
short | isSignalled |
Returns
Type | Description |
---|---|
Restriction |
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetStatusValueInfo().