Table

RPayTblTransDocRelation

Document and time transactions relation table

Relation table that connects timesheet totals to other documents. One side is a record in the timesheet totals. The other side is a record in a table named by a table ID, such as employee average earnings calculation.

Table name
RPayTblTransDocRelation
Module
Obsolete
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
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
RefRecIdSystem record ID of the related record, for example in the employee average earnings calculation.Int64
RefRecId
NoNone
RefTableIdID of the table that the related record belongs to.Integer
RefTableId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TblTransRecIdSystem record ID of the timesheet total that is linked.Int64
RefRecId
NoRPayTblTrans.RecIdNone

Indexes (1)

Relations (2)

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

  • RPayAverageEarnEmplPeriodTable → RPayAverageEarnEmplPeriodTable

    Join on RefTableId = RPayAverageEarnEmplPeriodTable.TableId, RefRecId = RPayAverageEarnEmplPeriodTable.RecId

    Zero or one RPayTblTransDocRelation record → exactly one RPayAverageEarnEmplPeriodTable record

  • RPayTblTrans → RPayTblTrans

    Join on TblTransRecId = RPayTblTrans.RecId

    Many RPayTblTransDocRelation records → exactly one RPayTblTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk