Data entity

GUPSalesAutomaticSalesDocumentLineChargeEntity

Lines of automatic charges for sales document lines in pricing management. Each line has a charge code, category, value, currency, sales tax group and validity dates, and can be limited by site and warehouse. It also holds the line group type, price attribute group and up to 15 line attribute values. The key is charge description and line number.

Entity name
GUPSalesAutomaticSalesDocumentLineChargeEntity
Public entity name
SalesAutomaticSalesDocumentLineCharge
OData collection
SalesAutomaticSalesDocumentLineCharges
Category
Not set
Module
Sales and marketing
Read-only
No
Data management enabled
Yes
Configuration key
Markup
Keys
Description, LineNumber
Staging table
GUPSalesAutomaticSalesDocumentLineChargeStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SalesAutomaticSalesDocumentLineCharges
Dataverse virtual table
mserp_gupsalesautomaticsalesdocumentlinechargeentity. 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 GUPPricingRuleConditionView) · 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
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
PriceAttributeGroupNameLineName of the price attribute group used at line level.String (60)
GUPPricingAttributeGroupName
NoYesvirtual
CombinationLineStructureText describing the price attribute details for the line.String (-1)
GUPPricingAttributeDetailsMemo
NoYescomputed in view
Line1Value of the first line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line2Value of the second line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line3Value of the third line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line4Value of the fourth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line5Value of the fifth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line6Value of the sixth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line7Value of the seventh line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line8Value of the eighth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line9Value of the ninth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line10Value of the tenth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line11Value of the eleventh line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line12Value of the twelfth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line13Value of the thirteenth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line14Value of the fourteenth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
Line15Value of the fifteenth line price attribute.String (1000)
GUPAttributeValue
NoYescomputed in view
LineExclusionExclusion setting for the line price attributes.low confidenceString (400)
GUPAttributeExclusion
NoYesvirtual
PricingRuleLineSystem record ID of the price rule used for the line.Int64
GUPRefRecId
NoNo (private)GUPPricingRule.RecIdMarkupAutoLine.PricingRuleLine
LineExclusionTypeType of price rule exclusion for the line, chosen from a fixed list of values.Enum
GUPPricingRuleExclusionType
  • Product 0
  • ProductVariant 1
  • Customer 2
NoYesvirtual

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

Email sales@drdynamics.co.uk