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· rootMarkupAutoTable· InnerJoin toMarkupAutoLineGUPPricingRuleConditionViewLine(tableGUPPricingRuleConditionLookup) · OuterJoin toMarkupAutoLineGUPPriceComponentCodePriceAttributeGroupCombination· OuterJoin toMarkupAutoLine
Fields (34)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DescriptionText that describes the charge. | String (60)MarkupAutoTableDescription | Yes | Yes | MarkupAutoTable.Description | |
LineNumberNumber that orders the lines within the parent record. | RealLineNum | Yes | Yes | MarkupAutoLine.LineNum | |
WillInvoiceProcessingKeepChargeYes or no flag called Keep. Its exact effect is not stated in the metadata.low confidence | EnumMarkupKeep
| No | Yes | MarkupAutoLine.Keep | |
SalesDocumentCurrencyCodeCurrency of the amount range on the line. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | MarkupAutoLine.CurrencyCode |
SalesChargeCodeCode of the charge that the line applies. | StringMarkupCode | Yes | Yes | MarkupTable.MarkupCode | MarkupAutoLine.MarkupCode |
ChargeCategoryHow the charge is worked out, for example fixed, percent or specific unit. | EnumMarkupCategoryType
| No | Yes | MarkupAutoLine.MarkupCategory | |
SpecificUnitSymbolUnit of measure for charges set by specific unit or specific unit match. | StringMarkupSpecificUnitSymbol | No | Yes | UnitOfMeasure.Symbol | MarkupAutoLine.SpecificUnitSymbol |
ValueValue of the charge, such as an amount or percentage. | RealMarkupValue | No | Yes | MarkupAutoLine.Value | |
ChargeAccountingCurrencyCodeCurrency of the charge itself. | String (3)MarkupCurrencyCode | No | Yes | Currency.CurrencyCode | MarkupAutoLine.MarkupCurrencyCode |
SalesTaxGroupCodeSales tax group that applies to the charge. | StringTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | MarkupAutoLine.TaxGroup |
InventSiteIdSite that the charge line is limited to. | StringInventSiteId | No | Yes | InventSite.SiteId | MarkupAutoLine.InventSiteId |
InventLocationIdWarehouse that the charge line is limited to. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | MarkupAutoLine.InventLocationId |
FromDateFirst date on which the charge line is valid. | DateFromDate | No | Yes | MarkupAutoLine.FromDate | |
ToDateLast date on which the charge line is valid. | DateToDate | No | Yes | MarkupAutoLine.ToDate | |
PriceAttributeGroupTypeLineWhether the line pricing applies to a group or to all. | EnumGUPPricingAttributeGroupCodeLine
| No | Yes | MarkupAutoLine.PricingGroupCodeLine | |
PricingRuleLineSystem record ID of the price rule used for the line. | Int64GUPRefRecId | No | No (private) | GUPPricingRule.RecId | MarkupAutoLine.PricingRuleLine |
LineExclusionTypeKind of item excluded by the rule: product, product variant or customer. | Enum
| No | Yes | GUPPricingRuleConditionLookup.ExclusionType | |
LineExclusionText listing the items excluded from the rule. | String (500)GUPAttributeExclusion | No | Yes | GUPPricingRuleConditionLookup.Exclusion | |
PriceAttributeGroupNameLinePrice attribute group the conditions belong to. | String (60)GUPPricingAttributeGroupName | No | Yes | GUPPricingRuleConditionLookup.PriceAttributeGroupName | |
Line1First condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue1 | |
Line2Second condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue2 | |
Line3Third condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue3 | |
Line4Fourth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue4 | |
Line5Fifth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue5 | |
Line6Sixth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue6 | |
Line7Seventh condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue7 | |
Line8Eighth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue8 | |
Line9Ninth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue9 | |
Line10Tenth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue10 | |
Line11Eleventh condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue11 | |
Line12Twelfth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue12 | |
Line13Thirteenth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue13 | |
Line14Fourteenth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue14 | |
Line15Fifteenth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.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.
SalesDocumentCurrencyCode→Currency.CurrencyCode(key of Currency)Many MarkupAutoLine records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
SalesChargeCode→MarkupTable.MarkupCode(key of MarkupTable)Join on all of:
SalesChargeCode=MarkupTable.MarkupCode,ModuleType(table field, not in this entity) =MarkupTable.ModuleTypeMany MarkupAutoLine records → zero or one MarkupTable record
MarkupTable details: see PurchProcurementChargeEntity, SalesChargeEntity, PurchProcurementChargeCDSEntity
SpecificUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many MarkupAutoLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
ChargeAccountingCurrencyCode→Currency.CurrencyCode(key of Currency)Many MarkupAutoLine records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
SalesTaxGroupCode→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many MarkupAutoLine records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
InventSiteId→InventSite.SiteId(key of InventSite)Many MarkupAutoLine records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
InventLocationId→InventLocation.InventLocationId(key of InventLocation)Many MarkupAutoLine records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
PricingRuleLine→GUPPricingRule.RecId(key of GUPPricingRule)Zero or one MarkupAutoLine record → exactly one GUPPricingRule record
GUPPricingRule details: see GUPDiscountInquiryResultEntity, GUPDiscountLineInquiryResultEntity, GUPPriceAdjustmentInquiryResultEntity
Need help with GUPSalesAutomaticSalesDocumentLineChargeV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.