Table

PSNPurchasingCardVendTrans

Vendor transaction purchasing card information

Holds purchasing card details for a vendor transaction. Each record links to one vendor transaction and stores the card reference digits, the issuing bank and the card holder name. It is a public sector table.

Table name
PSNPurchasingCardVendTrans
Module
Accounts payable
Table group
TransactionLine
Table type
Regular
Data per company
Yes
Configuration key
PublicSector
Primary index
None
Replacement key
PurchasingCardNumberDigitsIdx
Key fields
VendTrans, PurchasingCardNumberDigits, BankAccountTable, CardHolderName
Model
PublicSector

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
VendTransPoints to the vendor transaction that these card details belong to.Int64
RefRecId
NoVendTrans.RecIdNone
PurchasingCardNumberDigitsShort card reference, held as four digits, that identifies the card without showing the full number.String (4)
PSNPurchasingCardNumberDigits
NoNone
BankAccountTableThe company bank account of the bank that issued the card.String
CompanyBankAccountId
YesBankAccountTable.AccountIDNone
CardHolderNameName of the person who holds the purchasing card.String (60)
Name
YesNone
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
PurchasingCardInvoiceNumberNumber of the invoice linked to the purchasing card.String (20)
Num
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendAccountForBalancePayoffThe vendor account of the company that provides the purchasing card service.String (20)
VendAccount
NoVendTable.AccountNumNone

Indexes (1)

Relations (3)

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

  • BankAccountTable → BankAccountTable

    Join on BankAccountTable = BankAccountTable.AccountID

    Many PSNPurchasingCardVendTrans records → exactly one BankAccountTable record

  • VendTable → VendTable

    Join on VendAccountForBalancePayoff = VendTable.AccountNum

    Many PSNPurchasingCardVendTrans records → exactly one VendTable record

  • VendTrans → VendTrans

    Join on VendTrans = VendTrans.RecId

    Many PSNPurchasingCardVendTrans records → exactly one VendTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk