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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
FundCodeFund the row is for, pointing to the counter record. | StringRPayCounterUnit | Yes | RPayCounterTable.CounterUnit | None |
AccountCodeHow the cost account relation is set: for a table, a group or all. | EnumRPayCostLedgerAccountCodeTableGroupAll (enum) | No | None | |
CostMainAccountCost main account, pointing to the main account record. | Int64MainAccountRecId | No | MainAccount.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionSet of financial dimensions for the row. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
FundCostMainAccountMain account used for the fund cost, pointing to the main account record. | Int64MainAccountRecId | Yes | MainAccount.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
FundLedgerAccountIdxPrimary indexFundCode,AccountCode,CostMainAccountUnique, alternate key.
Relations (7)
Each relation joins RPayFundCostAccountTable to another table on the fields shown.
CostLedgerDimensionGroup→MainAccountJoin on
CostMainAccount = MainAccount.RecId,AccountCode = TableGroupAll::GroupId,MainAccount.Type = DimensionLedgerAccountType::TotalMany RPayFundCostAccountTable records → zero or one MainAccount record
CostMainAccount→MainAccountJoin on
CostMainAccount = MainAccount.RecId,AccountCode = TableGroupAll::Table,MainAccount.Type = DimensionLedgerAccountType::ExpenseMany RPayFundCostAccountTable records → zero or one MainAccount record
CostMainAccount_FK→MainAccountJoin on
CostMainAccount = MainAccount.RecIdMany RPayFundCostAccountTable records → exactly one MainAccount record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdZero or one RPayFundCostAccountTable record → exactly one DimensionAttributeValueSet record
FundCostMainAccount→MainAccountJoin on
FundCostMainAccount = MainAccount.RecId,MainAccount.Type = DimensionLedgerAccountType::ExpenseMany RPayFundCostAccountTable records → exactly one MainAccount record
FundCostMainAccount_FK→MainAccountJoin on
FundCostMainAccount = MainAccount.RecIdMany RPayFundCostAccountTable records → exactly one MainAccount record
RPayCounterTable→RPayCounterTableJoin on
FundCode = RPayCounterTable.CounterUnit,RPayCounterTable.LineType = RPayCtypeType::BudgetFund,RPayCounterTable.CounterType = RPayCounterType::FundMany 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.