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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BankAccountTableCompany bank account the card is linked to. | StringCompanyBankAccountId | Yes | BankAccountTable.AccountID | None |
PurchasingCardNumberDigitsFour-character reference number that identifies the card. | String (4)PSNPurchasingCardNumberDigits | Yes | None | |
CardHolderNameName of the card holder. | String (60)Name | Yes | None | |
CreditLimitCredit limit set for the card. | RealPSNPurchasingCardCreditLimit | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExpirationdateDate on which the card expires. | DateTransDate | No | None | |
HcmWorkerEmployee linked to the card. Points to the worker record. | Int64RefRecId | Yes | HcmWorker.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ValidDateDate from which the card is valid. | DateTransDate | No | None |
Indexes (2)
BankPurchasingCardIdxReplacement keyBankAccountTable,PurchasingCardNumberDigitsUnique, alternate key.
PurchasingCardNumberDigitsIdxNot unique.
Relations (2)
Each relation joins PSNPurchasingCardBank to another table on the fields shown.
BankAccountTable→BankAccountTableJoin on
BankAccountTable = BankAccountTable.AccountIDMany PSNPurchasingCardBank records → zero or one BankAccountTable record
HcmWorker→HcmWorkerJoin on
HcmWorker = HcmWorker.RecIdMany 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.