Skip to main content

MGCCapstoneCloseGateTaskLink

Side-table linking a close gate definition to native close template and schedule tasks (E2): the Magicite-wide suite rule forbids new fields on standard tables, so the gate-to-task linkage lives here and the native LedgerPeriodClose tables stay untouched. Written only by MGCCapstoneCloseGateTaskBridge; the one sealed class touching the native task surface (D-CAP-E2). TemplateRecId/TemplateTaskRecId are stamped when the bridge inserts the shipped gate task into a template. CloseProjectRecId/ProjectTaskRecId stay 0 on the row: a template is published into a new schedule every period, so findByProjectTask() resolves each schedule task to this row through the native project-task-to-template-task relation instead.

Fields​

NameTypeMandatoryDescription
GateDefinitionRefRecIdYes
TemplateRecIdRefRecIdNoThe native financial close template the gate task was inserted into (E2).
TemplateTaskRecIdRefRecIdNoThe shipped gate task row the bridge created in the native template. Its placement and dependencies stay editable natively afterward (E2).
CloseProjectRecIdRefRecIdNoThe native closing schedule instantiated from the template; 0 until the schedule exists and the bridge binds it (E2).
ProjectTaskRecIdRefRecIdNoThe native schedule task the gate lives as; 0 until the schedule is instantiated. The evaluator targets it, the bridge completes it on green, and the verdict-at-completion stamp records how it was completed (E15).
GateModeMGCCapstoneCloseGateModeNoThe effective mode for this schedule (E4): Advisory; a human completes the gate task when the page shows green; Enforced; the gate task cannot be completed, on any surface, unless the latest evaluation for this task (else for the gate on this schedule) is Green, judged at least one condition and skipped none.