Table

TSIntercompanyCost

Project intercompany cost header

Header record for a project intercompany cost created from a timesheet. It links a source document header to a timesheet. Detail lines are held in the related lines table.

Table name
TSIntercompanyCost
Module
Project management and accounting
Table group
TransactionHeader
Table type
Regular
Data per company
No
Configuration key
Project
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (6)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
SourceDocumentHeaderPoints to the source document header record linked to this cost header.Int64
RefRecId
YesSourceDocumentHeader.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TSTimesheetTablePoints to the timesheet record this cost header relates to.Int64
RefRecId
YesTSTimesheetTable.RecIdNone

Indexes (2)

Relations (2)

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

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Zero or one TSIntercompanyCost record → exactly one SourceDocumentHeader record

  • TSTimesheetTable → TSTimesheetTable

    Join on TSTimesheetTable = TSTimesheetTable.RecId

    Zero or one TSIntercompanyCost record → exactly one TSTimesheetTable record

Get this data out

No public entity reads from TSIntercompanyCost. Its data is only reachable through the application, a custom entity or a database export.

Need help with TSIntercompanyCost in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk