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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TimesheetNbrUnique number of the timesheet. | StringTSTimesheetNbr | Yes | TSTimesheetTableEntity | |
ApprovalStatusApproval state of the timesheet, such as draft, submitted, approved or returned. | EnumTSAppStatus (enum) | No | TSTimesheetTableEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | TSTimesheetTableEntity | |
FinTagPoints to the financial tag on the timesheet. | Int64FinTagRecId | No | FinTag.RecId | None |
IsWorkflowToBeResubmittedYes or no flag about whether the workflow is to be submitted again.low confidence | EnumNoYes (enum) | No | TSTimesheetTableEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PeriodFromFirst date covered by the timesheet. | DateTSPeriodFrom | No | TSTimesheetTableEntity | |
PeriodToLast date covered by the timesheet. | DateTSPeriodTo | No | None | |
PostStatusShows whether the timesheet is not transferred, transferred or posted. | EnumTSPostStatus (enum) | No | TSTimesheetTableEntity | |
ProjPeriodIdCode of the project period for the timesheet. | StringProjPeriodId | No | ProjPeriodTable.PeriodId | None |
ProjPeriodTimesheetWeekPoints to the weekly timesheet period record. | Int64RefRecId | No | ProjPeriodTimesheetWeek.RecId | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ResourcePoints to the project resource that the timesheet is for. | Int64TSResourceRecId | No | ResResourceIdentifier.RecIdResourceView.RecIdResourceWorkerView.RecIdWorkerResourceView.RecId | None |
SourceDocumentHeaderPoints to the source document header record. | Int64RefRecId | Yes | SourceDocumentHeader.RecId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkerRecord ID of the worker linked to the timesheet. | Int64ProjWorkerRecId | No | None |
Indexes (6)
TimesheetIdxPrimary indexReplacement keyUnique, alternate key.
ProjPeriodTimesheetWeekIdxNot unique.
SourceDocumentHeaderIdxSourceDocumentHeader,Partition,dataAreaIdUnique.
ResourceTimesheetIdxNot unique.
ResourcePeriodIdxNot unique.
CreatedTransactionIdIdxNot unique.
Relations (10)
Each relation joins TSTimesheetTable to another table on the fields shown.
ProjPeriodTable→ProjPeriodTableJoin on
ProjPeriodId = ProjPeriodTable.PeriodIdMany TSTimesheetTable records → zero or one ProjPeriodTable record
ProjPeriodTimesheetWeek→ProjPeriodTimesheetWeekJoin on
ProjPeriodTimesheetWeek = ProjPeriodTimesheetWeek.RecIdMany TSTimesheetTable records → zero or one ProjPeriodTimesheetWeek record
SourceDocument→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdZero or one TSTimesheetTable record → exactly one SourceDocumentHeader record
TSTimesheetApprovalSummary→TSTimesheetApprovalSummaryJoin on
TimesheetNbr = TSTimesheetApprovalSummary.TimesheetNbrCardinality not set in the metadata.
TSTimesheetEntryTotalsPart→TSTimesheetEntryTotalsPartJoin on
Resource = TSTimesheetEntryTotalsPart.Resource,ProjPeriodTimesheetWeek = TSTimesheetEntryTotalsPart.ProjPeriodTimesheetWeekCardinality not set in the metadata.
Resource→ResourceViewJoin on
Resource = ResourceView.RecIdMany TSTimesheetTable records → exactly one ResourceView record
ResourceTable→ResResourceIdentifierJoin on
Resource = ResResourceIdentifier.RecIdMany TSTimesheetTable records → exactly one ResResourceIdentifier record
WorkerResourceView→WorkerResourceViewJoin on
Resource = WorkerResourceView.RecIdMany TSTimesheetTable records → exactly one WorkerResourceView record
ResourceWorkerView→ResourceWorkerViewJoin on
Resource = ResourceWorkerView.RecIdMany TSTimesheetTable records → exactly one ResourceWorkerView record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany 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.
TSTimesheetTableEntity· 6 fields from this table
Need help with TSTimesheetTable in a report, an integration or a migration? Talk to Dr Dynamics.