Table
RPayAverageEarnEmplPeriodTable
Employee average earnings calculation
Holds the result of an average earnings calculation for one employee and period. It combines the calculation method settings with data for vacations, sick lists and business trips, including dates, recalculation details and the amount to pay. It has no defined key and links to employees, calculation methods, pay sheets, relatives, customers and vendors.
- Table name
RPayAverageEarnEmplPeriodTable- Module
Obsolete- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
RpayAverageEarn- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (64)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
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 |
AddPaymFromPaymFundShows whether an additional payment comes from the wage fund (yes or no). | EnumRPayAddPaymFromPaymFundNoYes (enum) | No | None | |
AmountAverage earnings amount; currency not stated in the metadata. | RealRPayAmount | No | None | |
ApplyRestrictionShows whether a restriction is allowed (yes or no). | EnumNoYes (enum) | No | None | |
AverageEarnCalcPeriodPeriod for which the average earnings are calculated. | DateReportPeriod_RU | No | 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 |
BusinessTripRecordTypeWhether the record is a business trip or a break in a business trip. | EnumRPayBusinessTripRecordType (enum) | No | None | |
BusinessTripTypeIdType of business trip, from the business trip types. | StringRHRMBusinessTripTypeId | No | RHRMBusinessTripType.BusinessTripTypeId | 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 |
CalcByMROTShows whether the calculation uses the minimum wage (MROT) (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
CalcByPrevYearsShows whether the calculation uses funds from previous years (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
CorrectedPeriodPeriod that was corrected. | DateRPayCorrectedPeriod | No | None | |
CorrectedSickListIdNumber of the sick list that is reversed by this adjustment. | String (14)RPaySickListId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DayNumberNumber of days. | IntegerDays | No | None | |
EmplIdEmployee that the calculation is for. | String (20)RHRMEmplId | Yes | RHRMEmplTable.EmployeeId | None |
EndDateEnd date of the period. | DateEndDate | No | None | |
FamilyRecIdReference to a relative record, used for example for care of a relative. | Int64RefRecId | No | RHRMVirtualNetworkFamily.RecId | None |
HospitalCode of the customer or vendor account for the medical institution. | String (20)CustVendAC | No | CustTable.AccountNumVendTable.AccountNum | None |
HospitalTypeWhether the institution is held as a customer or a vendor. | EnumRPayHospitalType (enum) | No | None | |
IncludedShows whether the amount is added to salary (yes or no). | EnumNoYes (enum) | No | None | |
LimitByMROTShows whether the amount is reduced to the minimum wage (MROT) (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
MonthForCalcCode of a pay rate that sets the number of months used in the calculation.low confidence | StringRPayRateCode | No | RPayRateTable.PayRate | None |
MROTAmountAeDaily payment based on the minimum wage (MROT); currency not stated in the metadata. | RealRPayAmount | No | None | |
MROTEndDateEnd date of the treatment violation period. | DateTransDate | No | None | |
MROTStartDateStart date of the treatment violation period. | DateTransDate | No | None | |
NonAppearanceTimeGroupCodeTime group used for absences from work. | StringRpayTimeGroupCode | No | RPayTimeGroupTable.TimeGroup | None |
NumOfWorkedMonthsNumber of months worked. | RealRPayDayHour | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartTimeCoefficientFactor for part-time work. | RealFactor | No | None | |
PayPeriodPeriod for which the calculation is made. | DateReportPeriod_RU | No | None | |
PrevBusinessTripStartDateStart date of a related earlier business trip. | DateStartDate | No | None | |
PrevPaySickListIdNumber of the previous sick list. | String (14)RPaySickListId | No | None | |
PrevVacationStartDateStart date of an associated vacation. | DateStartDate | No | None | |
RecalcByPrevYearsShows whether the years used for the calculation were changed by application (yes or no).low confidence | EnumNoYesIdNoYes (enum) | No | None | |
RecalcSickListIdNumber of the sick list that was recalculated. | String (14)RPaySickListId | 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 |
RPayAverageEarnCodeCode of the average earnings calculation method used. | StringRPayAverageEarnCode | Yes | RPayAverageEarnTable.RPayAverageEarnCode | 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 | |
RpayIllTypeType of incapacity, such as illness, care of sick, maternity leave, injury or child care. | EnumRPayIllType (enum) | No | None | |
RpaySickListIdSick list number. | String (14)RPaySickListId | 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 |
SheetTableRecidReference to the pay-sheet record. | Int64RefRecId | No | RPaySheetTable.RecId | None |
SickListRecalcNumberNumber of the sick list recalculation. | IntegerRPaySickListRecalcNumber | No | None | |
SickListRecalcPeriodPeriod of the sick list recalculation. | DateReportPeriod_RU | No | None | |
SourceSickListIdSick list number of the source sick list. | String (14)RPaySickListId | No | None | |
StartDateStart date of the period. | DateStartDate | No | None | |
SumOnHandAmount to be paid; currency not stated in the metadata. | RealRPayAmount | No | None | |
SumOnHandBlockedShows whether the amount to be paid is blocked (yes or no). | EnumNoYes (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VacationRecordTypeWhether the record is a vacation, a break in a vacation or compensation. | EnumRPayVacationRecordType (enum) | No | None | |
VacationTypeIdType of vacation, from the vacation types. | StringRHRMVacationTypeId | No | RHRMVacationType.VacationTypeId | None |
Indexes (1)
RPayAverageEarnCodeEmplPeriodIdxaverageEarnCodeType,RPayAverageEarnCode,EmplId,AverageEarnCalcPeriod,StartDateNot unique.
Relations (18)
Each relation joins RPayAverageEarnEmplPeriodTable to another table on the fields shown.
HospitalCust→CustTableJoin on
Hospital = CustTable.AccountNum,HospitalType = RPayHospitalType::CustMany RPayAverageEarnEmplPeriodTable records → zero or one CustTable record
HospitalVend→VendTableJoin on
HospitalType = RPayHospitalType::Vend,Hospital = VendTable.AccountNumMany RPayAverageEarnEmplPeriodTable records → zero or one VendTable record
RHRMBusinessTripType→RHRMBusinessTripTypeJoin on
BusinessTripTypeId = RHRMBusinessTripType.BusinessTripTypeIdMany RPayAverageEarnEmplPeriodTable records → exactly one RHRMBusinessTripType record
RHRMEmplTable→RHRMEmplTableJoin on
EmplId = RHRMEmplTable.EmployeeIdZero or one RPayAverageEarnEmplPeriodTable record → exactly one RHRMEmplTable record
RHRMVacationType→RHRMVacationTypeJoin on
VacationTypeId = RHRMVacationType.VacationTypeIdMany RPayAverageEarnEmplPeriodTable records → exactly one RHRMVacationType record
RHRMVirtualNetworkFamily→RHRMVirtualNetworkFamilyJoin on
FamilyRecId = RHRMVirtualNetworkFamily.RecIdMany RPayAverageEarnEmplPeriodTable records → exactly one RHRMVirtualNetworkFamily record
RPayAverageEarnTable→RPayAverageEarnTableJoin on
RPayAverageEarnCode = RPayAverageEarnTable.RPayAverageEarnCodeOne or more RPayAverageEarnEmplPeriodTable records → exactly one RPayAverageEarnTable record
RPayCounterTable_ActuallyFund→RPayCounterTableJoin on
RPayCounterTable.LineType = RPayCtypeType::BaseTotal,RPayCounterTable.CounterType = RPayCounterType::Fund,ActuallyFund = RPayCounterTable.CounterUnitMany RPayAverageEarnEmplPeriodTable records → exactly one RPayCounterTable record
RPayCounterTable_AverageFund→RPayCounterTableJoin on
RPayCounterTable.LineType = RPayCtypeType::BaseTotal,RPayCounterTable.CounterType = RPayCounterType::Fund,AverageFund = RPayCounterTable.CounterUnitMany RPayAverageEarnEmplPeriodTable records → exactly one RPayCounterTable record
RPayCounterTable_BonusFund→RPayCounterTableJoin on
RPayCounterTable.LineType = RPayCtypeType::BaseTotal,RPayCounterTable.CounterType = RPayCounterType::Fund,BonusFund = RPayCounterTable.CounterUnitMany RPayAverageEarnEmplPeriodTable records → exactly one RPayCounterTable record
RPayRateTable→RPayRateTableJoin on
RiseFactor = RPayRateTable.PayRateMany RPayAverageEarnEmplPeriodTable records → exactly one RPayRateTable record
RPayRateTable_CalcByFund→RPayRateTableJoin on
CalcByFund = RPayRateTable.PayRateMany RPayAverageEarnEmplPeriodTable records → exactly one RPayRateTable record
RPayRateTable_MonthForCalc→RPayRateTableJoin on
MonthForCalc = RPayRateTable.PayRateMany RPayAverageEarnEmplPeriodTable records → exactly one RPayRateTable record
RPaySheetTable→RPaySheetTableJoin on
SheetTableRecid = RPaySheetTable.RecIdMany RPayAverageEarnEmplPeriodTable records → exactly one RPaySheetTable record
RPayTimeGroupTable→RPayTimeGroupTableJoin on
NonAppearanceTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnEmplPeriodTable records → exactly one RPayTimeGroupTable record
RPayTimeGroupTable_Actually→RPayTimeGroupTableJoin on
ActuallyTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnEmplPeriodTable records → exactly one RPayTimeGroupTable record
RPayTimeGroupTable_Average→RPayTimeGroupTableJoin on
AverageTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnEmplPeriodTable records → exactly one RPayTimeGroupTable record
RPayTimeGroupTable_Schedule→RPayTimeGroupTableJoin on
ScheduleTimeGroupCode = RPayTimeGroupTable.TimeGroupMany RPayAverageEarnEmplPeriodTable records → exactly one RPayTimeGroupTable record
Get this data out
No public entity reads from RPayAverageEarnEmplPeriodTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with RPayAverageEarnEmplPeriodTable in a report, an integration or a migration? Talk to Dr Dynamics.