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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyPoints to the currency record used for the amount on this line. | Int64RefRecId | No | Currency.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
SourceDocumentLinePoints to the source document line linked to this cost line. | Int64RefRecId | Yes | SourceDocumentLine.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransactionCurrencyAmountAmount of the line, in the transaction currency. | RealAmountCur | No | None | |
TSIntercompanyCostPoints to the intercompany cost header this line belongs to. | Int64RefRecId | Yes | TSIntercompanyCost.RecId | None |
TSTimesheetTransPoints to the timesheet transaction behind this cost line. | Int64RefRecId | No | TSTimesheetTrans.RecId | None |
Indexes (4)
TSIntercompanyCostIdxNot unique.
SourceDocumentLineIdxUnique.
CurrencyIdxNot unique.
TSTimesheetTransIdxNot unique.
Relations (4)
Each relation joins TSIntercompanyCostDetails to another table on the fields shown.
Currency→CurrencyJoin on
Currency = Currency.RecIdMany TSIntercompanyCostDetails records → zero or one Currency record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdZero or one TSIntercompanyCostDetails record → exactly one SourceDocumentLine record
TSIntercompanyCost→TSIntercompanyCostJoin on
TSIntercompanyCost = TSIntercompanyCost.RecIdMany TSIntercompanyCostDetails records → exactly one TSIntercompanyCost record
TSTimesheetTrans→TSTimesheetTransJoin on
TSTimesheetTrans = TSTimesheetTrans.RecIdZero 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.