Data entity

GUPSalesAutomaticSalesDocumentLineChargeV2Entity

Holds the lines of automatic sales document charges, based on the auto charges table. Each record is identified by charge description and line number. It covers the charge code, category, value, currency, tax group, site, warehouse and validity dates. It also holds the price attribute group, exclusion and line attribute values from unified pricing rule lookup data.

Entity name
GUPSalesAutomaticSalesDocumentLineChargeV2Entity
Public entity name
SalesAutomaticSalesDocumentLineChargeV2
OData collection
SalesAutomaticSalesDocumentLineChargesV2
Category
Not set
Module
Sales and marketing
Read-only
No
Data management enabled
Yes
Configuration key
Markup
Keys
Description, LineNumber
Staging table
GUPSalesAutomaticSalesDocumentLineChargeV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SalesAutomaticSalesDocumentLineChargesV2
Dataverse virtual table
mserp_gupsalesautomaticsalesdocumentlinechargev2entity. 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
  • GUPPricingRuleConditionViewLine (table GUPPricingRuleConditionLookup) · OuterJoin to MarkupAutoLine
  • GUPPriceComponentCodePriceAttributeGroupCombination · OuterJoin to MarkupAutoLine

Fields (34)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
DescriptionText that describes the charge.String (60)
MarkupAutoTableDescription
YesYesMarkupAutoTable.Description
LineNumberNumber that orders the lines within the parent record.Real
LineNum
YesYesMarkupAutoLine.LineNum
WillInvoiceProcessingKeepChargeYes or no flag called Keep. Its exact effect is not stated in the metadata.low confidenceEnum
MarkupKeep
NoYes

Platform enum: values not in the metadata extract.

NoYesMarkupAutoLine.Keep
SalesDocumentCurrencyCodeCurrency of the amount range on the line.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeMarkupAutoLine.CurrencyCode
SalesChargeCodeCode 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
SpecificUnitSymbolUnit of measure for charges set by specific unit or specific unit match.String
MarkupSpecificUnitSymbol
NoYesUnitOfMeasure.SymbolMarkupAutoLine.SpecificUnitSymbol
ValueValue of the charge, such as an amount or percentage.Real
MarkupValue
NoYesMarkupAutoLine.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
InventSiteIdSite that the charge line is limited to.String
InventSiteId
NoYesInventSite.SiteIdMarkupAutoLine.InventSiteId
InventLocationIdWarehouse that the charge line is limited to.String
InventLocationId
NoYesInventLocation.InventLocationIdMarkupAutoLine.InventLocationId
FromDateFirst date on which the charge line is valid.Date
FromDate
NoYesMarkupAutoLine.FromDate
ToDateLast date on which the charge line is valid.Date
ToDate
NoYesMarkupAutoLine.ToDate
PriceAttributeGroupTypeLineWhether the line pricing applies to a group or to all.Enum
GUPPricingAttributeGroupCodeLine
GUPGroupAll
  • Group 0
  • All 1
NoYesMarkupAutoLine.PricingGroupCodeLine
PricingRuleLineSystem record ID of the price rule used for the line.Int64
GUPRefRecId
NoNo (private)GUPPricingRule.RecIdMarkupAutoLine.PricingRuleLine
LineExclusionTypeKind of item excluded by the rule: product, product variant or customer.Enum
GUPPricingRuleExclusionType
  • Product 0
  • ProductVariant 1
  • Customer 2
NoYesGUPPricingRuleConditionLookup.ExclusionType
LineExclusionText listing the items excluded from the rule.String (500)
GUPAttributeExclusion
NoYesGUPPricingRuleConditionLookup.Exclusion
PriceAttributeGroupNameLinePrice attribute group the conditions belong to.String (60)
GUPPricingAttributeGroupName
NoYesGUPPricingRuleConditionLookup.PriceAttributeGroupName
Line1First condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue1
Line2Second condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue2
Line3Third condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue3
Line4Fourth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue4
Line5Fifth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue5
Line6Sixth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue6
Line7Seventh condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue7
Line8Eighth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue8
Line9Ninth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue9
Line10Tenth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue10
Line11Eleventh condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue11
Line12Twelfth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue12
Line13Thirteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue13
Line14Fourteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue14
Line15Fifteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue15

Foreign keys (8)

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

Email sales@drdynamics.co.uk