Table

PSNCashPositionMainAccount

The main accounts temporary table

Used for public sector. A temporary table that links main accounts to cash position columns and transaction types. The key is column type, main account and transaction type.

Table name
PSNCashPositionMainAccount
Module
Bank
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
CashPositionMainAccountIdx
Key fields
LedgerCashPositionType, MainAccount, LedgerCashTransactionType
Model
PublicSector

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LedgerCashPositionTypeCash position column the account belongs to, from column one to column eight.Enum
PSNCashPositionColumnType (enum)
NoNone
MainAccountSystem record ID of the main account.Int64
MainAccountRecId
NoMainAccount.RecIdNone
LedgerCashTransactionTypeWhich transactions count: credit and debit, debit only or credit only.Enum
PSNCashPositionTransactionType (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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 (1)

Relations (1)

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

  • MainAccount → MainAccount

    Join on MainAccount = MainAccount.RecId

    Many PSNCashPositionMainAccount records → zero or one MainAccount record

Get this data out

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

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

Email sales@drdynamics.co.uk