goal:customer-route-balance CLI CommandThe goal:customer-route-balance Artisan command provides terminal reporting, scenario management, and an end-to-end automated test suite against real company data in goal-data-db.
php artisan goal:customer-route-balance {verb?}
{--c|company=8}
{--sales-team=}
{--group=}
{--route=}
{--portfolio=}
{--scenario=}
{--target-capacity=40}
{--json}
| Verb | Description |
|---|---|
route-balance |
Runs ReportRouteCustomerWorkloadBalanceAction and prints L4 route balance summary. |
seller-workload |
Runs ReportPortfolioSellerWorkloadAction across portfolios and sellers. |
customers |
Queries ListSalesTeamCustomersAction from v_sales_team_customers. |
scenarios |
Lists RouteRebalanceScenario records for the company/team. |
approve-scenario |
Approves and applies a scenario (--scenario=<id>). |
test |
Runs full automated verification suite (reports, draft-only polygon isolation, scenario creation, rejection, and cleanup). |
docker exec -i goal-api-dev php artisan goal:customer-route-balance test --company=8
docker exec -i goal-api-dev php artisan goal:customer-route-balance route-balance --company=8 --json