Table

PurchBookVATLedgerPosting_RU

Incoming vat, ledger posting

Holds ledger account settings for processing incoming VAT, used for Russia. Each record names the main account and offset account, and applies to a tax code, a tax group or all. It links to a VAT process operation code in PurchBookVATProcessParameters_RU.

Table name
PurchBookVATLedgerPosting_RU
Module
Sales and purchase books (Russia)
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountCodeSays whether the setting applies to a single table value, a group or all.Enum
TaxOperationAccountCode_RU
TableGroupAll (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LedgerDimensionMain ledger account, pointing to a dimension combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
NumTax code or tax group that the setting applies to, depending on the account code.String (20)
TaxOperationAccountRelation_RU
NoTaxGroupHeading.TaxGroupTaxTable.TaxCodeNone
OffsetLedgerDimensionOffset ledger account, pointing to a dimension combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchBookVATProcessParameters_RUPoints to the VAT operation code in the VAT process parameters.Int64
PurchBookVATProcessParametersRecId_RU
NoPurchBookVATProcessParameters_RU.RecIdNone
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 (3)

Relations (5)

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

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many PurchBookVATLedgerPosting_RU records → zero or one DimensionAttributeValueCombination record

  • OffsetLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many PurchBookVATLedgerPosting_RU records → zero or one DimensionAttributeValueCombination record

  • PurchBookVATProcessParameters → PurchBookVATProcessParameters_RU

    Join on PurchBookVATProcessParameters_RU = PurchBookVATProcessParameters_RU.RecId

    Many PurchBookVATLedgerPosting_RU records → exactly one PurchBookVATProcessParameters_RU record

  • TaxGroup → TaxGroupHeading

    Join on AccountCode = TableGroupAll::GroupId, Num = TaxGroupHeading.TaxGroup

    Many PurchBookVATLedgerPosting_RU records → zero or one TaxGroupHeading record

  • TaxTable → TaxTable

    Join on AccountCode = TableGroupAll::Table, Num = TaxTable.TaxCode

    Many PurchBookVATLedgerPosting_RU records → zero or one TaxTable record

Get this data out

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

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

Email sales@drdynamics.co.uk