# ListWorkCentersBySite

## Overview

ListWorkCentersBySite lists work centers available at one site or facility context for capacity review, routing maintenance, or scheduling decisions.

## Business Rules

- Company and site references are required.
- Optional filters may restrict by status or work-center type.
- Results include all statuses by default.
- Results are ordered by work-center code or name.

## Process Flow

```mermaid
flowchart TD
    A[Receive site and filters] --> B[Query work centers for site]
    B --> C[Apply optional filters]
    C --> D[Order results]
    D --> E[Return work-center list]
```

## External Dependencies

- None

## Error Scenarios

- **SITE_SCOPE_REQUIRED**: Company or site reference was not provided.

## Test Cases

- lists work centers for a site
- filters work centers by status when provided
- returns an empty list when the site has no work centers
- returns error when company scope is missing
- returns error when site scope is missing
- filters work centers by work-center type and accepts name ordering
