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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | 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 | |
RefRecIdSystem record ID of the related record, for example in the employee average earnings calculation. | Int64RefRecId | No | None | |
RefTableIdID of the table that the related record belongs to. | IntegerRefTableId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TblTransRecIdSystem record ID of the timesheet total that is linked. | Int64RefRecId | No | RPayTblTrans.RecId | None |
Indexes (1)
RelationIdxRefRecId,RefTableId,TblTransRecIdUnique.
Relations (2)
Each relation joins RPayTblTransDocRelation to another table on the fields shown.
RPayAverageEarnEmplPeriodTable→RPayAverageEarnEmplPeriodTableJoin on
RefTableId = RPayAverageEarnEmplPeriodTable.TableId,RefRecId = RPayAverageEarnEmplPeriodTable.RecIdZero or one RPayTblTransDocRelation record → exactly one RPayAverageEarnEmplPeriodTable record
RPayTblTrans→RPayTblTransJoin on
TblTransRecId = RPayTblTrans.RecIdMany 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.