Data entity

PurchAutomaticPurchaseDocumentHeaderChargeV2Entity

Holds automatic charge setup lines for purchase document headers, in the V2 form. Each record is keyed by vendor, vendor charges group, mode of delivery, delivery charges group and line number. It shows the charge code, category, percentage or amounts, currency, sales tax group and the amount range.

Entity name
PurchAutomaticPurchaseDocumentHeaderChargeV2Entity
Public entity name
PurchAutomaticPurchaseDocumentHeaderChargeV2
OData collection
PurchAutomaticPurchaseDocumentHeaderChargesV2
Category
Not set
Module
Procurement and sourcing
Read-only
No
Data management enabled
Yes
Configuration key
Markup
Keys
ChargingVendorAccountNumber, ChargingChargeVendorGroupId, ChargingDeliveryModeCode, ChargingChargeDeliveryGroupId, LineNumber
Staging table
PurchAutomaticPurchaseDocumentHeaderChargeV2Staging

Use it in Power BI and Power Platform

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

  • MarkupAutoLine · root
  • MarkupAutoTable · InnerJoin to MarkupAutoLine

Fields (23)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ChargingVendorAccountNumberAccount number of the vendor the automatic charge applies to.String (20)
VendAccount
NoYescomputed
ChargingChargeVendorGroupIdCharges group for vendors that the automatic charge applies to.String
VendMarkupGroupId
NoYescomputed
LineNumberNumber that orders the lines within the parent record.Real
LineNum
NoYesMarkupAutoLine.LineNum
PurchaseDocumentCurrencyCodeCurrency of the amount range on the line.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeMarkupAutoLine.CurrencyCode
PurchaseChargeCodeCode of the charge that the line applies.String
MarkupCode
YesYesMarkupTable.MarkupCodeMarkupAutoLine.MarkupCode
ChargeCategoryHow the charge is worked out, for example fixed, percent or specific unit.Enum
MarkupCategoryType
MarkupCategory
  • Fixed 0
  • Pcs 1
  • Percent 2
  • InterCompanyPercent 3
  • External 4
  • Proportional 5
  • UnitSpecific 6
  • UnitSpecificMatch 7
NoYesMarkupAutoLine.MarkupCategory
ChargePercentagePercentage used for the charge.Real
MarkupPercent
NoYescomputed
FixedChargeAmountFixed amount of the charge; currency not stated in the metadata.Real
MarkupFixedAmount
NoYescomputed
ProportionalChargeAmountProportional amount of the charge; currency not stated in the metadata.Real
MarkupProportionalAmount
NoYescomputed
ValueValue of the charge, such as an amount or percentage.Real
MarkupValue
NoNo (private)MarkupAutoLine.Value
ChargeAccountingCurrencyCodeCurrency of the charge itself.String (3)
MarkupCurrencyCode
NoYesCurrency.CurrencyCodeMarkupAutoLine.MarkupCurrencyCode
SalesTaxGroupCodeSales tax group that applies to the charge.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupMarkupAutoLine.TaxGroup
AccountCodeWhether the rule covers one account, a group of accounts or all accounts.Enum
MarkupAccountCode
TableGroupAll
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)MarkupAutoTable.AccountCode
AccountRelationCustomer or vendor account, or group, that the rule covers.String (20)
CustVendRel
NoNo (private)CustTable.AccountNumVendTable.AccountNumMarkupAutoTable.AccountRelation
DlvModeCodeWhether the rule covers one delivery mode, a group or all.Enum
MarkupDlvModeCode
TableGroupAll
  • Table 0
  • GroupId 1
  • All 2
NoYesMarkupAutoTable.DlvModeCode
DlvModeRelationMode of delivery that the rule covers.String (20)
DlvModeRelation
NoYesDlvMode.CodeMarkupAutoTable.DlvModeRelation
ChargeDescriptionText that describes the charge.String (60)
MarkupAutoTableDescription
NoYesMarkupAutoTable.Description
ToTotalLineAmountUpper limit of the amount range for which the charge line applies.Real
MarkupToAmount
NoYesMarkupAutoLine.ToAmount
FromTotalLineAmountLower limit of the amount range for which the charge line applies.Real
MarkupFromAmount
NoYesMarkupAutoLine.FromAmount
ReceivingSiteIdSite that the charge line is limited to.String
InventSiteId
NoYesInventSite.SiteIdMarkupAutoLine.InventSiteId
ReceivingWarehouseIdWarehouse that the charge line is limited to.String
InventLocationId
NoYesInventLocation.InventLocationIdMarkupAutoLine.InventLocationId
ChargingDeliveryModeCodeCode of the mode of delivery the charge applies to.String
VendDlvModeId
NoYescomputed
ChargingChargeDeliveryGroupIdCharges group for delivery modes that the automatic charge applies to.String
DeliveryMarkupGroupId
NoYescomputed

Foreign keys (9)

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 PurchAutomaticPurchaseDocumentHeaderChargeV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk