# inboundShipmentOpenQuantities

## Overview

BFF (backend-for-frontend) resolver — a read endpoint shaped for the inbound-shipment list screen and its CSV export rather than a plain module command. Given a set of inbound-shipment ids, it returns each one's open (remaining) quantity, applying the same draft-vs-posted handling as the detail screen so the list stays consistent. The aggregation is computed inline in the resolver over `InboundShipment` / `InboundShipmentLine` / `PurchaseOrderLine`.

## Modules Commands Used

- (none) — read-only aggregation over `InboundShipment` / `InboundShipmentLine`; it issues no module command.

## Exception Handling

| Error Code | Description |
| --- | --- |
| INSUFFICIENT_PERMISSION | The caller does not have permission to perform this operation |
