Table
TSTimesheetLineWeek
Timesheet weekly hours
Holds weekly hours for a timesheet line. Each record links to a timesheet line and a timesheet. It also holds dates, a project journal, a posting status, a sales price and comments.
- Table name
TSTimesheetLineWeek- 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 (23)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DayFromStart date of the period. | DateTSPeriodFrom | No | None | |
DayToEnd date of the period. | DateTSPeriodTo | No | None | |
ExternalCommentsComment meant for external readers. | String (255)TSExternalComments | No | None | |
HoursHours recorded. The label says Day1. | RealTSWeeklyHours | No | None | |
InternalCommentsComment meant for internal readers. | String (255)TSInternalComments | No | None | |
JournalIdProject journal ID, linked to the project journal table. | String (20)ProjJournalId | No | ProjJournalTable.JournalId | None |
LineNumLine number. | RealLineNum | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PeriodDateStart date of the project period. | DateProjPeriodFrom | 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 |
ProjTransDateProject date of the transaction. | DateProjTransDate | No | 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 | |
SalesPriceSales price of the line. | RealProjSalesPriceEmpl | No | 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 | |
TimesheetNbrNumber of the timesheet, linked to the timesheets table. | StringTSTimesheetNbr | No | TSTimesheetTable.TimesheetNbr | None |
TransDateVoucher date. | DateJournalTransDate | No | None | |
TransIdTransaction ID. | String (20)ProjTransIdBase | No | None | |
TSTimesheetLinePoints to the timesheet line these hours belong to. | Int64RefRecId | Yes | TSTimesheetLine.RecId | None |
VoucherVoucher number. | String (20)Voucher | No | None |
Indexes (5)
TSLineWeekIdxDayFrom,TimesheetNbr,LineNumNot unique.
TSTimesheetLineNbrNot unique.
TSWeekIdxTimesheetNbr,ProjPeriodId,DayFromNot unique.
TSTimesheetLineIdxNot unique.
PostStatusIdxNot unique.
Relations (4)
Each relation joins TSTimesheetLineWeek to another table on the fields shown.
ProjJournalTable→ProjJournalTableJoin on
JournalId = ProjJournalTable.JournalIdMany TSTimesheetLineWeek records → zero or one ProjJournalTable record
ProjPeriodTable→ProjPeriodTableJoin on
ProjPeriodId = ProjPeriodTable.PeriodIdMany TSTimesheetLineWeek records → zero or one ProjPeriodTable record
TSTimesheetLine→TSTimesheetLineJoin on
TSTimesheetLine = TSTimesheetLine.RecIdMany TSTimesheetLineWeek records → exactly one TSTimesheetLine record
TSTimesheetTable→TSTimesheetTableJoin on
TimesheetNbr = TSTimesheetTable.TimesheetNbrMany TSTimesheetLineWeek records → zero or one TSTimesheetTable record
Get this data out
No public entity reads from TSTimesheetLineWeek. Its data is only reachable through the application, a custom entity or a database export.
Need help with TSTimesheetLineWeek in a report, an integration or a migration? Talk to Dr Dynamics.