Table

TSTimesheetTableLog

Timesheet Log

Log of changes to timesheets. Each record keeps the status, period and resource of a timesheet and the type of change. It links to the weekly period and the resource view.

Table name
TSTimesheetTableLog
Module
Project management and accounting
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
Project
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ApprovalStatusApproval status of the timesheet, such as draft, submitted or approved.Enum
TSAppStatus (enum)
NoNone
ChangeReasonFree text explaining why the timesheet was changed.String (-1)
Notes
NoNone
ChangeTypeKind of change logged: no change, create, update or delete.Enum
TsTimesheetChangeType (enum)
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PeriodFromStart date of the timesheet period.Date
TSPeriodFrom
NoNone
PeriodToEnd date of the timesheet period.Date
TSPeriodTo
NoNone
PostStatusPosting status: not transferred, transferred or posted.Enum
TSPostStatus (enum)
NoNone
ProjPeriodIdProject period code, linked to the project periods table.String
ProjPeriodId
NoProjPeriodTable.PeriodIdNone
ProjPeriodTimesheetWeekPoints to the weekly timesheet period.Int64
RefRecId
NoProjPeriodTimesheetWeek.RecIdNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ResourceResource, pointing to the resource view.Int64
TSResourceRecId
NoResourceView.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TimesheetNbrNumber of the timesheet that was logged.String
TSTimesheetNbr
YesNone
WorkerSystem record ID of the worker.Int64
ProjWorkerRecId
NoNone

Indexes (5)

Relations (5)

Each relation joins TSTimesheetTableLog to another table on the fields shown.

  • ProjPeriodTable → ProjPeriodTable

    Join on ProjPeriodId = ProjPeriodTable.PeriodId

    Many TSTimesheetTableLog records → zero or one ProjPeriodTable record

  • ProjPeriodTimesheetWeek → ProjPeriodTimesheetWeek

    Join on ProjPeriodTimesheetWeek = ProjPeriodTimesheetWeek.RecId

    Many TSTimesheetTableLog records → zero or one ProjPeriodTimesheetWeek record

  • TSTimesheetApprovalSummary → TSTimesheetApprovalSummary

    Join on TimesheetNbr = TSTimesheetApprovalSummary.TimesheetNbr

    Cardinality not set in the metadata.

  • TSTimesheetEntryTotalsPart → TSTimesheetEntryTotalsPart

    Join on Resource = TSTimesheetEntryTotalsPart.Resource, ProjPeriodTimesheetWeek = TSTimesheetEntryTotalsPart.ProjPeriodTimesheetWeek

    Cardinality not set in the metadata.

  • Resource → ResourceView

    Join on Resource = ResourceView.RecId

    Many TSTimesheetTableLog records → exactly one ResourceView record

Get this data out

No public entity reads from TSTimesheetTableLog. Its data is only reachable through the application, a custom entity or a database export.

Need help with TSTimesheetTableLog in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk