Skip to main content

MGCEarmarkDealFundingRuleEntity

The data entity over Earmark deal funding rules - Shape 2's scope rows: which items on a customer deal a named vendor funds, at what share and up to what cap. Read/write, primary key deal ID plus line number.

  • Public collection name: MGCEarmarkDealFundingRules
  • Primary key: DealId, LineNum

Fields​

NameTypeMandatoryDescription
DealIdMGCEarmarkDealIdYesThe parent deal's own ID, stored beside the record reference so the row is readable in an export or a DMF load.
LineNumLineNumYesThe line number of this funding rule within its deal.
ItemSelectorMGCEarmarkItemSelectorNoWhether this rule targets one item, an item group, a category or every item - the same grammar MGCEarmarkDealTarget's own item axis uses.
ItemRelationMGCEarmarkItemRelationNoThe item, item group or category this rule names, read against the item selector.
InventDimIdInventDimIdNoThe inventory dimension combination this rule is further scoped to, when one is named.
PriorityMGCEarmarkPriorityNoThe tie-breaking priority among funding rules of equal specificity - a lower number wins.
EffectiveFromTransDateNoThe date this funding rule becomes effective; blank inherits the deal's own start.
EffectiveToTransDateNoThe date this funding rule stops being effective; blank inherits the deal's own end.
FundingVendorAccountVendAccountYesThe single vendor account that funds accruals matching this rule - never a group, because MGCEarmarkMirrorGenerator creates exactly one vendor-side instance per rule match.
ShareTypeMGCEarmarkFundedShareTypeNoHow the vendor's funded amount is computed from the customer accrual - in full, as a percentage, or as a fixed amount per deal unit.
ShareValueMGCEarmarkFundedShareValueNoThe percent or fixed amount this rule funds, read against the share type.
FundingCapMGCEarmarkFundingCapNoThe maximum this rule will fund before a creation-time skip-the-vendor-instance-whole advisory check applies. Zero means uncapped.
VendorProfileRefRecIdRefRecIdNoThe vendor-side posting-profile set this rule's mirror instances resolve accounts through.
SpecificityRankMGCEarmarkSpecificityRankNoThis row's computed specificity, reusing MGCEarmarkDealTarget's own item/priority ranking formula - one implementation of "most specific wins".

Mappings​

Entity fieldData sourceField
DealIdMGCEarmarkDealFundingRuleDealId
LineNumMGCEarmarkDealFundingRuleLineNum
ItemSelectorMGCEarmarkDealFundingRuleItemSelector
ItemRelationMGCEarmarkDealFundingRuleItemRelation
InventDimIdMGCEarmarkDealFundingRuleInventDimId
PriorityMGCEarmarkDealFundingRulePriority
EffectiveFromMGCEarmarkDealFundingRuleEffectiveFrom
EffectiveToMGCEarmarkDealFundingRuleEffectiveTo
FundingVendorAccountMGCEarmarkDealFundingRuleFundingVendorAccount
ShareTypeMGCEarmarkDealFundingRuleShareType
ShareValueMGCEarmarkDealFundingRuleShareValue
FundingCapMGCEarmarkDealFundingRuleFundingCap
VendorProfileRefRecIdMGCEarmarkDealFundingRuleVendorProfileRef
SpecificityRankMGCEarmarkDealFundingRuleSpecificityRank