Class AppointmentRows.IdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherId
Class representing index 'IProj_idTypeActiveDateDoc_idA'. This particular class implements a from-the-left subset of the fields, to ease coding of these efficient searches
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public sealed class IdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherId : AppointmentRows.AppointmentRowsIdx, ICloneable, ISentryIgnorable
Constructors
IdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherId(Int32, AppointmentType, DateTime, DateTimeSearchType, Int32, Int32, Int32, Int32)
Constructor for class AppointmentRows.IdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherId This class represents index 'IProj_idTypeActiveDateDoc_idAssoc_idGrp_idxMother_idAssignedByIdRegReg_id'.
Declaration
public IdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherId(int projectId, AppointmentType type, DateTime activeDate, DateTimeSearchType activeDateSearchType, int documentId, int associateId, int groupIdx, int motherId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | projectId | |
AppointmentType | type | |
DateTime | activeDate | |
DateTimeSearchType | activeDateSearchType | How to search for ActiveDate |
Int32 | documentId | |
Int32 | associateId | |
Int32 | groupIdx | |
Int32 | motherId |
IdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherId(Int32, AppointmentType, DateTime, Int32, Int32, Int32, Int32)
Constructor for class AppointmentRows.IdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherId This class represents index 'IProj_idTypeActiveDateDoc_idAssoc_idGrp_idxMother_idAssignedByIdRegReg_id'. This particular class implements a from-the-left subset of the fields, to ease coding of these efficient searches
Declaration
public IdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherId(int projectId, AppointmentType type, DateTime activeDate, int documentId, int associateId, int groupIdx, int motherId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | projectId | |
AppointmentType | type | |
DateTime | activeDate | |
Int32 | documentId | |
Int32 | associateId | |
Int32 | groupIdx | |
Int32 | motherId |
Properties
ActiveDate
The date to be used for searching & showing
Declaration
public DateTime ActiveDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
AssociateId
ID of associate whose diary the appointment is in, REQUIRED
Declaration
public int AssociateId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
DocumentId
Points to document record; 0 for non-document appointments!
Declaration
public int DocumentId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
GroupIdx
Group of owning associate at the time tha ppnt was created
Declaration
public int GroupIdx { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
InnerRestriction
The Restriction passed to the Select statement.
Declaration
protected override Restriction InnerRestriction { get; }
Property Value
Type | Description |
---|---|
Restriction | Restriction object holding the restrictions for the select statement. |
Overrides
MotherId
ID of mother appointment; self if booking master, master ID if booking slave, 0 if normal appointment. However, if 0 and assoc_id != reg_id then this is an assigned appointment, indicated vt type = kBooking
Declaration
public int MotherId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ProjectId
ID of project referred to, may be 0
Declaration
public int ProjectId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Type
where=no start time,note,docin, docout
Declaration
public AppointmentType Type { get; set; }
Property Value
Type | Description |
---|---|
AppointmentType |
Methods
UpdateRow(TableRowBase)
Update the AppointmentRow with the values from the index.
Declaration
public override void UpdateRow(TableRowBase baseRow)
Parameters
Type | Name | Description |
---|---|---|
TableRowBase | baseRow | The row to update. This must be an instance of AppointmentRow. |