Table
RPayAverageEarnEmplTable
Employee average earnings calculation method
Holds the average earnings calculation settings for a single employee. Each record is one calculation method code and one employee. It lets an employee have values that differ from the general method, and links to methods, pay rates, counters and time groups.
- Table name
RPayAverageEarnEmplTable- Module
Obsolete- Table group
Parameter- Table type
Regular- Data per company
Yes- Configuration key
RpayAverageEarn- Primary index
RPayAverageEarnCodeEmplIdx- Replacement key
None- Key fields
RPayAverageEarnCode, EmplId- Model
Foundation
Fields (25)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RPayAverageEarnCodeCode of the average earnings calculation method. | StringRPayAverageEarnCode | Yes | RPayAverageEarnTable.RPayAverageEarnCode | None |
EmplIdEmployee that these settings apply to. Forms the key together with the method code. | String (20)RHRMEmplId | 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 |
averageEarnCodeTypeKind of calculation: others, vacations, sick payment or business trips. | EnumRPayAverageEarnCodeType (enum) | No | None | |
AverageFundCounter used as the average earnings base. | StringRPayCounterUnit | No | RPayCounterTable.CounterUnit | 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 |
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 |
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 | |
RpaySickListTypeBasis 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)
RPayAverageEarnCodeEmplIdxPrimary indexUnique, alternate key.
Relations (12)
Each relation joins RPayAverageEarnEmplTable to another table on the fields shown.
RpayAverageEarnEmplTable→RPayAverageEarnEmplTableJoin on
EmplId = RPayAverageEarnEmplTable.EmplId,RPayAverageEarnCode = RPayAverageEarnEmplTable.RPayAverageEarnCodeMany RPayAverageEarnEmplTable records → exactly one RPayAverageEarnEmplTable record
RPayAverageEarnTable→RPayAverageEarnTableJoin on
RPayAverageEarnCode = RPayAverageEarnTable.RPayAverageEarnCodeOne or more RPayAverageEarnEmplTable records → exactly one RPayAverageEarnTable record
RPayCounterTable_ActuallyFund→RPayCounterTableJoin on
RPayCounterTable.LineType = RPayCtypeType::BaseTotal,RPayCounterTable.CounterType = RPayCounterType::Fund,ActuallyFund = RPayCounterTable.CounterUnitMany RPayAverageEarnEmplTable records → exactly one RPayCounterTable record
RPayCounterTable_AverageFund→RPayCounterTableJoin on
RPayCounterTable.LineType = RPayCtypeType::BaseTotal,RPayCounterTable.CounterType = RPayCounterType::Fund,AverageFund = RPayCounterTable.CounterUnitMany RPayAverageEarnEmplTable records → exactly one RPayCounterTable record
RPayCounterTable_BonusFund→RPayCounterTableJoin on
RPayCounterTable.LineType = RPayCtypeType::BaseTotal,RPayCounterTable.CounterType = RPayCounterType::Fund,BonusFund = RPayCounterTable.CounterUnitMany RPayAverageEarnEmplTable records → exactly one RPayCounterTable record
RPayRateTable→RPayRateTableJoin on
MonthForCalc = RPayRateTable.PayRateMany RPayAverageEarnEmplTable records → exactly one RPayRateTable record
RPayRateTable_RateTable→RPayRateTableJoin on
CalcByFund = RPayRateTable.PayRateMany RPayAverageEarnEmplTable records → exactly one RPayRateTable record
RPayRateTable_Rise→RPayRateTableJoin on
RiseFactor = RPayRateTable.PayRateMany RPayAverageEarnEmplTable records → exactly one RPayRateTable record
RPayTimeGroupTable→RPayTimeGroupTableJoin on
ActuallyTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnEmplTable records → exactly one RPayTimeGroupTable record
RPayTimeGroupTable_Average→RPayTimeGroupTableJoin on
AverageTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnEmplTable records → exactly one RPayTimeGroupTable record
RPayTimeGroupTable_nonapp→RPayTimeGroupTableJoin on
NonAppearanceTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnEmplTable records → exactly one RPayTimeGroupTable record
RPayTimeGroupTable_schedule→RPayTimeGroupTableJoin on
ScheduleTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnEmplTable records → exactly one RPayTimeGroupTable record
Get this data out
No public entity reads from RPayAverageEarnEmplTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with RPayAverageEarnEmplTable in a report, an integration or a migration? Talk to Dr Dynamics.