Table

TSIntercompanyCostDetails

Project intercompany cost lines

Line records for a project intercompany cost. Each line links to a cost header, a timesheet transaction and a source document line. It also holds an amount and a currency.

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

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyPoints to the currency record used for the amount on this line.Int64
RefRecId
NoCurrency.RecIdNone
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
SourceDocumentLinePoints to the source document line linked to this cost line.Int64
RefRecId
YesSourceDocumentLine.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionCurrencyAmountAmount of the line, in the transaction currency.Real
AmountCur
NoNone
TSIntercompanyCostPoints to the intercompany cost header this line belongs to.Int64
RefRecId
YesTSIntercompanyCost.RecIdNone
TSTimesheetTransPoints to the timesheet transaction behind this cost line.Int64
RefRecId
NoTSTimesheetTrans.RecIdNone

Indexes (4)

Relations (4)

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

  • Currency → Currency

    Join on Currency = Currency.RecId

    Many TSIntercompanyCostDetails records → zero or one Currency record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Zero or one TSIntercompanyCostDetails record → exactly one SourceDocumentLine record

  • TSIntercompanyCost → TSIntercompanyCost

    Join on TSIntercompanyCost = TSIntercompanyCost.RecId

    Many TSIntercompanyCostDetails records → exactly one TSIntercompanyCost record

  • TSTimesheetTrans → TSTimesheetTrans

    Join on TSTimesheetTrans = TSTimesheetTrans.RecId

    Zero or one TSIntercompanyCostDetails record → exactly one TSTimesheetTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk