Table

PSNPurchasingCardVendInvoiceInfoTable

Purchasing card information

Holds purchasing card details for vendor invoices, used for public sector. The key is the vendor invoice, the card reference number and the bank account. It shows the card transaction type, the holder name and the vendor account used to pay off a balance.

Table name
PSNPurchasingCardVendInvoiceInfoTable
Module
Accounts payable
Table group
TransactionLine
Table type
Regular
Data per company
Yes
Configuration key
PublicSector
Primary index
None
Replacement key
PurchasingCardNumberDigitsIdx
Key fields
VendInvoiceInfoTable, NumberDigits, BankAccount
Model
PublicSector

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
VendInvoiceInfoTableThe vendor invoice that the card information belongs to.Int64
RefRecId
NoVendInvoiceInfoTable.RecIdNone
NumberDigitsThe short card reference number, held as four characters.String (4)
PSNPurchasingCardNumberDigits
NoVendorInvoiceHeaderEntity
BankAccountThe company bank account linked to the card.String
CompanyBankAccountId
NoBankAccountTable.AccountIdVendorInvoiceHeaderEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
HolderNameThe name of the card holder.String (60)
Name
NoVendorInvoiceHeaderEntity
JournalizingDefinitionThe posting definition linked to the card invoice.Int64
JournalizingDefinitionId
NoJournalizingDefinition.RecIdVendorInvoiceHeaderEntity
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
RefInvoiceNumberThe number of the referenced invoice.String (20)
Num
NoVendorInvoiceHeaderEntity
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
TypeThe type of purchasing card transaction: not applicable, balance payoff or record purchase.Enum
PSNPurchasingCardTransactionType (enum)
NoVendorInvoiceHeaderEntity
VendAccountForBalancePayoffThe vendor account used when a balance is paid off.String (20)
VendAccount
NoVendTable.AccountNumVendorInvoiceHeaderEntity

Indexes (1)

Relations (4)

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

  • VendInvoiceInfoTable → VendInvoiceInfoTable

    Join on VendInvoiceInfoTable = VendInvoiceInfoTable.RecId

    Zero or one PSNPurchasingCardVendInvoiceInfoTable record → exactly one VendInvoiceInfoTable record

  • JournalizingDefinition → JournalizingDefinition

    Join on JournalizingDefinition = JournalizingDefinition.RecId

    Many PSNPurchasingCardVendInvoiceInfoTable records → zero or one JournalizingDefinition record

  • PurchasingCardBankAccount → BankAccountTable

    Join on BankAccount = BankAccountTable.AccountId

    Many PSNPurchasingCardVendInvoiceInfoTable records → exactly one BankAccountTable record

  • VendTable → VendTable

    Join on VendAccountForBalancePayoff = VendTable.AccountNum

    Many PSNPurchasingCardVendInvoiceInfoTable records → exactly one VendTable record

Get this data out

Tables are not exposed directly. These public entities read from PSNPurchasingCardVendInvoiceInfoTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk