Data entity
GUPSalesAutomaticSalesDocumentHeaderChargeTableV2Entity
Second version of the header records for automatic charges on sales documents in pricing management. It holds the charge description, price component code, header group type, exclusion details, price attribute group and up to 15 header attribute values. It reads attribute data from the unified pricing rule lookup and is keyed by charge description.
- Entity name
GUPSalesAutomaticSalesDocumentHeaderChargeTableV2Entity- Public entity name
SalesAutomaticSalesDocumentHeaderChargeTableV2- OData collection
SalesAutomaticSalesDocumentHeaderChargeTablesV2- Category
Not set- Module
Sales and marketing- Read-only
No- Data management enabled
Yes- Configuration key
Markup- Keys
Description- Staging table
GUPSalesAutomaticSalesDocumentHeaderChargeTableV2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SalesAutomaticSalesDocumentHeaderChargeTablesV2- Dataverse virtual table
mserp_gupsalesautomaticsalesdocumentheaderchargetablev2entity. 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
MarkupAutoTable· rootGUPPricingRuleConditionLookup· OuterJoin toMarkupAutoTable
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DescriptionText that describes the charge. | String (60)MarkupAutoTableDescription | Yes | Yes | MarkupAutoTable.Description | |
RetailAdvancedChargesDeliveryProrateYes or no flag for spreading the delivery charge across matching sales lines. | EnumRetailAdvancedChargesDeliveryProrate
| No | Yes | MarkupAutoTable.RetailAdvancedChargesDeliveryProrate | |
PriceComponentCodeNameName of the price component code linked to the rule. | String (80)GUPPriceComponentCodeName | No | Yes | GUPPriceComponentCode.Name | MarkupAutoTable.PriceComponentCodeName |
PriceAttributeGroupTypeHeaderWhether the header pricing applies to a group or to all. | EnumGUPPricingAttributeGroupCodeHeader
| No | Yes | MarkupAutoTable.PricingGroupCodeHeader | |
HeaderExclusionText listing the items excluded from the rule. | String (500)GUPAttributeExclusion | No | Yes | GUPPricingRuleConditionLookup.Exclusion | |
HeaderExclusionTypeKind of item excluded by the rule: product, product variant or customer. | Enum
| No | Yes | GUPPricingRuleConditionLookup.ExclusionType | |
PricingRuleHeaderSystem record ID of the price rule used for the header. | Int64GUPRefRecId | No | No (private) | GUPPricingRule.RecId | MarkupAutoTable.PricingRuleHeader |
PriceAttributeGroupNameHeaderPrice attribute group the conditions belong to. | String (60)GUPPricingAttributeGroupName | No | Yes | GUPPricingRuleConditionLookup.PriceAttributeGroupName | |
Header1First condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue1 | |
Header2Second condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue2 | |
Header3Third condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue3 | |
Header4Fourth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue4 | |
Header5Fifth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue5 | |
Header6Sixth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue6 | |
Header7Seventh condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue7 | |
Header8Eighth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue8 | |
Header9Ninth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue9 | |
Header10Tenth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue10 | |
Header11Eleventh condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue11 | |
Header12Twelfth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue12 | |
Header13Thirteenth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue13 | |
Header14Fourteenth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue14 | |
Header15Fifteenth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue15 |
Foreign keys (2)
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.
PriceComponentCodeName→GUPPriceComponentCode.Name(key of GUPPriceComponentCode)Many MarkupAutoTable records → exactly one GUPPriceComponentCode record
GUPPriceComponentCode details: see GUPPriceComponentCodeEntity, GUPPriceComponentCodeCombinationEntity, GUPPriceComponentCodeSetupEntity
PricingRuleHeader→GUPPricingRule.RecId(key of GUPPricingRule)Zero or one MarkupAutoTable record → exactly one GUPPricingRule record
GUPPricingRule details: see GUPDiscountInquiryResultEntity, GUPDiscountLineInquiryResultEntity, GUPPriceAdjustmentInquiryResultEntity
Need help with GUPSalesAutomaticSalesDocumentHeaderChargeTableV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.