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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RPayAverageEarnCodeCode that identifies the calculation method.String
RPayAverageEarnCode
YesNone
ActuallyFundCounter used as the base of the calculation.String
RPayCounterUnit
NoRPayCounterTable.CounterUnitNone
ActuallyTimeGroupCodeTime group used for time actually worked.String
RpayTimeGroupCode
NoRPayTimeGroupTable.TimeGroupNone
AverageEarnNameName of the calculation method.String (60)
Name
NoNone
AverageFundCounter used as the average earnings base.String
RPayCounterUnit
NoRPayCounterTable.CounterUnitNone
AverageRateRevaluationShows whether average earnings are recalculated (yes or no).Enum
NoYesId
NoYes (enum)
NoNone
AverageRateRevaluationMROTShows whether the average rate is recalculated by the minimum wage (MROT) (yes or no).Enum
NoYesId
NoYes (enum)
NoNone
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
NonDecreasedDaysRateCode of a pay rate that sets the number of days that are not reduced.String
RPayRateCode
NoRPayRateTable.PayRateNone
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
RpayAverageEarnCodeTypeKind of calculation: others, vacations, sick payment or business trips.Enum
RPayAverageEarnCodeType (enum)
NoNone
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
RpaySiclListTypeBasis 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 (11)

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

  • RPayCounterTable_ActuallyFund → RPayCounterTable

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

    Many RPayAverageEarnTable records → zero or one RPayCounterTable record

  • RPayCounterTable_AverageFund → RPayCounterTable

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

    Many RPayAverageEarnTable records → zero or one RPayCounterTable record

  • RPayCounterTable_BonusFund → RPayCounterTable

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

    Many RPayAverageEarnTable records → zero or one RPayCounterTable record

  • RPayRateTable → RPayRateTable

    Join on RiseFactor = RPayRateTable.PayRate

    Many RPayAverageEarnTable records → exactly one RPayRateTable record

  • RPayRateTableCalcFund → RPayRateTable

    Join on CalcByFund = RPayRateTable.PayRate

    Many RPayAverageEarnTable records → exactly one RPayRateTable record

  • RPayRateTableMth → RPayRateTable

    Join on MonthForCalc = RPayRateTable.PayRate

    Many RPayAverageEarnTable records → exactly one RPayRateTable record

  • RPayRateTableNonDecr → RPayRateTable

    Join on NonDecreasedDaysRate = RPayRateTable.PayRate

    Many RPayAverageEarnTable records → exactly one RPayRateTable record

  • RPayTimeGroupTable → RPayTimeGroupTable

    Join on ScheduleTimeGroupCode = RPayTimeGroupTable.TimeGroup

    Many RPayAverageEarnTable records → exactly one RPayTimeGroupTable record

  • RPayTimeGroupTableActual → RPayTimeGroupTable

    Join on ActuallyTimeGroupCode = RPayTimeGroupTable.TimeGroup

    Many RPayAverageEarnTable records → exactly one RPayTimeGroupTable record

  • RPayTimeGroupTableAvg → RPayTimeGroupTable

    Join on AverageTimeGroupCode = RPayTimeGroupTable.TimeGroup

    Many RPayAverageEarnTable records → exactly one RPayTimeGroupTable record

  • RPayTimeGroupTableNonApp → RPayTimeGroupTable

    Join on NonAppearanceTimeGroupCode = RPayTimeGroupTable.TimeGroup

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

Email sales@drdynamics.co.uk