# GetWorkCenter

## Overview

GetWorkCenter returns one work center with scope, capacity, calendar context, rate assumptions, overhead policy, and lifecycle status.

## Business Rules

- Work-center reference is required.
- The query returns draft, active, or inactive work centers.
- Capacity, rate, and overhead fields are returned exactly as currently configured.

## Process Flow

```mermaid
flowchart TD
    A[Receive work-center reference] --> B[Load work-center detail]
    B --> C{Work center found?}
    C -->|No| D[Return WORK_CENTER_NOT_FOUND]
    C -->|Yes| E[Return work-center detail]
```

## External Dependencies

- None

## Error Scenarios

- **WORK_CENTER_NOT_FOUND**: Requested work center does not exist.

## Test Cases

- returns a work center when found
- returns inactive work centers when requested
- returns error when the work center does not exist
