Data entity

VRMPendingVendorInvoiceHeaderChargeDetailsEntity

Read-only list of charges recorded on the header of a pending vendor invoice. Each row is one charge line, identified by the invoice header reference, the charge line number and the invoice company. It joins the invoice header and vendor, and carries the charge code, category, currency, tax groups and charge value.

Entity name
VRMPendingVendorInvoiceHeaderChargeDetailsEntity
Public entity name
VRMPendingVendorInvoiceChargeDetail
OData collection
VRMPendingVendorInvoiceHeaderChargeDetails
Category
Document
Module
Procurement and sourcing
Read-only
Yes
Data management enabled
No
Configuration key
VendorPortal
Keys
InvoiceHeaderReference, ChargeLineNumber, VendorInvoiceCompanyId
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/VRMPendingVendorInvoiceHeaderChargeDetails
Dataverse virtual table
mserp_vrmpendingvendorinvoiceheaderchargedetailsentity. 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

  • MarkupDocumentChargeEntity · root · read-only
  • VendorInvoiceChargesview · InnerJoin to MarkupDocumentChargeEntity · read-only
  • VendInvoiceInfoTable · InnerJoin to VendorInvoiceChargesview · read-only
  • VendTable · InnerJoin to VendInvoiceInfoTable · read-only

Fields (20)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
InvoiceHeaderReferenceLine reference that, with the parameter ID, identifies the invoice.String (20)
TradeLineRefId
YesYesVendInvoiceInfoTable.TableRefId
InvoiceAccountVendor account that the invoice is addressed to.String (20)
VendInvoiceAccount
YesYesVendTable.AccountNumVendInvoiceInfoTable.InvoiceAccount
InvoiceNumberInvoice number given by the vendor.String (50)
VendInvoiceId
NoYesVendInvoiceInfoTable.Num
InvoiceDateDate shown on the invoice.Date
DocumentDate
NoYesVendInvoiceInfoTable.DocumentDate
ChargeLineNumberLine number that orders the charges on a record.Real
LineNum
YesYesMarkupTrans.LineNum
ChargeCategoryHow the charge is worked out, such as fixed, percent or per piece.Enum
MarkupCategoryType
MarkupCategory
  • Fixed 0
  • Pcs 1
  • Percent 2
  • InterCompanyPercent 3
  • External 4
  • Proportional 5
  • UnitSpecific 6
  • UnitSpecificMatch 7
NoYesMarkupTrans.MarkupCategory
PurchaseChargeCodeCharges code. It points to the charges code table together with the module type.String
MarkupCode
NoYesMarkupTable.MarkupCodeMarkupTrans.MarkupCode
ChargeDescriptionFree text description of the charge.String (512)
TransactionTextLarge
NoYesMarkupTrans.Txt
ChargeAccountingCurrencyCodeCurrency of the charge. It points to the currency record.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeMarkupTrans.CurrencyCode
SalesTaxGroupCodeSales tax group for the charge. It points to the sales tax group record.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupMarkupTrans.TaxGroup
SalesTaxItemGroupCodeItem sales tax group for the charge. It points to the item sales tax group record.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupMarkupTrans.TaxItemGroup
InvoiceDocumentTableIdID of the table that holds the parent record for this charge. It tells you which table the record ID refers to.Integer
MarkupTransRefTableId
NoNo (private)MarkupTrans.TransTableId
InvoiceDocumentRecordIdSystem record ID of the parent record that the charge belongs to. It is used together with the table ID to find that record.Int64
MarkupTransRefRecId
NoNo (private)MarkupTrans.TransRecId
ChargeDocumentStatusStatus of the document the charge belongs to, such as quotation, purchase order or invoice.Enum
DocumentStatus
  • None 0
  • Quotation 1
  • PurchaseOrder 2
  • Confirmation 3
  • PickingList 4
  • PackingSlip 5
  • ReceiptsList 6
  • Invoice 7
  • ApproveJournal 8
  • ProjectInvoice 9
  • ProjectPackingSlip 10
  • CRMQuotation 11
  • Lost 12
  • Cancelled 13
  • FreeTextInvoice 14
  • RFQ 15
  • RFQAccept 16
  • RFQReject 17
  • PurchReq 18
  • RFQReSend 19
  • ConfirmationRequest 30
  • InvoiceRegistration_IN 219
  • BillOfEntry_IN 220
  • ShippingBill_IN 221
  • Invoice4Paym_RU 101
  • Facture_RU 102
  • FreeTextInvoice4Paym_RU 105
  • DeliverySlip_BR 150
  • PlSAD 103
  • DeliverySlipProject_BR 222
  • Note
  • ProjectPickingList
  • ITMGoodsInTransitReceive
  • RentalInvoiceScheduleProforma 88
  • RevRecRevenueCancelation
  • RevRecDeferredRevenueInvoice
NoNo (private)MarkupTrans.DocumentStatus
IsIntercompanyChargeShows whether the charge is an intercompany charge. It holds a yes or no value.Enum
MarkupIsIntercompanyCharge
NoYes

Platform enum: values not in the metadata extract.

NoYesNone
VendorInvoiceCompanyIdNo descriptionNoYesNone
SpecificUnitSymbolUnit of measure symbol used by unit-specific charges. It points to the units table.String
MarkupSpecificUnitSymbol
NoYesUnitOfMeasure.SymbolMarkupTrans.SpecificUnitSymbol
GlobalVendorNumberGlobal vendor number from an external supplier app. Points to a global vendor record.String (100)
VRMGlobalVendorNumber
NoYesVRMGlobalVendor.VendorNumberVendTable.VRMGlobalVendor
ValueValue of the charge, such as an amount or a percentage depending on the category.Real
MarkupValue
NoYesMarkupTrans.Value
CalculatedDocumentCurrencyAmountCharge amount in the transaction currency.Real
AmountCur
NoYesMarkupTrans.CalculatedAmount

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.

Need help with VRMPendingVendorInvoiceHeaderChargeDetailsEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk