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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
VendInvoiceInfoTableThe vendor invoice that the card information belongs to. | Int64RefRecId | No | VendInvoiceInfoTable.RecId | None |
NumberDigitsThe short card reference number, held as four characters. | String (4)PSNPurchasingCardNumberDigits | No | VendorInvoiceHeaderEntity | |
BankAccountThe company bank account linked to the card. | StringCompanyBankAccountId | No | BankAccountTable.AccountId | VendorInvoiceHeaderEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
HolderNameThe name of the card holder. | String (60)Name | No | VendorInvoiceHeaderEntity | |
JournalizingDefinitionThe posting definition linked to the card invoice. | Int64JournalizingDefinitionId | No | JournalizingDefinition.RecId | VendorInvoiceHeaderEntity |
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 | |
RefInvoiceNumberThe number of the referenced invoice. | String (20)Num | No | VendorInvoiceHeaderEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TypeThe type of purchasing card transaction: not applicable, balance payoff or record purchase. | EnumPSNPurchasingCardTransactionType (enum) | No | VendorInvoiceHeaderEntity | |
VendAccountForBalancePayoffThe vendor account used when a balance is paid off. | String (20)VendAccount | No | VendTable.AccountNum | VendorInvoiceHeaderEntity |
Indexes (1)
PurchasingCardNumberDigitsIdxReplacement keyVendInvoiceInfoTable,NumberDigits,BankAccountUnique, alternate key.
Relations (4)
Each relation joins PSNPurchasingCardVendInvoiceInfoTable to another table on the fields shown.
VendInvoiceInfoTable→VendInvoiceInfoTableJoin on
VendInvoiceInfoTable = VendInvoiceInfoTable.RecIdZero or one PSNPurchasingCardVendInvoiceInfoTable record → exactly one VendInvoiceInfoTable record
JournalizingDefinition→JournalizingDefinitionJoin on
JournalizingDefinition = JournalizingDefinition.RecIdMany PSNPurchasingCardVendInvoiceInfoTable records → zero or one JournalizingDefinition record
PurchasingCardBankAccount→BankAccountTableJoin on
BankAccount = BankAccountTable.AccountIdMany PSNPurchasingCardVendInvoiceInfoTable records → exactly one BankAccountTable record
VendTable→VendTableJoin on
VendAccountForBalancePayoff = VendTable.AccountNumMany 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.
VendorInvoiceHeaderEntity· 7 fields from this table
Need help with PSNPurchasingCardVendInvoiceInfoTable in a report, an integration or a migration? Talk to Dr Dynamics.