Skip to main content

MGCEarmarkDealFundingRuleStaging

The data-management staging table behind MGCEarmarkDealFundingRuleEntity.

Fields​

NameTypeMandatoryDescription
DefinitionGroupDMFDefinitionGroupNameYes
ExecutionIdDMFExecutionIdYes
IsSelectedDMFIsSelectedNo
TransferStatusDMFTransferStatusNo
DealIdMGCEarmarkDealIdYesThe identifier of the Earmark deal. It is allocated from the Deal ID number sequence registered on the Earmark parameters record, or typed by the deal author when no sequence is configured. The deal ID is the deal's natural key: it is quoted on claim statements, carried on every accrual instance frozen from the deal, and copied into migrated records, so it is stored on every dependent row alongside the record ID rather than being re-derived. Implements requirement A3.
LineNumLineNumYes
ItemSelectorMGCEarmarkItemSelectorNo
ItemRelationMGCEarmarkItemRelationNoThe item, item group or category that a deal targeting row or a posting profile row selects, read according to that row's item code. It is sixty characters rather than the twenty of the standard item relation type, and deliberately so: a category-targeted row stores the category name, and merchandising category names routinely run past twenty characters, so the standard type truncates them silently and the resolver then fails to match a row that looks correct on screen. Widening the type is what fixes that. The value is an item ID or an item group ID on a Table or Group row, the category name on a Category row, and blank on an All row. Implements requirements A4 and A10.
InventDimIdInventDimIdNo
PriorityMGCEarmarkPriorityNoThe author's own tie-break between rows that are otherwise equally specific. It is consulted only after every selector axis has been compared and found equal, so it never overrides specificity - it only decides which of two equally specific rows wins. A lower number wins. It is an ordering hint and never an arithmetic weight: the resolver reads it to order candidates and nothing multiplies by it. It must not be negative; use zero for the highest priority. Implements requirements A4 and A5.
EffectiveFromTransDateNo
EffectiveToTransDateNo
FundingVendorAccountVendAccountYes
ShareTypeMGCEarmarkFundedShareTypeNo
ShareValueMGCEarmarkFundedShareValueNoA funding rule's share value: a percent when the share type is Percent of deal money, or a fixed currency amount per deal unit when the share type is Fixed per deal unit. Read together with Share type; never both at once.
FundingCapMGCEarmarkFundingCapNoThe maximum amount a funding rule or a mirror-link snapshot will fund. Zero means uncapped.
VendorProfileRefRecIdRefRecIdNo
SpecificityRankMGCEarmarkSpecificityRankNoHow specific a targeting row is, computed from its selector axes and stored on write so that the qualifying row recorded on an accrual instance can be compared and reported later without re-deriving it. A caller-supplied value is ignored: the rank is recomputed on every insert and update, because a stored rank that disagreed with the row it describes would make the resolver's own explanation untrue. A higher rank is more specific and wins; priority breaks a tie between two equal ranks. Implements requirements A4 and A5.