Table

RPayEmplStandardDeductionTable

Standard deduction of employees

Holds standard deductions assigned to employees. Each record gives the deduction code, the date range, the amount or percentages, and the recipient. Account details and an alimony payment method are also stored. No key is listed in the metadata.

Table name
RPayEmplStandardDeductionTable
Module
Obsolete
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
RPayDeduction
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountTypeType of account used, such as ledger, customer or vendor.Enum
LedgerJournalACType (enum)
NoNone
AlimonyPaymentTypeWay alimony is paid: sheet, mail recipient or bank.Enum
RPayAlimPaymentType (enum)
NoNone
AlimonyPostSequenceCalculation sequence used for alimony, pointing to the sequence record.Integer
RPaySequence
NoRPaySeqTable.ScanningNone
BankTransAccountIdBank account of the recipient, linked to a customer or vendor bank account.String
BankAccountID
NoCustBankAccount.AccountIDVendBankAccount.AccountIDNone
BorrowingPercentageBorrowing percentage, held as a percent value.Real
Percent
NoNone
ByWorkerCalculationYes/no flag that says whether all employees are included.Enum
NoYesId
NoYes (enum)
NoNone
CorrectedPeriodPeriod that is being corrected.Date
RPayCorrectedPeriod
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeductionCodeStandard deduction the row uses, pointing to the standard deduction record.String
RPayStandardDeductionCode
YesRPayStandardDeductionTable.DeductionCodeNone
DeductionOrderSequence number of the deduction.Integer
Integer
NoNone
DeductPercentageDeduction percentage.Real
Percent
NoNone
DefaultDimensionDefault financial dimensions for the row.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValue.RecIdDimensionAttributeValueSet.RecIdNone
DocumentDateDate of the supporting document.Date
DocumentDate
NoNone
DocumentNumNumber of the supporting document.String (20)
DocumentNum
NoNone
EmplIdEmployee the deduction applies to, pointing to the employee record.String (20)
RHRMEmplId
YesRHRMEmplTable.EmployeeIdNone
EndDateDate the deduction ends.Date
TransDate
NoNone
LedgerDimensionAccount, with its dimensions, as a dimension combination.Int64
DimensionDynamicDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
MustBeProfitCalculatedYes/no flag for a lucre (profit) calculation.Enum
NoYesId
NoYes (enum)
NoNone
MustBeSumControlledYes/no flag for amount control.Enum
NoYesId
NoYes (enum)
NoNone
NotesFree-text note.String (-1)
Notes
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaySequencePosition in the calculation order, pointing to the sequence record.Integer
RPaySequence
YesRPaySeqTable.ScanningNone
PeriodFrequencyPeriod type for the deduction amount, such as month, quarter, half-year or year.Enum
RPayPeriodFrequency (enum)
NoNone
PeriodSumDeduction amount over the period.Real
RPayAmount
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
RecipientWho receives the deduction: a customer, employee or vendor, depending on the recipient type.String (20)
CustVendAC
NoCustTable.AccountNumRHRMEmplTable.EmployeeIdVendTable.AccountNumNone
RecipientTypeKind of recipient: customer, employee or vendor.Enum
RPayStandardDeductionRecipientType (enum)
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReverseBorrowingGainYes/no flag for a financial interest storno adjustment.Enum
NoYesId
NoYes (enum)
NoNone
StartDateDate the deduction starts.Date
TransDate
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TotalSumTotal deduction amount.Real
RPayAmount
NoNone

Indexes (2)

Relations (15)

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

  • CustBankAccount → CustBankAccount

    Join on BankTransAccountId = CustBankAccount.AccountID, Recipient = CustBankAccount.CustAccount, RecipientType = RPayStandardDeductionRecipientType::Cust

    Many RPayEmplStandardDeductionTable records → zero or one CustBankAccount record

  • CustTable_Recipient → CustTable

    Join on RecipientType = RPayStandardDeductionRecipientType::Cust, Recipient = CustTable.AccountNum

    Many RPayEmplStandardDeductionTable records → zero or one CustTable record

  • DimensionAttributeValue → DimensionAttributeValue

    Join on DefaultDimension = DimensionAttributeValue.RecId

    Many RPayEmplStandardDeductionTable records → exactly one DimensionAttributeValue record

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many RPayEmplStandardDeductionTable records → exactly one DimensionAttributeValueCombination record

  • EmplTable → RHRMEmplTable

    Join on EmplId = RHRMEmplTable.EmployeeId

    Many RPayEmplStandardDeductionTable records → exactly one RHRMEmplTable record

  • EmplTable_Recipient → RHRMEmplTable

    Join on EmplId = RHRMEmplTable.EmployeeId, RecipientType = RPayStandardDeductionRecipientType::Empl

    Many RPayEmplStandardDeductionTable records → zero or one RHRMEmplTable record

  • ProjectTable → ProjTable

    Join on AccountType = LedgerJournalACType::Project

    Many RPayEmplStandardDeductionTable records → zero or one ProjTable record

  • Recipient → RHRMEmplTable

    Join on RecipientType = RPayStandardDeductionRecipientType::Empl, Recipient = RHRMEmplTable.EmployeeId

    Many RPayEmplStandardDeductionTable records → exactly one RHRMEmplTable record

  • RHRMPersonBankAccount → RHRMPersonBankAccount

    Join on AlimonyPaymentType = RPayAlimPaymentType::Bank, RecipientType = RPayStandardDeductionRecipientType::Empl, BankTransAccountId = RHRMPersonBankAccount.AccountID

    Many RPayEmplStandardDeductionTable records → zero or one RHRMPersonBankAccount record

  • RPaySeqTable → RPaySeqTable

    Join on PaySequence = RPaySeqTable.Scanning

    Many RPayEmplStandardDeductionTable records → exactly one RPaySeqTable record

  • RPaySeqTableAlimony → RPaySeqTable

    Join on AlimonyPostSequence = RPaySeqTable.Scanning

    Many RPayEmplStandardDeductionTable records → exactly one RPaySeqTable record

  • RPayStandardDeductionTable → RPayStandardDeductionTable

    Join on DeductionCode = RPayStandardDeductionTable.DeductionCode

    One or more RPayEmplStandardDeductionTable records → exactly one RPayStandardDeductionTable record

  • VendBankAccount → VendBankAccount

    Join on BankTransAccountId = VendBankAccount.AccountID, Recipient = VendBankAccount.VendAccount, RecipientType = RPayStandardDeductionRecipientType::Vend

    Many RPayEmplStandardDeductionTable records → zero or one VendBankAccount record

  • VendTable_Recipient → VendTable

    Join on RecipientType = RPayStandardDeductionRecipientType::Vend, Recipient = VendTable.AccountNum

    Many RPayEmplStandardDeductionTable records → zero or one VendTable record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many RPayEmplStandardDeductionTable records → zero or one DimensionAttributeValueSet record

Get this data out

No public entity reads from RPayEmplStandardDeductionTable. Its data is only reachable through the application, a custom entity or a database export.

Need help with RPayEmplStandardDeductionTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk