Skip to main content

MGCEarmarkPriceProposal

One deal offered to an order taker inside one price builder session, and what was decided about it. The session is a conversation, not a record: the resolver proposes, a person includes, declines or edits, and Accept turns the included rows into price components and accrual instances. AT ACCEPT THE DECISIONS ARE COPIED TO THE TIMELINE, against the instance each included row became and against the build for the rest, and that copy is what makes these rows safely disposable - they are purged past the proposal session retention day count, so this table must never be treated as the permanent record of why a deal was left out.

Fields​

NameTypeMandatoryDescription
ActorUserIdNoWho opened the session this proposal belongs to. Stamped at insert, because the session belongs to whoever opened it and the grid needs to know whose session it is showing.
AmountPerPriceUnitCurMGCEarmarkAccrualAmountNoWhat this deal would contribute per price unit, in the transaction currency - the figure that would enter the price equation if the deal were included.
AmountPerSalesUnitCurMGCEarmarkAccrualAmountNoWhat this deal would contribute per unit sold, in the transaction currency, after unit conversion. It is one of the two figures shown in the proposal grid.
DealRefRecIdYesThe deal being proposed. A proposal about no deal is unreachable from the grid, from the entity and from the timeline copy, so it is refused.
DealIdMGCEarmarkDealIdNoThe deal identifier in readable form, stamped from the deal reference at insert so the monitoring feed can report on it after the reference has ceased to mean anything.
DecisionMGCEarmarkProposalDecisionNoWhat has been decided about this deal. Only Included rows become components and freeze commitments; Proposed rows have not been looked at, Declined rows were refused by a person, and Ineligible rows were excluded by the evaluator.
EditedAmountMGCEarmarkAccrualAmountNoThe amount an order taker put in place of the one the resolver proposed. Zero means no edit was made. It travels with the original amount and one without the other is refused, because an edit that loses what it replaced is not an audit.
IneligibleReasonMGCEarmarkIneligibleReasonNoWhy the evaluator excluded this deal. It is meaningful only where the decision is Ineligible: the reason enumeration has no unset value, so a reason on an included row means nothing and readers must read the pair.
InventTransIdInventTransIdNoThe inventory transaction identifier of the line the session is pricing, carried as the readable half of the line reference.
LineRecIdRefRecIdYesThe record reference of the order line the session is pricing.
LineTableIdRefTableIdYesWhich kind of order line the session is pricing. Stored beside the line reference because a record reference alone cannot say which table it came from.
NonTargetedNoYesIdNoWhether this deal was attached even though the targeting rules did not select the line. It is a privileged override, held by a duty that is in no role by default and that is one half of a seeded segregation-of-duties rule against approving deals.
NonTargetedReasonMGCEarmarkReasonNoteNoWhy a deal the targeting rules did not select was attached anyway. It is REQUIRED whenever the non-targeted flag is set: an override with no stated reason is indistinguishable from a mistake, and this text is what the timeline copy carries forward after the session has been purged.
OriginalAmountMGCEarmarkAccrualAmountNoThe amount the resolver proposed, kept so that an edit can always be compared with what it replaced.
QualifyingRankMGCEarmarkSpecificityRankNoHow specifically the qualifying targeting row matched - an item and an account beats an item and a customer group, which beats a catch-all. It is what orders the proposals in the grid, so the closest match is offered first.
QualifyingTargetRefRecIdNoThe deal targeting row that selected this line. It is what an order taker asking "why is this deal being offered to me" is shown, and what a support engineer reads when the answer is wrong.
SessionIdMGCEarmarkProposalSessionIdYesThe price builder session this proposal belongs to. It is a GUID rather than a sequence number, because sessions are transient and most are purged.