Data entity
PlSADDocumentInvoicePurchaseOrderEntity
Invoices linked to a SAD document for a purchase order. The key is the document code plus the position. Each record holds the document date, invoice, vendor account, purchase, insurance, transport and miscellaneous payment amounts, and default dimensions. It is used for Poland.
- Entity name
PlSADDocumentInvoicePurchaseOrderEntity- Public entity name
SADDocumentInvoicePurchaseOrder- OData collection
SADDocumentInvoicePurchaseOrders- Category
Document- Module
Procurement and sourcing- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
DocumentCode, Position- Staging table
PlSADDocumentInvoicePurchaseOrderStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SADDocumentInvoicePurchaseOrders- Dataverse virtual table
mserp_plsaddocumentinvoicepurchaseorderentity. 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
PlSADInvoice· rootDimensionDAVS(tableDimensionSetEntity) · OuterJoin toPlSADInvoice· read-only
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DimensionDefault financial dimension set for the line. Points to a dimension set record. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | PlSADInvoice.DefaultDimension |
DocumentDateDate of the document. | DateDocumentDate | No | Yes | PlSADInvoice.DocumentDate | |
InvoiceInvoice identifier. | String (50)InvoiceId | No | Yes | PlSADInvoice.InvoiceId | |
InsuranceInsurance amount on the invoice. Currency not stated in the metadata. | RealPlSADMiscCharg | No | Yes | PlSADInvoice.InvoiceInsurance | |
InvoiceMiscChargMiscellaneous payments amount on the invoice. Currency not stated in the metadata. | RealPlSADMiscCharg | No | Yes | PlSADInvoice.InvoiceMiscCharg | |
TransportTransport amount on the invoice. Currency not stated in the metadata. | RealPlSADMiscCharg | No | Yes | PlSADInvoice.InvoiceTransport | |
PurchasePurchase order linked to the invoice line. Matched together with the vendor account. | String (20)Num | Yes | Yes | PurchTable.PurchId | PlSADInvoice.PurchId |
VendorAccountVendor account for the line. Points to a vendor record. | String (20)VendAccount | No | Yes | VendTable.AccountNum | PlSADInvoice.SADDutyVend |
PositionPosition number of the line. | IntegerPlSADInvoiceLineNo | Yes | Yes | PlSADInvoice.SADInvoiceLineNo | |
DocumentCodeCode of the SAD document that the line belongs to. Points to a SAD document record. | String (50)PlSADNumberCode | Yes | Yes | PlSADTable.SADNumberCode | PlSADInvoice.SADNumberCode |
DimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None |
Foreign keys (4)
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.
Dimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many PlSADInvoice records → exactly one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
Purchase→PurchTable.PurchId(key of PurchTable)Join on all of:
Purchase=PurchTable.PurchId,VendorAccount=PurchTable.OrderAccountMany PlSADInvoice records → exactly one PurchTable record
PurchTable details: see PurchPurchaseOrderHeaderV2Entity, PurchPurchaseOrderHeaderEntity, ProjSubContractPurchaseOrderHeaderEntity
VendorAccount→VendTable.AccountNum(key of VendTable)Many PlSADInvoice records → exactly one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
DocumentCode→PlSADTable.SADNumberCode(key of PlSADTable)Many PlSADInvoice records → exactly one PlSADTable record
PlSADTable details: see PlSADDocumentPurchaseOrderEntity
Need help with PlSADDocumentInvoicePurchaseOrderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.