Skip to main content

MGCCapstoneReconToleranceBand

Tolerance band per account class and currency (B12): how large a residual a committed match group on an account of this class, in this currency, may carry and still be treated as matched within tolerance; and therefore eligible for a disposition action (B7). Amount and percent are alternative allowances: a residual is within the band when EITHER populated limit accommodates it; a limit of zero is an unpopulated limit, and a band needs at least one populated limit to exist at all (validateWrite). Band evaluation happens in ACCOUNTING currency BY DEFAULT (MGCCapstoneReconToleranceAmount extends AmountMST): one deterministic comparison basis, matching the trial-balance view auditors reconcile to. CurrencyBasis IS THE PER-BAND ESCAPE HATCH from that default: set it to transaction currency and THIS band's limits are read as transaction-currency figures and judged against the group's transaction-currency residual instead. It exists because some thresholds are only meaningful in the currency the transaction was struck in; a EUR 50 tolerance on EUR invoices; and forcing those through an FX conversion moves the effective threshold with the rate. The value zero is accounting currency, so every band that existed before the flag keeps exactly the meaning it had and no data migration exists to get wrong. A TRANSACTION-CURRENCY BAND CANNOT JUDGE A MIXED-CURRENCY GROUP: such a group has no single transaction currency to compare in (which is precisely why MGCCapstoneReconMatchGroupService::bandCurrencyScope answers blank for one). The resolver REFUSES to apply the band there rather than comparing incomparable numbers, and the residual escalates to a human; see MGCCapstoneReconDispositionProcessor::resolveBandForGroup. Resolution is deterministic (B12): most specific class first; category + currency beats category alone beats currency alone beats the blank catch-all; then BandOrder ascending, then record id. Blank category means all classes; blank currency means all currencies. The resolution itself lives in MGCCapstoneReconDispositionProcessor::resolveBand so the engine, the workbench and the processor can never disagree.

Fields​

NameTypeMandatoryDescription
MainAccountCategoryRefRefRecIdNoThe account class this band covers (B12). Blank means all classes; a class-specific band always beats the blank catch-all in resolution.
CurrencyCodeCurrencyCodeNoThe transaction currency of the groups this band covers (B12). Blank means all currencies. This selects WHICH groups the band applies to; the currency the limits are read in is the Currency basis beside it.
CurrencyBasisMGCCapstoneReconCurrencyBasisNoThe currency THIS band's limits are read in and judged against (B12, decision 1689). Accounting currency is the default: the residual is converted to the ledger's accounting currency and compared there, so every band judges on one deterministic basis and the figures tie to the trial balance. Transaction currency compares the residual as it stands in the currency the transactions were struck in, for a threshold that only means something there (a EUR 50 tolerance on EUR invoices) and that an exchange-rate conversion would otherwise move with the rate. CONSEQUENCE: a transaction-currency band CANNOT judge a match group whose legs mix transaction currencies; such a group has no single transaction currency; so the band is skipped for it and, if nothing else at its level accommodates the residual, the residual escalates to a person instead of being disposed. Bands left on accounting currency behave exactly as before.
MaxAmountMGCCapstoneReconToleranceAmountNoThe largest absolute residual this band accommodates, expressed in the band's currency basis (B12). Zero means the amount limit is unused; the band then needs a percent limit.
MaxPercentMGCCapstoneReconTolerancePercentNoThe largest residual as a percent of the group's gross matched amount, 0..100 (B12); residual and gross are both read in the band's currency basis, so the ratio is unaffected by which basis is chosen. Zero means the percent limit is unused; the band then needs an amount limit.
BandOrderintNoThe deterministic tiebreak when several bands of one specificity cover a residual: lowest order wins (B12). Resolution never guesses differently between runs.
EnabledNoYesNoOnly enabled bands resolve. Disabling is the reversible alternative to deleting a band whose history matters.