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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RPayAverageEarnCodeCode of the average earnings calculation method.String
RPayAverageEarnCode
YesRPayAverageEarnTable.RPayAverageEarnCodeNone
EmplIdEmployee that these settings apply to. Forms the key together with the method code.String (20)
RHRMEmplId
YesNone
ActuallyFundCounter used as the base of the calculation.String
RPayCounterUnit
NoRPayCounterTable.CounterUnitNone
ActuallyTimeGroupCodeTime group used for time actually worked.String
RpayTimeGroupCode
NoRPayTimeGroupTable.TimeGroupNone
averageEarnCodeTypeKind of calculation: others, vacations, sick payment or business trips.Enum
RPayAverageEarnCodeType (enum)
NoNone
AverageFundCounter used as the average earnings base.String
RPayCounterUnit
NoRPayCounterTable.CounterUnitNone
AverageTimeGroupCodeTime group used for the averaged time.String
RpayTimeGroupCode
NoRPayTimeGroupTable.TimeGroupNone
BonusFundCounter used as the base for bonuses.String
RPayCounterUnit
NoRPayCounterTable.CounterUnitNone
CalcBonusInProportionShows whether bonuses are calculated in proportion (yes or no).Enum
RPayCalcBonusInProportion
NoYes (enum)
NoNone
CalcByFundCode of a pay rate that sets calculation via funds.low confidenceString
RPayRateCode
NoRPayRateTable.PayRateNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
MonthForCalcCode of a pay rate that sets the number of months used in the calculation.low confidenceString
RPayRateCode
NoRPayRateTable.PayRateNone
NonAppearanceTimeGroupCodeTime group used for absences from work.String
RpayTimeGroupCode
NoRPayTimeGroupTable.TimeGroupNone
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
RiseFactorCode of a pay rate used as a step-up ratio.String
RPayRateCode
NoRPayRateTable.PayRateNone
RpayAverageFullMonthCalcTypeHow a full month is calculated: according to calendar or average value.Enum
RPayAverageFullMonthCalcType (enum)
NoNone
RPayAverageTimeCalcTypeHow a short month is calculated: summary, calendar or by coefficient.Enum
RPayAverageTimeCalcType (enum)
NoNone
RPayBonusAccountingCriterionCriterion for bonus accounting: maximum, minimum, first or last.Enum
RPayBonusAccountingCriterion (enum)
NoNone
RPayDayHourCalcWhether the calculation is by days or by hours.Enum
RPayDayHourCalc (enum)
NoNone
RpaySickListTypeBasis of the calculation: by salary rate or by actual salary.Enum
RPaySickListType (enum)
NoNone
RPayWeekDurationLength of the working week: 5, 6 or 7 days.Enum
RPayWeekDuration (enum)
NoNone
ScheduleTimeGroupCodeTime group used for time according to the schedule.String
RpayTimeGroupCode
NoRPayTimeGroupTable.TimeGroupNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (12)

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

  • RpayAverageEarnEmplTable → RPayAverageEarnEmplTable

    Join on EmplId = RPayAverageEarnEmplTable.EmplId, RPayAverageEarnCode = RPayAverageEarnEmplTable.RPayAverageEarnCode

    Many RPayAverageEarnEmplTable records → exactly one RPayAverageEarnEmplTable record

  • RPayAverageEarnTable → RPayAverageEarnTable

    Join on RPayAverageEarnCode = RPayAverageEarnTable.RPayAverageEarnCode

    One or more RPayAverageEarnEmplTable records → exactly one RPayAverageEarnTable record

  • RPayCounterTable_ActuallyFund → RPayCounterTable

    Join on RPayCounterTable.LineType = RPayCtypeType::BaseTotal, RPayCounterTable.CounterType = RPayCounterType::Fund, ActuallyFund = RPayCounterTable.CounterUnit

    Many RPayAverageEarnEmplTable records → exactly one RPayCounterTable record

  • RPayCounterTable_AverageFund → RPayCounterTable

    Join on RPayCounterTable.LineType = RPayCtypeType::BaseTotal, RPayCounterTable.CounterType = RPayCounterType::Fund, AverageFund = RPayCounterTable.CounterUnit

    Many RPayAverageEarnEmplTable records → exactly one RPayCounterTable record

  • RPayCounterTable_BonusFund → RPayCounterTable

    Join on RPayCounterTable.LineType = RPayCtypeType::BaseTotal, RPayCounterTable.CounterType = RPayCounterType::Fund, BonusFund = RPayCounterTable.CounterUnit

    Many RPayAverageEarnEmplTable records → exactly one RPayCounterTable record

  • RPayRateTable → RPayRateTable

    Join on MonthForCalc = RPayRateTable.PayRate

    Many RPayAverageEarnEmplTable records → exactly one RPayRateTable record

  • RPayRateTable_RateTable → RPayRateTable

    Join on CalcByFund = RPayRateTable.PayRate

    Many RPayAverageEarnEmplTable records → exactly one RPayRateTable record

  • RPayRateTable_Rise → RPayRateTable

    Join on RiseFactor = RPayRateTable.PayRate

    Many RPayAverageEarnEmplTable records → exactly one RPayRateTable record

  • RPayTimeGroupTable → RPayTimeGroupTable

    Join on ActuallyTimeGroupCode = RPayTimeGroupTable.TimeGroup

    Many RPayAverageEarnEmplTable records → exactly one RPayTimeGroupTable record

  • RPayTimeGroupTable_Average → RPayTimeGroupTable

    Join on AverageTimeGroupCode = RPayTimeGroupTable.TimeGroup

    Many RPayAverageEarnEmplTable records → exactly one RPayTimeGroupTable record

  • RPayTimeGroupTable_nonapp → RPayTimeGroupTable

    Join on NonAppearanceTimeGroupCode = RPayTimeGroupTable.TimeGroup

    Many RPayAverageEarnEmplTable records → exactly one RPayTimeGroupTable record

  • RPayTimeGroupTable_schedule → RPayTimeGroupTable

    Join on ScheduleTimeGroupCode = RPayTimeGroupTable.TimeGroup

    Many 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.

Email sales@drdynamics.co.uk