Data entity
VRMPurchaseOrderHeaderEntity
Read-only list of purchase order headers, keyed by purchase order number. Each row shows status, vendor and invoice accounts, currency, requested receipt date, delivery and payment terms, address and amount. It also shows change date and whether the order is available to invoice.
- Entity name
VRMPurchaseOrderHeaderEntity- Public entity name
VRMPurchaseOrderHeader- OData collection
VRMPurchaseOrderHeaders- Category
Document- Module
Procurement and sourcing- Read-only
Yes- Data management enabled
No- Configuration key
VendorPortal- Keys
PurchaseOrderNumber- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/VRMPurchaseOrderHeaders- Dataverse virtual table
mserp_vrmpurchaseorderheaderentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
PurchTable· root · read-onlyVendTable· InnerJoin toPurchTable· read-onlyPurchTableVersion· OuterJoin toPurchTable· read-onlyPurchConfirmationRequestJour· OuterJoin toPurchTableVersion· read-onlyDeliveryLogisticsPostalAddress(tableLogisticsPostalAddressBaseEntity) · OuterJoin toPurchTable· read-only
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
PurchaseOrderStatusOrder status: open, received, invoiced or cancelled. | Enum
| No | Yes | PurchTable.PurchStatus | |
OrderVendorAccountNumberAccount number of the vendor the order is placed with. | String (20)VendAccount | Yes | Yes | VendTable.AccountNum | PurchTable.OrderAccount |
CurrencyCodeCurrency code of the order. | String (3)VendCurrencyCode | No | Yes | Currency.CurrencyCode | PurchTable.CurrencyCode |
RequestedDeliveryDateReceipt date requested for the order. | DatePurchTableRequestedReceiptDate | No | Yes | PurchTable.DeliveryDate | |
TotalDiscountPercentageDiscount percentage for the whole order. | RealPurchEndDiscPct | No | Yes | PurchTable.DiscPercent | |
DeliveryModeIdCode for the mode of delivery. | StringVendDlvModeId | No | Yes | DlvMode.Code | PurchTable.DlvMode |
DeliveryTermsIdCode for the terms of delivery. | StringVendDlvTermId | No | Yes | DlvTerm.Code | PurchTable.DlvTerm |
InvoiceVendorAccountNumberVendor account to which the invoice is addressed. | String (20)VendInvoiceAccount | No | Yes | VendTable.AccountNum | PurchTable.InvoiceAccount |
PaymentTermsNameTerms of payment for the order. | String (100)VendPaymTermId | No | Yes | PaymTerm.PaymTermId | PurchTable.Payment |
VendorPaymentMethodNameMethod of payment for the vendor. | StringVendPaymMode | No | Yes | VendPaymModeTable.PaymMode | PurchTable.PaymMode |
PurchaseOrderNumberPurchase order number. It identifies the order. | String (20)PurchIdBase | No | Yes | PurchTable.PurchId | |
VendorOrderReferenceVendor's own reference for the order. The label reads 'Customer reference'. | String (60)VendRef | No | Yes | PurchTable.VendorRef | |
FormattedDeliveryAddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
PurchaseOrderNameName of the vendor. | String (60)PurchName | No | Yes | PurchTable.PurchName | |
AmountOrder balance in the transaction currency. | RealAmountCur | No | Yes | PurchConfirmationRequestJour.OrderBalance | |
PurchaseOrderDocumentReferenceNumber of the purchase journal. | String (20)PurchaseOrderId | No | Yes | PurchConfirmationRequestJour.DocumentNumber | |
VersionDateTimeDate and time of the change that created this version. | UtcDateTimeVersioningTimeStamp | Yes | Yes | PurchTableVersion.VersionDateTime | |
DeliveryValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | No (private) | LogisticsPostalAddress.ValidFrom | |
DeliveryValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | No (private) | LogisticsPostalAddress.ValidTo | |
GlobalVendorNumberGlobal vendor number from an external supplier app. Points to a global vendor record. | String (100)VRMGlobalVendorNumber | No | Yes | VRMGlobalVendor.VendorNumber | VendTable.VRMGlobalVendor |
AvailableToInvoiceYes/No flag showing whether the order is available to invoice. | EnumNoYesId
| No | Yes | virtual |
Foreign keys (8)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
OrderVendorAccountNumber→VendTable.AccountNum(key of VendTable)Many PurchTable records → exactly one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many PurchTable records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
DeliveryModeId→DlvMode.Code(key of DlvMode)Many PurchTable records → zero or one DlvMode record
DlvMode details: see DlvDeliveryModeEntity, RetailDeliveryModeAddressLineEntity, RetailDeliveryModeChannelLineEntity
DeliveryTermsId→DlvTerm.Code(key of DlvTerm)Many PurchTable records → zero or one DlvTerm record
DlvTerm details: see DeliveryTermsEntity, VRMDeliveryTermsEntity
InvoiceVendorAccountNumber→VendTable.AccountNum(key of VendTable)Many PurchTable records → exactly one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
PaymentTermsName→PaymTerm.PaymTermId(key of PaymTerm)Many PurchTable records → zero or one PaymTerm record
PaymTerm details: see PaymentTermEntity, CredManPaymTermRankEntity, TaxWithholdSettlementPeriodEntity
VendorPaymentMethodName→VendPaymModeTable.PaymMode(key of VendPaymModeTable)Many PurchTable records → zero or one VendPaymModeTable record
VendPaymModeTable details: see VendorPaymentMethodEntity, BankVendPaymModeBankAccountsEntity, VendPaymModeTableCDREntity
GlobalVendorNumber→VRMGlobalVendor.VendorNumber(key of VRMGlobalVendor)Many VendTable records → zero or one VRMGlobalVendor record
VRMGlobalVendor details: see VRMGlobalVendorEntity, VRMContactPersonEntity, VRMPartyContactEntity
Need help with VRMPurchaseOrderHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.