Table
VendOneTimeVendInvoiceStaging_PSN
One-time vendors
Staging table for importing invoices from one-time vendors, used for public sector. Each record holds vendor identity, address and bank details together with invoice line data such as item, quantity, price, ledger account and budget reservation. It has no defined key.
- Table name
VendOneTimeVendInvoiceStaging_PSN- Module
Accounts payable- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
PublicSector- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (44)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingDistributionLineNumberLine number of the accounting distribution. | RealRealBase | No | None | |
BankAccountIdIdentifier of the vendor bank account. | StringVendBankAccountId | No | None | |
BankAccountNumberBank account number of the vendor. | String (35)BankAccount | No | None | |
BudgetReservationDocumentNumberNumber of the budget reservation document, used for public sector. | String (20)BudgetReservationDocumentNumber_PSN | No | None | |
BudgetReservationLineNumberLine number in the budget reservation document, used for public sector. | IntegerBudgetReservationLineNumber_PSN | No | None | |
CityCity in the vendor address. | String (60)LogisticsAddressCityName | No | None | |
CountryRegionIdCountry or region in the vendor address. | StringLogisticsAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DueDateDate value labelled as document date. The field name suggests a due date.low confidence | DateDocumentDate | No | None | |
FederalTaxIDFederal tax identification number of the vendor. | String (11)Tax1099RegNum | No | None | |
FederalTaxIDTypeType of tax ID, such as employer or social security number. | EnumTaxIDType (enum) | No | None | |
FirstNameFirst name of the vendor when it is a person. | String (25)FirstName | No | None | |
IBANInternational bank account number of the vendor. | String (35)BankIBAN | No | None | |
ImportIDHash key that identifies the imported record. | GuidHashKey | No | None | |
InvoiceDateDate of the invoice document. | DateDocumentDate | No | None | |
InvoiceDescriptionShort description of the invoice. | String (50)InvoiceDescription | No | None | |
InvoiceNumberInvoice number. | String (20)Num | No | None | |
ItemNameName of the item on the line. | String (60)Name | No | None | |
ItemNumberItem number of the product on the line. | String (20)ItemId | No | InventTable.ItemId | None |
LastNameLast name of the vendor when it is a person. | String (25)LastName | No | None | |
LedgerDimensionLedger account, as a dimension combination, for the line. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
LineAmountAmount of the invoice line. | RealRealBase | No | None | |
LineNumberLine number of the invoice line. | RealRealBase | No | None | |
MiddleNameMiddle name of the vendor when it is a person. | String (25)MiddleName | No | None | |
NameName value. Its type is a procurement category name.low confidence | String (254)EcoResCategoryName | No | None | |
OrganizationNameName of the vendor when it is an organization. | String (100)DirPartyName | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PercentPercentage value for the line. | RealPercent | No | None | |
PostingDateDate used for posting. | DateTransDate | No | None | |
ProcurementCategoryHierarchyName of the procurement category hierarchy. | String (128)EcoResCategoryHierarchyName | No | None | |
PurchUnitPurchase unit of measure for the line. | StringPurchUnit | No | UnitOfMeasure.Symbol | None |
QuantityPurchased quantity on the line. | RealPurchQty | 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 | |
RecordTypeShows whether the vendor is a person or an organization. | EnumDirPartyBaseType (enum) | 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 | |
RoutingNumberBank routing number. | String (12)BankRegNum | No | None | |
StateState in the vendor address. | StringLogisticsAddressStateId | No | None | |
StreetStreet in the vendor address. | String (250)LogisticsAddressStreet | No | None | |
SWIFTCodeSWIFT code of the vendor bank. | String (20)SWIFTNo | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitPricePurchase price per unit. | RealPurchPrice | No | None | |
UserIDUser ID. The label is empty, so the exact role is not stated.low confidence | String (8)UserId | Yes | None | |
VendGroupVendor group the vendor belongs to. | StringVendGroupId | No | VendGroup.VendGroup | None |
ZipCodeZIP or postal code in the vendor address. | StringLogisticsAddressZipCodeId | No | None |
Indexes (1)
Relations (5)
Each relation joins VendOneTimeVendInvoiceStaging_PSN to another table on the fields shown.
CountryRegionId→LogisticsAddressCountryRegionJoin on
CountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany VendOneTimeVendInvoiceStaging_PSN records → exactly one LogisticsAddressCountryRegion record
InventTable→InventTableJoin on
ItemNumber = InventTable.ItemIdMany VendOneTimeVendInvoiceStaging_PSN records → zero or one InventTable record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany VendOneTimeVendInvoiceStaging_PSN records → zero or one DimensionAttributeValueCombination record
PurchUnit→UnitOfMeasureJoin on
PurchUnit = UnitOfMeasure.SymbolMany VendOneTimeVendInvoiceStaging_PSN records → exactly one UnitOfMeasure record
VendGroup→VendGroupJoin on
VendGroup = VendGroup.VendGroupMany VendOneTimeVendInvoiceStaging_PSN records → exactly one VendGroup record
Get this data out
No public entity reads from VendOneTimeVendInvoiceStaging_PSN. Its data is only reachable through the application, a custom entity or a database export.
Need help with VendOneTimeVendInvoiceStaging_PSN in a report, an integration or a migration? Talk to Dr Dynamics.