Table

RPayFundCostAccountTable

Cost accounts of off-budget funds

Holds cost accounts for off-budget funds. It is keyed by fund code, cost account relation and cost main account. Each row also names the fund cost main account and a set of dimensions.

Table name
RPayFundCostAccountTable
Module
Obsolete
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
RPayroll
Primary index
FundLedgerAccountIdx
Replacement key
None
Key fields
FundCode, AccountCode, CostMainAccount
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
FundCodeFund the row is for, pointing to the counter record.String
RPayCounterUnit
YesRPayCounterTable.CounterUnitNone
AccountCodeHow the cost account relation is set: for a table, a group or all.Enum
RPayCostLedgerAccountCode
TableGroupAll (enum)
NoNone
CostMainAccountCost main account, pointing to the main account record.Int64
MainAccountRecId
NoMainAccount.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionSet of financial dimensions for the row.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
FundCostMainAccountMain account used for the fund cost, pointing to the main account record.Int64
MainAccountRecId
YesMainAccount.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (7)

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

  • CostLedgerDimensionGroup → MainAccount

    Join on CostMainAccount = MainAccount.RecId, AccountCode = TableGroupAll::GroupId, MainAccount.Type = DimensionLedgerAccountType::Total

    Many RPayFundCostAccountTable records → zero or one MainAccount record

  • CostMainAccount → MainAccount

    Join on CostMainAccount = MainAccount.RecId, AccountCode = TableGroupAll::Table, MainAccount.Type = DimensionLedgerAccountType::Expense

    Many RPayFundCostAccountTable records → zero or one MainAccount record

  • CostMainAccount_FK → MainAccount

    Join on CostMainAccount = MainAccount.RecId

    Many RPayFundCostAccountTable records → exactly one MainAccount record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Zero or one RPayFundCostAccountTable record → exactly one DimensionAttributeValueSet record

  • FundCostMainAccount → MainAccount

    Join on FundCostMainAccount = MainAccount.RecId, MainAccount.Type = DimensionLedgerAccountType::Expense

    Many RPayFundCostAccountTable records → exactly one MainAccount record

  • FundCostMainAccount_FK → MainAccount

    Join on FundCostMainAccount = MainAccount.RecId

    Many RPayFundCostAccountTable records → exactly one MainAccount record

  • RPayCounterTable → RPayCounterTable

    Join on FundCode = RPayCounterTable.CounterUnit, RPayCounterTable.LineType = RPayCtypeType::BudgetFund, RPayCounterTable.CounterType = RPayCounterType::Fund

    Many RPayFundCostAccountTable records → exactly one RPayCounterTable record

Get this data out

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

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

Email sales@drdynamics.co.uk