Table

MainAccountControlCurrencyCode

Currency posting control

Lists currencies set for posting control on a main account. The key is the main account together with the currency. Each row links one main account to one currency.

Table name
MainAccountControlCurrencyCode
Module
Financial dimensions
Table group
Group
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
FK_MainAccount_MainAccountControlC
Key fields
MainAccount, CurrencyCode
Model
Ledger

Fields (6)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
MainAccountThe main account, pointing to a main account record.Int64
RefRecId
YesMainAccount.RecIdNone
CurrencyCodeCurrency code, pointing to the currency table.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
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 (2)

Relations (2)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many MainAccountControlCurrencyCode records → exactly one Currency record

  • MainAccount → MainAccount

    Join on MainAccount = MainAccount.RecId

    Many MainAccountControlCurrencyCode records → exactly one MainAccount record

Get this data out

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

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

Email sales@drdynamics.co.uk