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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ApprovalStatusApproval status of the timesheet, such as draft, submitted or approved. | EnumTSAppStatus (enum) | No | None | |
ChangeReasonFree text explaining why the timesheet was changed. | String (-1)Notes | No | None | |
ChangeTypeKind of change logged: no change, create, update or delete. | EnumTsTimesheetChangeType (enum) | No | None | |
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 | None | |
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 | |
PeriodFromStart date of the timesheet period. | DateTSPeriodFrom | No | None | |
PeriodToEnd date of the timesheet period. | DateTSPeriodTo | No | None | |
PostStatusPosting status: not transferred, transferred or posted. | EnumTSPostStatus (enum) | No | None | |
ProjPeriodIdProject period code, linked to the project periods table. | StringProjPeriodId | No | ProjPeriodTable.PeriodId | None |
ProjPeriodTimesheetWeekPoints to the weekly timesheet period. | 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 | |
ResourceResource, pointing to the resource view. | Int64TSResourceRecId | No | ResourceView.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TimesheetNbrNumber of the timesheet that was logged. | StringTSTimesheetNbr | Yes | None | |
WorkerSystem record ID of the worker. | Int64ProjWorkerRecId | No | None |
Indexes (5)
TimesheetIdxNot unique.
ProjPeriodTimesheetWeekIdxNot unique.
ResourceTimesheetIdxNot unique.
ResourcePeriodIdxNot unique.
CreatedTransactionIdIdxNot unique.
Relations (5)
Each relation joins TSTimesheetTableLog to another table on the fields shown.
ProjPeriodTable→ProjPeriodTableJoin on
ProjPeriodId = ProjPeriodTable.PeriodIdMany TSTimesheetTableLog records → zero or one ProjPeriodTable record
ProjPeriodTimesheetWeek→ProjPeriodTimesheetWeekJoin on
ProjPeriodTimesheetWeek = ProjPeriodTimesheetWeek.RecIdMany TSTimesheetTableLog records → zero or one ProjPeriodTimesheetWeek 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 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.