Table

ProjCorrectIntercompanyTrans

Correct project intercompany transactions

Links an original project intercompany transaction to its reversal and to its corrected transaction. All three links point to timesheet transaction records. It also stores the origin type of the transaction, such as hour journal or expense journal.

Table name
ProjCorrectIntercompanyTrans
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
Project
Primary index
OrigTransIdIndex
Replacement key
None
Key fields
TransactionOrigin, OrigTransRecId, ReversalTransRecId
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TransactionOriginSource of the transaction, for example hour journal, expense journal or item journal.Enum
ProjTransactionOrigin
ProjOrigin (enum)
NoNone
OrigTransRecIdSystem record ID of the original timesheet transaction.Int64
RefRecId
YesTSTimesheetTrans.RecIdNone
ReversalTransRecIdSystem record ID of the timesheet transaction that reverses the original.Int64
RefRecId
YesTSTimesheetTrans.RecIdNone
CorrectedTransRecIdSystem record ID of the timesheet transaction that holds the corrected version.Int64
RefRecId
YesTSTimesheetTrans.RecIdNone
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
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
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (3)

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

  • OrigTimesheetTrans → TSTimesheetTrans

    Join on TransactionOrigin = ProjOrigin::Timesheet, OrigTransRecId = TSTimesheetTrans.RecId

    Many ProjCorrectIntercompanyTrans records → exactly one TSTimesheetTrans record

  • ReversalTimesheetTrans → TSTimesheetTrans

    Join on TransactionOrigin = ProjOrigin::Timesheet, ReversalTransRecId = TSTimesheetTrans.RecId

    Zero or one ProjCorrectIntercompanyTrans record → exactly one TSTimesheetTrans record

  • CorrectedTimesheetTrans → TSTimesheetTrans

    Join on TransactionOrigin = ProjOrigin::Timesheet, CorrectedTransRecId = TSTimesheetTrans.RecId

    Zero or one ProjCorrectIntercompanyTrans record → exactly one TSTimesheetTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk