Data entity
VendorInvoiceSubLineEntity
Links vendor invoice lines to product receipt lines. Each record holds the product receipt number, the invoice line reference, the purchase order, the line number and the purchase quantity.
- Entity name
VendorInvoiceSubLineEntity- Public entity name
InvoiceSubLine- OData collection
InvoiceSubLines- Category
Document- Module
Accounts payable- Read-only
No- Data management enabled
Yes- Configuration key
LedgerBasic- Keys
ProductReceiptNumber, InvoiceLineReference, PurchaseOrder, InvoiceLineNumber- Staging table
VendorInvoiceSubLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/InvoiceSubLines- Dataverse virtual table
mserp_vendorinvoicesublineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
VendInvoiceInfoSubLine· rootVendInvoiceInfoLine· InnerJoin toVendInvoiceInfoSubLine· read-onlyVendInvoiceInfoTable· InnerJoin toVendInvoiceInfoLine· read-only
Fields (5)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ProductReceiptNumberNumber of the linked document. | String (20)Num | Yes | Yes | VendInvoiceInfoSubLine.DocumentId | |
InvoiceLineReferenceLine reference that links the line to its parent vendor invoice record. | String (20)TradeLineRefId | Yes | Yes | VendInvoiceInfoSubTable.TableRefIdVendInvoiceInfoTable.TableRefId | VendInvoiceInfoLine.TableRefId |
PurchaseQuantityQuantity in purchase units. | RealPurchQty | No | Yes | VendInvoiceInfoSubLine.ReceiveNow | |
PurchaseOrderPurchase order that the line comes from. | String (20)PurchIdOrig | Yes | Yes | PurchTable.PurchId | VendInvoiceInfoLine.OrigPurchId |
InvoiceLineNumberLine number on the invoice. | RealLineNum | Yes | Yes | VendInvoiceInfoLine.InvoiceLineNum |
Foreign keys (3)
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.
InvoiceLineReference→VendInvoiceInfoSubTable.TableRefId(key of VendInvoiceInfoSubTable)Join on all of:
InvoiceLineReference=VendInvoiceInfoSubTable.TableRefId,ParmId(table field, not in this entity) =VendInvoiceInfoSubTable.ParmId,PurchaseOrder=VendInvoiceInfoSubTable.OrigPurchIdMany VendInvoiceInfoLine records → exactly one VendInvoiceInfoSubTable record
VendInvoiceInfoSubTable details: see VendorInvoiceLineEntity
InvoiceLineReference→VendInvoiceInfoTable.TableRefId(key of VendInvoiceInfoTable)Join on all of:
InvoiceLineReference=VendInvoiceInfoTable.TableRefId,ParmId(table field, not in this entity) =VendInvoiceInfoTable.ParmIdMany VendInvoiceInfoLine records → exactly one VendInvoiceInfoTable record
VendInvoiceInfoTable details: see VendorInvoiceHeaderEntity, ProjVendInvoiceExportEntityV2, ProjVendInvoiceExportEntity
PurchaseOrder→PurchTable.PurchId(key of PurchTable)Many VendInvoiceInfoLine records → zero or one PurchTable record
PurchTable details: see PurchPurchaseOrderHeaderV2Entity, PurchPurchaseOrderHeaderEntity, ProjSubContractPurchaseOrderHeaderEntity
Need help with VendorInvoiceSubLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.