Table
TSTimesheetLineLog
Timesheet Line Log
Log of changes to timesheet lines. Each record keeps the values of a line, such as project, category, hours, prices and comments. It also records the type of change and links to the timesheet log entry.
- Table name
TSTimesheetLineLog- Module
Project management and accounting- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Project- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (38)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActivityCompleteYes or no flag showing whether the activity is complete. | EnumTSActivityCompleteNoYes (enum) | No | None | |
ActivityNumberNumber of the activity, linked to the activities table. | String (50)ProjActivityNumber | No | smmActivities.ActivityNumber | None |
ActivityRemainingHours remaining for the activity or task. | RealTSActivityRemaining | No | None | |
ApprovalStatusApproval status of the line, such as draft, submitted, approved or posted. | EnumTSAppStatus (enum) | No | None | |
CategoryIdProject category, linked to the project category table. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | None |
ChangeReasonFree text explaining why the line was changed. | String (-1)Notes | No | None | |
ChangeTypeKind of change logged: no change, create, update or delete. | EnumTsTimesheetChangeType (enum) | No | None | |
CostPriceCost price of the line. | RealProjCostPriceEmpl | 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 | |
CurrencyCodeSales currency code, linked to the currency table. | String (3)ProjSalesCurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionSet of financial dimension values, pointing to a dimension code set. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
ExternalCommentsComment on the line meant for external readers. | String (255)TSExternalComments | No | None | |
FinTagFinancial tag, pointing to the financial tags table. | Int64FinTagRecId | No | FinTag.RecId | None |
HoursHours recorded for the day. The label says Day1. | RealTSWeeklyHours | No | None | |
InternalCommentsComment on the line meant for internal readers. | String (255)TSInternalComments | No | None | |
LinePropertyIdLine property, linked to the line property table. | StringProjLinePropertyId | No | ProjLineProperty.LinePropertyId | 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 | |
ProjectDataAreaIdCompany (legal entity) of the project. | StringDataAreaId | No | None | |
ProjIdProject ID, linked to the projects table. | String (20)ProjId | No | ProjTable.ProjId | 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 |
SalesPriceSales price of the line. | RealProjSalesPriceEmpl | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroupIdSales tax group, linked to the sales tax group table. | StringProjTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxItemGroupItem sales tax group, linked to the item tax group table. | StringProjTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
TimesheetLinePoints to the timesheet line that was logged. | Int64RefRecId | No | TSTimesheetLine.RecId | None |
TimesheetNbrNumber of the timesheet, linked to the timesheets table. | StringTSTimesheetNbr | No | TSTimesheetTable.TimesheetNbr | None |
TimesheetTableLogPoints to the timesheet log header for this line entry. | Int64RefRecId | No | TSTimesheetTableLog.RecId | None |
WorkerSystem record ID of the worker. | Int64ProjWorkerRecId | No | None | |
WrkCtrIdResource ID, linked to the resources table. | StringWrkCtrId | No | WrkCtrTable.WrkCtrId | None |
Indexes (3)
TimesheetLineIdxNot unique.
TimesteetTableLogNot unique.
CreatedTransactionIdIdxNot unique.
Relations (15)
Each relation joins TSTimesheetLineLog to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TSTimesheetLineLog records → zero or one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany TSTimesheetLineLog records → zero or one DimensionAttributeValueSet record
ProjCategory→ProjCategoryJoin on
CategoryId = ProjCategory.CategoryId,ProjCategory.CategoryType = ProjCategoryType::HourMany TSTimesheetLineLog records → exactly one ProjCategory record
ProjLineProperty→ProjLinePropertyJoin on
LinePropertyId = ProjLineProperty.LinePropertyIdMany TSTimesheetLineLog records → zero or one ProjLineProperty record
ProjPeriodTimesheetWeek→ProjPeriodTimesheetWeekJoin on
ProjPeriodTimesheetWeek = ProjPeriodTimesheetWeek.RecIdMany TSTimesheetLineLog records → zero or one ProjPeriodTimesheetWeek record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany TSTimesheetLineLog records → exactly one ProjTable record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberMany TSTimesheetLineLog records → zero or one smmActivities record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroupId = TaxGroupHeading.TaxGroupMany TSTimesheetLineLog records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany TSTimesheetLineLog records → zero or one TaxItemGroupHeading record
TsTimesheetLine→TSTimesheetLineJoin on
TimesheetLine = TSTimesheetLine.RecIdMany TSTimesheetLineLog records → zero or one TSTimesheetLine record
TSTimesheetTable→TSTimesheetTableJoin on
TimesheetNbr = TSTimesheetTable.TimesheetNbrMany TSTimesheetLineLog records → exactly one TSTimesheetTable record
TsTimesheetTableLog→TSTimesheetTableLogJoin on
TimesheetTableLog = TSTimesheetTableLog.RecIdMany TSTimesheetLineLog records → exactly one TSTimesheetTableLog record
WrkCtrTable→WrkCtrTableJoin on
WrkCtrId = WrkCtrTable.WrkCtrId,WrkCtrTable.IsIndividualResource = 1Many TSTimesheetLineLog records → zero or one WrkCtrTable record
Resource→ResourceViewJoin on
Resource = ResourceView.RecIdMany TSTimesheetLineLog records → exactly one ResourceView record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany TSTimesheetLineLog records → zero or one FinTag record
Get this data out
No public entity reads from TSTimesheetLineLog. Its data is only reachable through the application, a custom entity or a database export.
Need help with TSTimesheetLineLog in a report, an integration or a migration? Talk to Dr Dynamics.