Table
LedgerRRGEQueries_W
Queries
Holds saved queries used in reporting for Russia. Each query has an ID, a name and a type, such as simple, function, VAT declaration or document requisites. It also stores the packed query itself and settings for the line type, currency, period, budget model and dimension set.
- Table name
LedgerRRGEQueries_W- Module
General ledger- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
RecId- Replacement key
QueryIdIdx- Key fields
QueryId- Model
Foundation
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
QueryIdUnique ID of the query. | StringLedgerRRGEQueryId_W | Yes | LedgerRRGEQueries_WEntity | |
CurrencyForCalcCurrency used: base currency or reporting currency. | EnumLedgerRRGCurrencyForCalc_RU (enum) | No | LedgerRRGEQueries_WEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DataTypeKind of data the query uses, such as transactions or budget. | EnumLedgerRRGDataType_RU (enum) | No | LedgerRRGEQueries_WEntity | |
DimensionHierarchyPoints to the dimension set used by the query. | Int64DimensionHierarchyId | No | DimensionHierarchy.RecId | None |
FirstOnlyYes or No flag showing whether only the first record is used. | EnumLedgerRRGEFirstOnly_WNoYes (enum) | No | LedgerRRGEQueries_WEntity | |
ModelNumBudget model used by the query. | StringBudgetModelId | No | LedgerRRGEQueries_WEntity | |
NameName of the query. | String (60)Name | No | LedgerRRGEQueries_WEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PeriodPoints to the date interval code used as the query period. | StringLedgerRRGEPeriodCode_W | No | LedgerPeriodCode.Code | LedgerRRGEQueries_WEntity |
PointSignNumNumber of digits after the decimal point. | IntegerLedgerRRGEPointSignNum_W | No | LedgerRRGEQueries_WEntity | |
QuerySaved query definition in packed form. | ContainerPackedQueryRun | 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 | |
RefTableIdID of the table that the query refers to. | IntegerRefTableId | No | None | |
ScaleFactor applied to the query result. | RealLedgerRRGEScale_W | No | LedgerRRGEQueries_WEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TypeKind of query: simple, function, VAT declaration or document requisites. | EnumLedgerRRGEQueryType_W (enum) | No | LedgerRRGEQueries_WEntity | |
TypeByCorrectWhich transactions to use with respect to reversing entries: none, all, only reversing or without reversing. | EnumLedgerRRGTypeByCorrect_RU (enum) | No | LedgerRRGEQueries_WEntity |
Indexes (2)
QueryIdIdxReplacement keyUnique, alternate key.
DimensionHierarchyIdxNot unique.
Relations (3)
Each relation joins LedgerRRGEQueries_W to another table on the fields shown.
BudgetModel→BudgetModelJoin on
ModelNum = BudgetModel.ModelIdMany LedgerRRGEQueries_W records → exactly one BudgetModel record
LedgerPeriodCode→LedgerPeriodCodeJoin on
Period = LedgerPeriodCode.CodeMany LedgerRRGEQueries_W records → exactly one LedgerPeriodCode record
DimensionHierarchy→DimensionHierarchyJoin on
DimensionHierarchy = DimensionHierarchy.RecIdMany LedgerRRGEQueries_W records → zero or one DimensionHierarchy record
Get this data out
Tables are not exposed directly. These public entities read from LedgerRRGEQueries_W; use one of them in Power BI, Power Platform or a data management project.
LedgerRRGEQueries_WEntity· 11 fields from this table
Need help with LedgerRRGEQueries_W in a report, an integration or a migration? Talk to Dr Dynamics.