Skip to main content

MGCEarmarkLinePriceComponent

One term of a built price - the base, the over-basis, or one deal's money - with the amount expressed per deal unit, per sales unit and per price unit, the factors that converted between them, and the accrual instance the term became. The build says the line was priced at a total; these rows say which deals the total came from, which is what nets deal money out of gross revenue. Rows are permanent evidence and are never deleted; the only write after insert is stamping the instance a component became.

Fields​

NameTypeMandatoryDescription
AccrualInstanceRefRecIdNoThe accrual instance this component became. Basis creates the commitment and the Tally package accrues it, so this reference is the join between a price and the money that will eventually move against it. It may be stamped once, from empty, and may never afterwards be pointed at a different instance: a component that could be re-pointed could silently move a commitment from one deal's ledger to another's.
AmountEditedNoYesIdNoWhether an order taker changed the amount the resolver proposed. It travels with the original amount, and one without the other is refused: an edit flag with no original loses the only fact the audit exists for, and an original with no flag claims a change that never happened.
AmountPerDealUnitCurMGCEarmarkAccrualAmountNoThe amount in the unit the DEAL states its rate in, in the transaction currency. It is the figure a person reading the deal would recognize, kept so that the conversion can be checked rather than trusted.
AmountPerDealUnitMSTMGCEarmarkAccrualAmountMSTNoThe amount per deal unit converted to the accounting currency using the rate stored on the parent build.
AmountPerPriceUnitCurMGCEarmarkAccrualAmountNoThe amount as it enters the price equation - per price unit, in the transaction currency. This is the figure that sums to the build's total, and the one a reconciliation compares.
AmountPerPriceUnitMSTMGCEarmarkAccrualAmountMSTNoThe amount per price unit converted to the accounting currency using the rate stored on the parent build.
AmountPerSalesUnitCurMGCEarmarkAccrualAmountNoThe amount in the unit the LINE is sold in, in the transaction currency, after the deal unit factor has been applied.
AmountPerSalesUnitMSTMGCEarmarkAccrualAmountMSTNoThe amount per sales unit converted to the accounting currency using the rate stored on the parent build.
ComponentTypeMGCEarmarkComponentTypeNoWhich term of the equation this row is. Base and Over-basis are the line's own price and name no deal; Deal money and Allowance are one deal's contribution, name that deal and resolve a price mode.
DealRefRecIdNoThe deal whose money this component is. It is required on a Deal or Allowance row - money attributed to nobody is unreachable from the deal balance and from every claim - and must be absent on a Base or Over-basis row, which would otherwise be counted twice, once as the line's price and once as a deal's contribution.
DealIdMGCEarmarkDealIdNoThe deal identifier in readable form, stamped from the deal reference at insert. A record reference is unreadable in an export and worthless after a migration, and the component entity - the feed that nets deal money out of gross revenue - groups on this rather than on the reference.
DealUnitFactorMGCEarmarkConversionFactorNoThe factor that converted this component from the deal's unit to the line's unit, snapshotted at build. If no conversion path had existed the component would never have been written: the unit converter returns the verdict Unit not convertible and the deal is excluded as ineligible, which is how a silent mis-scale is made impossible.
LinePriceRefRecIdYesThe build this component belongs to. A component cannot exist without one, and every reader reaches the line, the order and the build number through it rather than through columns repeated here, so that two rows can never disagree about which line they describe.
OriginalAmountMGCEarmarkAccrualAmountNoThe amount the resolver proposed before an order taker changed it. Zero means no edit was made; it cannot legitimately be zero on an edited row, because a zero-amount deal is excluded as ineligible before it ever becomes a component.
ResolvedPriceModeMGCEarmarkPriceModeNoWhether this deal's money was grossed into the invoiced price or held off the invoice as an allowance. It is RESOLVED at build time on every row that names a deal, and Company default is refused there: that value means "ask the company parameters", so a stored Company default is an unresolved component that would be silently grossed into an invoiced price. Base and Over-basis rows name no deal and legitimately leave it unset, because the money was never a deal's.
SalesUnitFactorMGCEarmarkSalesUnitFactorNoThe factor that converted this component from the line's sales unit to the price unit the amounts are quoted in, snapshotted at build alongside the deal unit factor.