Table
RPayCounterTable
Counters
Holds counters, one row for each counter code. A counter is either a calculation or a fund. It stores the account, offset account and deviation account settings and links to rates, a pay type and a calculation sequence.
- Table name
RPayCounterTable- Module
Obsolete- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
RPayModule- Primary index
CountIdx- Replacement key
CountIdx- Key fields
CounterUnit- Model
Foundation
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CounterUnitCode that identifies the counter. | StringRPayCounterUnit | Yes | None | |
AccountTypeType of account used for the counter, such as ledger, customer or vendor. | EnumLedgerJournalACType (enum) | No | None | |
CounterTypeGroup of the counter: calculation or fund. | EnumRPayCounterType (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimensions for the counter. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
DeviationAccountTypeType of account used for deviations. | EnumLedgerJournalACType (enum) | No | None | |
DeviationDefaultDimensionDefault financial dimensions for the deviation account. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
DeviationLedgerDimensionLedger account used for deviations. | Int64DimensionDynamicDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
LedgerDimensionLedger account, with its dimensions, used for the counter. | Int64DimensionDynamicDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
LineTypeFund type: off-budget fund or basis for calculation. | EnumRPayCtypeType (enum) | No | None | |
NameName of the counter. | String (60)Name | No | None | |
OffsetAccountTypeType of the offset account. | EnumLedgerJournalACType (enum) | No | None | |
OffsetDefaultDimensionDefault financial dimensions for the offset account. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
OffsetLedgerDimensionLedger account used as the offset. | Int64DimensionDynamicDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
OutputThe pay type linked to the counter. | StringRPayCostType | No | RPayTable.PayCtype | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayRateRate used as the value of the counter. | StringRPayRateCode | No | RPayRateTable.PayRate | None |
PayRateEmplRate used as a reference for the employee. | StringRPayRateCode | No | RPayRateTable.PayRate | None |
PayRatePercentRate that holds the percentage for the counter. | StringRPayRateCode | No | RPayRateTable.PayRate | 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 | |
ScanningCalculation sequence of the counter. | IntegerRPaySequence | No | RPaySeqTable.Scanning | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
CountIdxPrimary indexReplacement keyUnique, alternate key.
ScanningIdxUnique.
Relations (11)
Each relation joins RPayCounterTable to another table on the fields shown.
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany RPayCounterTable records → exactly one DimensionAttributeValueSet record
DeviationDefaultDimension→DimensionAttributeValueSetJoin on
DeviationDefaultDimension = DimensionAttributeValueSet.RecIdMany RPayCounterTable records → exactly one DimensionAttributeValueSet record
DeviationLedgerDimension→DimensionAttributeValueCombinationJoin on
DeviationLedgerDimension = DimensionAttributeValueCombination.RecIdMany RPayCounterTable records → exactly one DimensionAttributeValueCombination record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany RPayCounterTable records → exactly one DimensionAttributeValueCombination record
OffsetDefaultDimension→DimensionAttributeValueSetJoin on
OffsetDefaultDimension = DimensionAttributeValueSet.RecIdMany RPayCounterTable records → exactly one DimensionAttributeValueSet record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany RPayCounterTable records → exactly one DimensionAttributeValueCombination record
RPayRateTable_PayRate→RPayRateTableJoin on
PayRate = RPayRateTable.PayRateMany RPayCounterTable records → exactly one RPayRateTable record
RPayRateTable_PayRateEmpl→RPayRateTableJoin on
PayRateEmpl = RPayRateTable.PayRateMany RPayCounterTable records → exactly one RPayRateTable record
RPayRateTable_PayRatePercent→RPayRateTableJoin on
PayRatePercent = RPayRateTable.PayRateMany RPayCounterTable records → exactly one RPayRateTable record
RPaySeqTable_Scanning→RPaySeqTableJoin on
Scanning = RPaySeqTable.ScanningMany RPayCounterTable records → exactly one RPaySeqTable record
RPayTable→RPayTableJoin on
Output = RPayTable.PayCtypeMany RPayCounterTable records → exactly one RPayTable record
Get this data out
No public entity reads from RPayCounterTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with RPayCounterTable in a report, an integration or a migration? Talk to Dr Dynamics.