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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingDistributionLineNumberLine number of the accounting distribution.Real
RealBase
NoNone
BankAccountIdIdentifier of the vendor bank account.String
VendBankAccountId
NoNone
BankAccountNumberBank account number of the vendor.String (35)
BankAccount
NoNone
BudgetReservationDocumentNumberNumber of the budget reservation document, used for public sector.String (20)
BudgetReservationDocumentNumber_PSN
NoNone
BudgetReservationLineNumberLine number in the budget reservation document, used for public sector.Integer
BudgetReservationLineNumber_PSN
NoNone
CityCity in the vendor address.String (60)
LogisticsAddressCityName
NoNone
CountryRegionIdCountry or region in the vendor address.String
LogisticsAddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DueDateDate value labelled as document date. The field name suggests a due date.low confidenceDate
DocumentDate
NoNone
FederalTaxIDFederal tax identification number of the vendor.String (11)
Tax1099RegNum
NoNone
FederalTaxIDTypeType of tax ID, such as employer or social security number.Enum
TaxIDType (enum)
NoNone
FirstNameFirst name of the vendor when it is a person.String (25)
FirstName
NoNone
IBANInternational bank account number of the vendor.String (35)
BankIBAN
NoNone
ImportIDHash key that identifies the imported record.Guid
HashKey
NoNone
InvoiceDateDate of the invoice document.Date
DocumentDate
NoNone
InvoiceDescriptionShort description of the invoice.String (50)
InvoiceDescription
NoNone
InvoiceNumberInvoice number.String (20)
Num
NoNone
ItemNameName of the item on the line.String (60)
Name
NoNone
ItemNumberItem number of the product on the line.String (20)
ItemId
NoInventTable.ItemIdNone
LastNameLast name of the vendor when it is a person.String (25)
LastName
NoNone
LedgerDimensionLedger account, as a dimension combination, for the line.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
LineAmountAmount of the invoice line.Real
RealBase
NoNone
LineNumberLine number of the invoice line.Real
RealBase
NoNone
MiddleNameMiddle name of the vendor when it is a person.String (25)
MiddleName
NoNone
NameName value. Its type is a procurement category name.low confidenceString (254)
EcoResCategoryName
NoNone
OrganizationNameName of the vendor when it is an organization.String (100)
DirPartyName
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PercentPercentage value for the line.Real
Percent
NoNone
PostingDateDate used for posting.Date
TransDate
NoNone
ProcurementCategoryHierarchyName of the procurement category hierarchy.String (128)
EcoResCategoryHierarchyName
NoNone
PurchUnitPurchase unit of measure for the line.String
PurchUnit
NoUnitOfMeasure.SymbolNone
QuantityPurchased quantity on the line.Real
PurchQty
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
RecordTypeShows whether the vendor is a person or an organization.Enum
DirPartyBaseType (enum)
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RoutingNumberBank routing number.String (12)
BankRegNum
NoNone
StateState in the vendor address.String
LogisticsAddressStateId
NoNone
StreetStreet in the vendor address.String (250)
LogisticsAddressStreet
NoNone
SWIFTCodeSWIFT code of the vendor bank.String (20)
SWIFTNo
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UnitPricePurchase price per unit.Real
PurchPrice
NoNone
UserIDUser ID. The label is empty, so the exact role is not stated.low confidenceString (8)
UserId
YesNone
VendGroupVendor group the vendor belongs to.String
VendGroupId
NoVendGroup.VendGroupNone
ZipCodeZIP or postal code in the vendor address.String
LogisticsAddressZipCodeId
NoNone

Indexes (1)

Relations (5)

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

  • CountryRegionId → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many VendOneTimeVendInvoiceStaging_PSN records → exactly one LogisticsAddressCountryRegion record

  • InventTable → InventTable

    Join on ItemNumber = InventTable.ItemId

    Many VendOneTimeVendInvoiceStaging_PSN records → zero or one InventTable record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many VendOneTimeVendInvoiceStaging_PSN records → zero or one DimensionAttributeValueCombination record

  • PurchUnit → UnitOfMeasure

    Join on PurchUnit = UnitOfMeasure.Symbol

    Many VendOneTimeVendInvoiceStaging_PSN records → exactly one UnitOfMeasure record

  • VendGroup → VendGroup

    Join on VendGroup = VendGroup.VendGroup

    Many 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.

Email sales@drdynamics.co.uk