PriceProposalRecId | RefRecId | No | |
SessionId | MGCEarmarkProposalSessionId | Yes | The price builder session this proposal belongs to. It is a GUID rather than a sequence number, because sessions are transient and most are purged. |
DealId | MGCEarmarkDealId | No | The 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. |
LineTableId | RefTableId | Yes | Which 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. |
LineRecId | RefRecId | Yes | The record reference of the order line the session is pricing. |
InventTransId | InventTransId | No | The inventory transaction identifier of the line the session is pricing, carried as the readable half of the line reference. |
QualifyingTarget | RefRecId | No | The 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. |
QualifyingRank | MGCEarmarkSpecificityRank | No | How 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. |
Decision | MGCEarmarkProposalDecision | No | What 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. |
IneligibleReason | MGCEarmarkIneligibleReason | No | Why 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. |
AmountPerSalesUnitCur | MGCEarmarkAccrualAmount | No | What 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. |
AmountPerPriceUnitCur | MGCEarmarkAccrualAmount | No | What this deal would contribute per price unit, in the transaction currency - the figure that would enter the price equation if the deal were included. |
EditedAmount | MGCEarmarkAccrualAmount | No | The 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. |
OriginalAmount | MGCEarmarkAccrualAmount | No | The amount the resolver proposed, kept so that an edit can always be compared with what it replaced. |
NonTargeted | NoYesId | No | Whether 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. |
NonTargetedReason | MGCEarmarkReasonNote | No | Why 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. |
Actor | UserId | No | Who 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. |
ProposedDateTime | TransDateTime | No | |