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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ActivityCompleteYes or no flag showing whether the activity is complete.Enum
TSActivityComplete
NoYes (enum)
NoNone
ActivityNumberNumber of the activity, linked to the activities table.String (50)
ProjActivityNumber
NosmmActivities.ActivityNumberNone
ActivityRemainingHours remaining for the activity or task.Real
TSActivityRemaining
NoNone
ApprovalStatusApproval status of the line, such as draft, submitted, approved or posted.Enum
TSAppStatus (enum)
NoNone
CategoryIdProject category, linked to the project category table.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
ChangeReasonFree text explaining why the line was changed.String (-1)
Notes
NoNone
ChangeTypeKind of change logged: no change, create, update or delete.Enum
TsTimesheetChangeType (enum)
NoNone
CostPriceCost price of the line.Real
ProjCostPriceEmpl
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
CurrencyCodeSales currency code, linked to the currency table.String (3)
ProjSalesCurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionSet of financial dimension values, pointing to a dimension code set.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
ExternalCommentsComment on the line meant for external readers.String (255)
TSExternalComments
NoNone
FinTagFinancial tag, pointing to the financial tags table.Int64
FinTagRecId
NoFinTag.RecIdNone
HoursHours recorded for the day. The label says Day1.Real
TSWeeklyHours
NoNone
InternalCommentsComment on the line meant for internal readers.String (255)
TSInternalComments
NoNone
LinePropertyIdLine property, linked to the line property table.String
ProjLinePropertyId
NoProjLineProperty.LinePropertyIdNone
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
ProjectDataAreaIdCompany (legal entity) of the project.String
DataAreaId
NoNone
ProjIdProject ID, linked to the projects table.String (20)
ProjId
NoProjTable.ProjIdNone
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
SalesPriceSales price of the line.Real
ProjSalesPriceEmpl
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroupIdSales tax group, linked to the sales tax group table.String
ProjTaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupItem sales tax group, linked to the item tax group table.String
ProjTaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
TimesheetLinePoints to the timesheet line that was logged.Int64
RefRecId
NoTSTimesheetLine.RecIdNone
TimesheetNbrNumber of the timesheet, linked to the timesheets table.String
TSTimesheetNbr
NoTSTimesheetTable.TimesheetNbrNone
TimesheetTableLogPoints to the timesheet log header for this line entry.Int64
RefRecId
NoTSTimesheetTableLog.RecIdNone
WorkerSystem record ID of the worker.Int64
ProjWorkerRecId
NoNone
WrkCtrIdResource ID, linked to the resources table.String
WrkCtrId
NoWrkCtrTable.WrkCtrIdNone

Indexes (3)

Relations (15)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TSTimesheetLineLog records → zero or one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many TSTimesheetLineLog records → zero or one DimensionAttributeValueSet record

  • ProjCategory → ProjCategory

    Join on CategoryId = ProjCategory.CategoryId, ProjCategory.CategoryType = ProjCategoryType::Hour

    Many TSTimesheetLineLog records → exactly one ProjCategory record

  • ProjLineProperty → ProjLineProperty

    Join on LinePropertyId = ProjLineProperty.LinePropertyId

    Many TSTimesheetLineLog records → zero or one ProjLineProperty record

  • ProjPeriodTimesheetWeek → ProjPeriodTimesheetWeek

    Join on ProjPeriodTimesheetWeek = ProjPeriodTimesheetWeek.RecId

    Many TSTimesheetLineLog records → zero or one ProjPeriodTimesheetWeek record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many TSTimesheetLineLog records → exactly one ProjTable record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Many TSTimesheetLineLog records → zero or one smmActivities record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroupId = TaxGroupHeading.TaxGroup

    Many TSTimesheetLineLog records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many TSTimesheetLineLog records → zero or one TaxItemGroupHeading record

  • TsTimesheetLine → TSTimesheetLine

    Join on TimesheetLine = TSTimesheetLine.RecId

    Many TSTimesheetLineLog records → zero or one TSTimesheetLine record

  • TSTimesheetTable → TSTimesheetTable

    Join on TimesheetNbr = TSTimesheetTable.TimesheetNbr

    Many TSTimesheetLineLog records → exactly one TSTimesheetTable record

  • TsTimesheetTableLog → TSTimesheetTableLog

    Join on TimesheetTableLog = TSTimesheetTableLog.RecId

    Many TSTimesheetLineLog records → exactly one TSTimesheetTableLog record

  • WrkCtrTable → WrkCtrTable

    Join on WrkCtrId = WrkCtrTable.WrkCtrId, WrkCtrTable.IsIndividualResource = 1

    Many TSTimesheetLineLog records → zero or one WrkCtrTable record

  • Resource → ResourceView

    Join on Resource = ResourceView.RecId

    Many TSTimesheetLineLog records → exactly one ResourceView record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many 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.

Email sales@drdynamics.co.uk