Table

TSTimesheetTable

Timesheets

Holds timesheet headers, one per timesheet number. Each timesheet covers a date range for a resource and worker. It carries approval and posting status and links to the project period, weekly period, source document and financial tag.

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

Fields (24)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TimesheetNbrUnique number of the timesheet.String
TSTimesheetNbr
YesTSTimesheetTableEntity
ApprovalStatusApproval state of the timesheet, such as draft, submitted, approved or returned.Enum
TSAppStatus (enum)
NoTSTimesheetTableEntity
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
NoTSTimesheetTableEntity
FinTagPoints to the financial tag on the timesheet.Int64
FinTagRecId
NoFinTag.RecIdNone
IsWorkflowToBeResubmittedYes or no flag about whether the workflow is to be submitted again.low confidenceEnum
NoYes (enum)
NoTSTimesheetTableEntity
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
PeriodFromFirst date covered by the timesheet.Date
TSPeriodFrom
NoTSTimesheetTableEntity
PeriodToLast date covered by the timesheet.Date
TSPeriodTo
NoNone
PostStatusShows whether the timesheet is not transferred, transferred or posted.Enum
TSPostStatus (enum)
NoTSTimesheetTableEntity
ProjPeriodIdCode of the project period for the timesheet.String
ProjPeriodId
NoProjPeriodTable.PeriodIdNone
ProjPeriodTimesheetWeekPoints to the weekly timesheet period record.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
ResourcePoints to the project resource that the timesheet is for.Int64
TSResourceRecId
NoResResourceIdentifier.RecIdResourceView.RecIdResourceWorkerView.RecIdWorkerResourceView.RecIdNone
SourceDocumentHeaderPoints to the source document header record.Int64
RefRecId
YesSourceDocumentHeader.RecIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkerRecord ID of the worker linked to the timesheet.Int64
ProjWorkerRecId
NoNone

Indexes (6)

Relations (10)

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

  • ProjPeriodTable → ProjPeriodTable

    Join on ProjPeriodId = ProjPeriodTable.PeriodId

    Many TSTimesheetTable records → zero or one ProjPeriodTable record

  • ProjPeriodTimesheetWeek → ProjPeriodTimesheetWeek

    Join on ProjPeriodTimesheetWeek = ProjPeriodTimesheetWeek.RecId

    Many TSTimesheetTable records → zero or one ProjPeriodTimesheetWeek record

  • SourceDocument → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Zero or one TSTimesheetTable record → exactly one SourceDocumentHeader 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 TSTimesheetTable records → exactly one ResourceView record

  • ResourceTable → ResResourceIdentifier

    Join on Resource = ResResourceIdentifier.RecId

    Many TSTimesheetTable records → exactly one ResResourceIdentifier record

  • WorkerResourceView → WorkerResourceView

    Join on Resource = WorkerResourceView.RecId

    Many TSTimesheetTable records → exactly one WorkerResourceView record

  • ResourceWorkerView → ResourceWorkerView

    Join on Resource = ResourceWorkerView.RecId

    Many TSTimesheetTable records → exactly one ResourceWorkerView record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many TSTimesheetTable records → zero or one FinTag record

Get this data out

Tables are not exposed directly. These public entities read from TSTimesheetTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk