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 descriptionType / EDT / enumMandatoryReferencesIn public entities
QueryIdUnique ID of the query.String
LedgerRRGEQueryId_W
YesLedgerRRGEQueries_WEntity
CurrencyForCalcCurrency used: base currency or reporting currency.Enum
LedgerRRGCurrencyForCalc_RU (enum)
NoLedgerRRGEQueries_WEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DataTypeKind of data the query uses, such as transactions or budget.Enum
LedgerRRGDataType_RU (enum)
NoLedgerRRGEQueries_WEntity
DimensionHierarchyPoints to the dimension set used by the query.Int64
DimensionHierarchyId
NoDimensionHierarchy.RecIdNone
FirstOnlyYes or No flag showing whether only the first record is used.Enum
LedgerRRGEFirstOnly_W
NoYes (enum)
NoLedgerRRGEQueries_WEntity
ModelNumBudget model used by the query.String
BudgetModelId
NoLedgerRRGEQueries_WEntity
NameName of the query.String (60)
Name
NoLedgerRRGEQueries_WEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PeriodPoints to the date interval code used as the query period.String
LedgerRRGEPeriodCode_W
NoLedgerPeriodCode.CodeLedgerRRGEQueries_WEntity
PointSignNumNumber of digits after the decimal point.Integer
LedgerRRGEPointSignNum_W
NoLedgerRRGEQueries_WEntity
QuerySaved query definition in packed form.Container
PackedQueryRun
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
RefTableIdID of the table that the query refers to.Integer
RefTableId
NoNone
ScaleFactor applied to the query result.Real
LedgerRRGEScale_W
NoLedgerRRGEQueries_WEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TypeKind of query: simple, function, VAT declaration or document requisites.Enum
LedgerRRGEQueryType_W (enum)
NoLedgerRRGEQueries_WEntity
TypeByCorrectWhich transactions to use with respect to reversing entries: none, all, only reversing or without reversing.Enum
LedgerRRGTypeByCorrect_RU (enum)
NoLedgerRRGEQueries_WEntity

Indexes (2)

Relations (3)

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

  • BudgetModel → BudgetModel

    Join on ModelNum = BudgetModel.ModelId

    Many LedgerRRGEQueries_W records → exactly one BudgetModel record

  • LedgerPeriodCode → LedgerPeriodCode

    Join on Period = LedgerPeriodCode.Code

    Many LedgerRRGEQueries_W records → exactly one LedgerPeriodCode record

  • DimensionHierarchy → DimensionHierarchy

    Join on DimensionHierarchy = DimensionHierarchy.RecId

    Many 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.

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

Email sales@drdynamics.co.uk