Table
RPayAverageEarnTable
Average earnings calculation method
Holds the average earnings calculation methods, one record per method code. Each method has a name, a type and settings for time groups, counters, pay rates and month handling. Employee-specific variants are held separately.
- Table name
RPayAverageEarnTable- Module
Obsolete- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
RpayAverageEarn- Primary index
RPayAverageEarnCodeIdx- Replacement key
None- Key fields
RPayAverageEarnCode- Model
Foundation
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RPayAverageEarnCodeCode that identifies the calculation method. | StringRPayAverageEarnCode | Yes | None | |
ActuallyFundCounter used as the base of the calculation. | StringRPayCounterUnit | No | RPayCounterTable.CounterUnit | None |
ActuallyTimeGroupCodeTime group used for time actually worked. | StringRpayTimeGroupCode | No | RPayTimeGroupTable.TimeGroup | None |
AverageEarnNameName of the calculation method. | String (60)Name | No | None | |
AverageFundCounter used as the average earnings base. | StringRPayCounterUnit | No | RPayCounterTable.CounterUnit | None |
AverageRateRevaluationShows whether average earnings are recalculated (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
AverageRateRevaluationMROTShows whether the average rate is recalculated by the minimum wage (MROT) (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
AverageTimeGroupCodeTime group used for the averaged time. | StringRpayTimeGroupCode | No | RPayTimeGroupTable.TimeGroup | None |
BonusFundCounter used as the base for bonuses. | StringRPayCounterUnit | No | RPayCounterTable.CounterUnit | None |
CalcBonusInProportionShows whether bonuses are calculated in proportion (yes or no). | EnumRPayCalcBonusInProportionNoYes (enum) | No | None | |
CalcByFundCode of a pay rate that sets calculation via funds.low confidence | StringRPayRateCode | No | RPayRateTable.PayRate | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
MonthForCalcCode of a pay rate that sets the number of months used in the calculation.low confidence | StringRPayRateCode | No | RPayRateTable.PayRate | None |
NonAppearanceTimeGroupCodeTime group used for absences from work. | StringRpayTimeGroupCode | No | RPayTimeGroupTable.TimeGroup | None |
NonDecreasedDaysRateCode of a pay rate that sets the number of days that are not reduced. | StringRPayRateCode | No | RPayRateTable.PayRate | 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 | |
RiseFactorCode of a pay rate used as a step-up ratio. | StringRPayRateCode | No | RPayRateTable.PayRate | None |
RpayAverageEarnCodeTypeKind of calculation: others, vacations, sick payment or business trips. | EnumRPayAverageEarnCodeType (enum) | No | None | |
RpayAverageFullMonthCalcTypeHow a full month is calculated: according to calendar or average value. | EnumRPayAverageFullMonthCalcType (enum) | No | None | |
RPayAverageTimeCalcTypeHow a short month is calculated: summary, calendar or by coefficient. | EnumRPayAverageTimeCalcType (enum) | No | None | |
RPayBonusAccountingCriterionCriterion for bonus accounting: maximum, minimum, first or last. | EnumRPayBonusAccountingCriterion (enum) | No | None | |
RPayDayHourCalcWhether the calculation is by days or by hours. | EnumRPayDayHourCalc (enum) | No | None | |
RpaySiclListTypeBasis of the calculation: by salary rate or by actual salary. | EnumRPaySickListType (enum) | No | None | |
RPayWeekDurationLength of the working week: 5, 6 or 7 days. | EnumRPayWeekDuration (enum) | No | None | |
ScheduleTimeGroupCodeTime group used for time according to the schedule. | StringRpayTimeGroupCode | No | RPayTimeGroupTable.TimeGroup | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
RPayAverageEarnCodeIdxPrimary indexUnique, alternate key.
Relations (11)
Each relation joins RPayAverageEarnTable to another table on the fields shown.
RPayCounterTable_ActuallyFund→RPayCounterTableJoin on
RPayCounterTable.LineType = RPayCtypeType::BaseTotal,RPayCounterTable.CounterType = RPayCounterType::Fund,ActuallyFund = RPayCounterTable.CounterUnitMany RPayAverageEarnTable records → zero or one RPayCounterTable record
RPayCounterTable_AverageFund→RPayCounterTableJoin on
RPayCounterTable.LineType = RPayCtypeType::BaseTotal,RPayCounterTable.CounterType = RPayCounterType::Fund,AverageFund = RPayCounterTable.CounterUnitMany RPayAverageEarnTable records → zero or one RPayCounterTable record
RPayCounterTable_BonusFund→RPayCounterTableJoin on
RPayCounterTable.LineType = RPayCtypeType::BaseTotal,RPayCounterTable.CounterType = RPayCounterType::Fund,BonusFund = RPayCounterTable.CounterUnitMany RPayAverageEarnTable records → zero or one RPayCounterTable record
RPayRateTable→RPayRateTableJoin on
RiseFactor = RPayRateTable.PayRateMany RPayAverageEarnTable records → exactly one RPayRateTable record
RPayRateTableCalcFund→RPayRateTableJoin on
CalcByFund = RPayRateTable.PayRateMany RPayAverageEarnTable records → exactly one RPayRateTable record
RPayRateTableMth→RPayRateTableJoin on
MonthForCalc = RPayRateTable.PayRateMany RPayAverageEarnTable records → exactly one RPayRateTable record
RPayRateTableNonDecr→RPayRateTableJoin on
NonDecreasedDaysRate = RPayRateTable.PayRateMany RPayAverageEarnTable records → exactly one RPayRateTable record
RPayTimeGroupTable→RPayTimeGroupTableJoin on
ScheduleTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnTable records → exactly one RPayTimeGroupTable record
RPayTimeGroupTableActual→RPayTimeGroupTableJoin on
ActuallyTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnTable records → exactly one RPayTimeGroupTable record
RPayTimeGroupTableAvg→RPayTimeGroupTableJoin on
AverageTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnTable records → exactly one RPayTimeGroupTable record
RPayTimeGroupTableNonApp→RPayTimeGroupTableJoin on
NonAppearanceTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnTable records → exactly one RPayTimeGroupTable record
Get this data out
No public entity reads from RPayAverageEarnTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with RPayAverageEarnTable in a report, an integration or a migration? Talk to Dr Dynamics.