Skip to main content

MGCEarmarkPriceProposalEntity

Read-only. Decisions and ineligibility reasons while the sessions are retained. It is a window onto a queue and NOT a permanent record: the rows behind it are purged past the proposal session retention day count, so a report reconciling last year's accruals against last year's proposals will find nothing. The permanent record is the timeline, which receives a copy of every decision at Accept. Use this for monitoring - which deals are being offered, taken, and excluded, and why.

  • Public collection name: MGCEarmarkPriceProposals
  • Primary key: PriceProposalRecId, SessionId, DealId

Fields​

NameTypeMandatoryDescription
PriceProposalRecIdRefRecIdNo
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.
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.
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.
LineRecIdRefRecIdYesThe record reference of the order line the session is pricing.
InventTransIdInventTransIdNoThe inventory transaction identifier of the line the session is pricing, carried as the readable half of the line reference.
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.
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.
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.
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.
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.
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.
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.
OriginalAmountMGCEarmarkAccrualAmountNoThe amount the resolver proposed, kept so that an edit can always be compared with what it replaced.
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.
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.
ProposedDateTimeTransDateTimeNo

Mappings​

Entity fieldData sourceField
PriceProposalRecIdMGCEarmarkPriceProposalRecId
SessionIdMGCEarmarkPriceProposalSessionId
DealIdMGCEarmarkPriceProposalDealId
LineTableIdMGCEarmarkPriceProposalLineTableId
LineRecIdMGCEarmarkPriceProposalLineRecId
InventTransIdMGCEarmarkPriceProposalInventTransId
QualifyingTargetMGCEarmarkPriceProposalQualifyingTarget
QualifyingRankMGCEarmarkPriceProposalQualifyingRank
DecisionMGCEarmarkPriceProposalDecision
IneligibleReasonMGCEarmarkPriceProposalIneligibleReason
AmountPerSalesUnitCurMGCEarmarkPriceProposalAmountPerSalesUnitCur
AmountPerPriceUnitCurMGCEarmarkPriceProposalAmountPerPriceUnitCur
EditedAmountMGCEarmarkPriceProposalEditedAmount
OriginalAmountMGCEarmarkPriceProposalOriginalAmount
NonTargetedMGCEarmarkPriceProposalNonTargeted
NonTargetedReasonMGCEarmarkPriceProposalNonTargetedReason
ActorMGCEarmarkPriceProposalActor
ProposedDateTimeMGCEarmarkPriceProposalCreatedDateTime