Table

PSNPurchasingCardBank

Bank purchasing card

Used for public sector. Holds purchasing cards linked to a company bank account and an employee. Each card has a holder name, credit limit and validity dates. The key is the bank account plus the card reference number.

Table name
PSNPurchasingCardBank
Module
Bank
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
PublicSector
Primary index
None
Replacement key
BankPurchasingCardIdx
Key fields
BankAccountTable, PurchasingCardNumberDigits
Model
PublicSector

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BankAccountTableCompany bank account the card is linked to.String
CompanyBankAccountId
YesBankAccountTable.AccountIDNone
PurchasingCardNumberDigitsFour-character reference number that identifies the card.String (4)
PSNPurchasingCardNumberDigits
YesNone
CardHolderNameName of the card holder.String (60)
Name
YesNone
CreditLimitCredit limit set for the card.Real
PSNPurchasingCardCreditLimit
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExpirationdateDate on which the card expires.Date
TransDate
NoNone
HcmWorkerEmployee linked to the card. Points to the worker record.Int64
RefRecId
YesHcmWorker.RecIdNone
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
ValidDateDate from which the card is valid.Date
TransDate
NoNone

Indexes (2)

Relations (2)

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

  • BankAccountTable → BankAccountTable

    Join on BankAccountTable = BankAccountTable.AccountID

    Many PSNPurchasingCardBank records → zero or one BankAccountTable record

  • HcmWorker → HcmWorker

    Join on HcmWorker = HcmWorker.RecId

    Many PSNPurchasingCardBank records → zero or one HcmWorker record

Get this data out

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

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

Email sales@drdynamics.co.uk