Skip to main content

MGCCapstoneReconAgingProfileBucket

Configurable bucket band per aging profile (D1): a data row, deliberately not an enum, because bands are site-configurable and bucket identity across the year-end boundary is a property of the ASSIGNMENT logic (the same age lands in the same band whichever side of the close it is aged on, D-CAP-D7), never of these rows. Sequence orders the bands and becomes the column order on aging surfaces; ToDays 0 marks the open-ended oldest band. validateWrite enforces per-row sanity and non-overlap against sibling rows. Full contiguity of the band SET (no day gaps, exactly one open-ended final band) is deliberately enforced at run start by MGCCapstoneReconAgingEngine::loadBuckets instead; validating the whole set on every row write would refuse legitimate intermediate states while a controller reshapes bands one row at a time.

Fields​

NameTypeMandatoryDescription
ProfileRefRecIdYes
SequenceintYesOrders the bands youngest to oldest; becomes the column order on aging surfaces.
BucketNamestrYesThe band caption as it reads on the aging inquiry and the specification statement.
FromDaysintNoThe band's lower bound: the youngest age in days this band covers.
ToDaysintNoThe band's upper bound: the oldest age in days this band covers. 0 marks the open-ended oldest band; a profile has exactly one.
IsShippedNoYesNoYes when this band was seeded by the product at profile creation. Shipped bands are editable and deletable like any other; deleting one never resurrects it.