Detachments are trained to support their regimental unit in battle. When an enemy unit declares a charge against a regimental unit, and if that regimental unit does not Flee as a charge reaction, each of its detachments that is within 3" of it, not engaged in combat and not fleeing can declare a Supporting Action.
A detachment can only attempt a single Supporting Action per turn: