Auto-Replenishment Management Source Code