Class AppointmentRows.IdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxType
Class representing index 'IMother_idStatusActiveDateReg'. 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 AppointmentRows.IdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxType : AppointmentRows.AppointmentRowsIdx, ICloneable, ISentryIgnorable
Constructors
IdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxType(int, AppointmentStatus, DateTime, DateTimeSearchType, int, DateTime, DateTimeSearchType, int, int, AppointmentType)
Constructor for class AppointmentRows.IdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxType This class represents index 'IMother_idStatusActiveDateReg_idRegAssignedByGrp_idxTypeAssoc_idId'.
Declaration
public IdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxType(int motherId, AppointmentStatus status, DateTime activeDate, DateTimeSearchType activeDateSearchType, int registeredAssociateId, DateTime registered, DateTimeSearchType registeredSearchType, int assignedBy, int groupIdx, AppointmentType type)
Parameters
| Type | Name | Description |
|---|---|---|
| int | motherId | |
| AppointmentStatus | status | |
| DateTime | activeDate | |
| DateTimeSearchType | activeDateSearchType | How to search for ActiveDate |
| int | registeredAssociateId | |
| DateTime | registered | |
| DateTimeSearchType | registeredSearchType | How to search for Registered |
| int | assignedBy | |
| int | groupIdx | |
| AppointmentType | type |
IdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxType(int, AppointmentStatus, DateTime, int, DateTime, int, int, AppointmentType)
Constructor for class AppointmentRows.IdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxType This class represents index 'IMother_idStatusActiveDateReg_idRegAssignedByGrp_idxTypeAssoc_idId'. This particular class implements a from-the-left subset of the fields, to ease coding of these efficient searches
Declaration
public IdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxType(int motherId, AppointmentStatus status, DateTime activeDate, int registeredAssociateId, DateTime registered, int assignedBy, int groupIdx, AppointmentType type)
Parameters
| Type | Name | Description |
|---|---|---|
| int | motherId | |
| AppointmentStatus | status | |
| DateTime | activeDate | |
| int | registeredAssociateId | |
| DateTime | registered | |
| int | assignedBy | |
| int | groupIdx | |
| AppointmentType | type |
Properties
ActiveDate
The date to be used for searching & showing
Declaration
public DateTime ActiveDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
AssignedBy
Who (last) assigned this appointment to associate_id?
Declaration
public int AssignedBy { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
GroupIdx
Group of owning associate at the time tha ppnt was created
Declaration
public int GroupIdx { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
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 |
|---|---|
| int |
Registered
Registered date
Declaration
public DateTime Registered { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Status
status=done,started, not started, hidden
Declaration
public AppointmentStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| AppointmentStatus |
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. |