Data entity

PurchAutomaticPurchaseDocumentLineChargeV2Entity

Holds automatic charge setup lines for purchase document lines, in the V2 form. Each record is keyed by vendor, vendor charges group, item, product charges group, mode of delivery, delivery charges group and line number. It shows the charge code, category, percentage, fixed, proportional and per-unit amounts, and the intercompany percentage.

Entity name
PurchAutomaticPurchaseDocumentLineChargeV2Entity
Public entity name
PurchAutomaticPurchaseDocumentLineChargeV2
OData collection
PurchAutomaticPurchaseDocumentLineChargesV2
Category
Not set
Module
Procurement and sourcing
Read-only
No
Data management enabled
Yes
Configuration key
Markup
Keys
ChargingVendorAccountNumber, ChargingChargeVendorGroupId, ChargingItemNumber, ChargingChargeProductGroupId, ChargingDeliveryModeCode, ChargingChargeDeliveryGroupId, LineNumber
Staging table
PurchAutomaticPurchaseDocumentLineChargeV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PurchAutomaticPurchaseDocumentLineChargesV2
Dataverse virtual table
mserp_purchautomaticpurchasedocumentlinechargev2entity. 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 (27)

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
ChargingItemNumberNumber of the item the automatic charge applies to.String (20)
ItemId
NoYescomputed
ChargingChargeProductGroupIdCharges group for items that the automatic charge applies to.String
InventMarkupGroupId
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
UnitChargeAmountCharge amount for each unit; currency not stated in the metadata.Real
MarkupUnitAmount
NoYescomputed
IntercompanyChargePercentagePercentage of the charge used for intercompany purposes.Real
MarkupIntercompanyPercent
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
ItemCodeWhether the rule covers one item, a group of items or all items.Enum
MarkupItemCode
TableGroupAll
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)MarkupAutoTable.ItemCode
ItemRelationItem or item group that the rule covers.String (20)
ItemRelation
NoNo (private)InventTable.ItemIdMarkupAutoTable.ItemRelation
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
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 (10)

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

Email sales@drdynamics.co.uk