# ListValuationPolicies

## Overview

ListValuationPolicies lists all valuation policies, optionally filtered by costing method. It supports policy browsing for configuration management and item assignment.

## Business Rules

- Optionally accepts `costingMethod` — filter by costing method
- Returns a list of ValuationPolicy records
- Returns an empty list if no matching records exist

## Process Flow

```mermaid
flowchart TD
    A[Receive optional costingMethod filter] --> B{costingMethod provided?}
    B -->|Yes| C[SELECT from ValuationPolicy where costingMethod matches]
    B -->|No| D[SELECT all from ValuationPolicy]
    C --> E{Records found?}
    D --> E
    E -->|Yes| F[Return list of ValuationPolicy records]
    E -->|No| G[Return empty list]
```

## External Dependencies

- None

## Error Scenarios

- Returns empty list if no matching records exist

## Test Cases

- lists all valuation policies
- filters by costing method
- returns empty list when no matches
