Data entity
VendorInvoiceLineChargeEntity
Holds charges entered on individual vendor invoice lines. Each row has a charges code, category, currency and fixed, proportional or percentage amounts. It is keyed by the header reference, charge line number and invoice line number. It links to the invoice line and purchase order.
- Entity name
VendorInvoiceLineChargeEntity- Public entity name
VendorInvoicelineCharge- OData collection
VendorInvoiceLineCharges- Category
Document- Module
Procurement and sourcing- Read-only
No- Data management enabled
Yes- Configuration key
Markup- Keys
HeaderReference, ChargeLineNumber, InvoiceLineNumber- Staging table
VendorInvoiceLineChargeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/VendorInvoiceLineCharges- Dataverse virtual table
mserp_vendorinvoicelinechargeentity. 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
MarkupDocumentChargeEntity· rootVendInvoiceInfoLine· InnerJoin toMarkupDocumentChargeEntity· read-only
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ChargeCategoryHow the charge is worked out, such as fixed, percent or per piece. | EnumMarkupCategoryType
| No | Yes | MarkupTrans.MarkupCategory | |
PurchaseChargeCodeCharges code. It points to the charges code table together with the module type. | StringMarkupCode | No | Yes | MarkupTable.MarkupCode | MarkupTrans.MarkupCode |
ChargeDescriptionFree text description of the charge. | String (512)TransactionTextLarge | No | Yes | MarkupTrans.Txt | |
ChargeAccountingCurrencyCodeCurrency of the charge. It points to the currency record. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | MarkupTrans.CurrencyCode |
ChargePercentageThe charge as a percentage of the value it is based on. | RealMarkupPercent | No | Yes | None | |
FixedChargeAmountA fixed amount for the charge; currency not stated in the metadata. | RealMarkupFixedAmount | No | Yes | None | |
ChargeLineNumberLine number that orders the charges on a record. | RealLineNum | Yes | Yes | MarkupTrans.LineNum | |
ExternalChargeAmountThe amount of the charge that applies externally; currency not stated in the metadata. | RealMarkupExternalAmount | No | Yes | None | |
ProportionalChargeAmountThe proportional amount of the charge; currency not stated in the metadata.low confidence | RealMarkupProportionalAmount | No | Yes | None | |
HeaderReferenceLine reference that links the line to its parent vendor invoice record. | String (20)TradeLineRefId | Yes | Yes | VendInvoiceInfoSubTable.TableRefIdVendInvoiceInfoTable.TableRefId | VendInvoiceInfoLine.TableRefId |
InvoiceLineNumberNumber of the line. | RealLineNum | Yes | Yes | VendInvoiceInfoLine.LineNum | |
PurchaseNumberPurchase order that the line comes from. | String (20)PurchIdOrig | No | Yes | PurchTable.PurchId | VendInvoiceInfoLine.OrigPurchId |
SalesTaxGroupCodeSales tax group for the charge. It points to the sales tax group record. | StringTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | MarkupTrans.TaxGroup |
SalesTaxItemGroupCodeItem sales tax group for the charge. It points to the item sales tax group record. | StringTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | MarkupTrans.TaxItemGroup |
DocumentTableIdID of the table that holds the parent record for this charge. It tells you which table the record ID refers to. | IntegerMarkupTransRefTableId | No | No (private) | MarkupTrans.TransTableId | |
DocumentRecIdSystem record ID of the parent record that the charge belongs to. It is used together with the table ID to find that record. | Int64MarkupTransRefRecId | No | No (private) | MarkupTrans.TransRecId | |
DocumentStatusStatus of the document the charge belongs to, such as quotation, purchase order or invoice. | Enum
| No | No (private) | MarkupTrans.DocumentStatus | |
IsIntercompanyChargeShows whether the charge is an intercompany charge. It holds a yes or no value. | EnumMarkupIsIntercompanyCharge
| No | Yes | None | |
UnitChargeAmountThe charge amount for each unit; currency not stated in the metadata. | RealMarkupUnitAmount | No | Yes | None | |
IntercompanyChargePercentageThe percentage used for the intercompany part of the charge. | RealMarkupIntercompanyPercent | No | Yes | None |
Foreign keys (7)
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.
PurchaseChargeCode→MarkupTable.MarkupCode(key of MarkupTable)Join on all of:
PurchaseChargeCode=MarkupTable.MarkupCode,ModuleType(table field, not in this entity) =MarkupTable.ModuleTypeMany MarkupTrans records → zero or one MarkupTable record
MarkupTable details: see PurchProcurementChargeEntity, SalesChargeEntity, PurchProcurementChargeCDSEntity
ChargeAccountingCurrencyCode→Currency.CurrencyCode(key of Currency)Many MarkupTrans records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
HeaderReference→VendInvoiceInfoSubTable.TableRefId(key of VendInvoiceInfoSubTable)Join on all of:
HeaderReference=VendInvoiceInfoSubTable.TableRefId,ParmId(table field, not in this entity) =VendInvoiceInfoSubTable.ParmId,PurchaseNumber=VendInvoiceInfoSubTable.OrigPurchIdMany VendInvoiceInfoLine records → exactly one VendInvoiceInfoSubTable record
VendInvoiceInfoSubTable details: see VendorInvoiceLineEntity
HeaderReference→VendInvoiceInfoTable.TableRefId(key of VendInvoiceInfoTable)Join on all of:
HeaderReference=VendInvoiceInfoTable.TableRefId,ParmId(table field, not in this entity) =VendInvoiceInfoTable.ParmIdMany VendInvoiceInfoLine records → exactly one VendInvoiceInfoTable record
VendInvoiceInfoTable details: see VendorInvoiceHeaderEntity, ProjVendInvoiceExportEntityV2, ProjVendInvoiceExportEntity
PurchaseNumber→PurchTable.PurchId(key of PurchTable)Many VendInvoiceInfoLine records → zero or one PurchTable record
PurchTable details: see PurchPurchaseOrderHeaderV2Entity, PurchPurchaseOrderHeaderEntity, ProjSubContractPurchaseOrderHeaderEntity
SalesTaxGroupCode→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many MarkupTrans records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
SalesTaxItemGroupCode→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many MarkupTrans records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
Need help with VendorInvoiceLineChargeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.