# outbound-shipment-create-form

## Overview

Creates an outbound shipment (出庫) in DRAFT status against a confirmed sales order. The Inventory Manager selects a sales order and an issue-from storage location; the form shows a read-only preview of the order's open lines (ordered − shipped). Submitting invokes the [createOutboundShipment](../resolver/createOutboundShipment.md) resolver — every open line is issued from the chosen location.

## Screen Type

Form

### Form Details

#### Input Fields

| Field Name | Field Type | Required (Yes/No) | Options / Lookup |
| --- | --- | --- | --- |
| Sales Order | Select | Yes | Sales orders with `orderStatus=CONFIRMED` and an open `fulfillmentStatus` |
| Issue From | Combobox | Yes | StorageLocation lookup |
| Issue Date | date | Yes | Defaults to today |

**Open-lines preview (read-only, populated on Sales Order selection):**

| Field Name | Field Type | Required (Yes/No) | Options / Lookup | Description |
| --- | --- | --- | --- | --- |
| Item | text (read-only) | — | — | Item name from the sales order line |
| Ordered | number (read-only) | — | — | Sales order line ordered quantity |
| Shipped | number (read-only) | — | — | Quantity already shipped |
| Open | number (read-only) | — | — | Ordered − Shipped — the quantity that will be issued |

The preview is informational: on submit, every open line (ordered − shipped) is issued from the chosen Issue From location.

**Actions:**

- Create — submits the form
- Cancel — discards and returns to the previous screen

## Access Control

- [inventory-manager](../actor/inventory-manager.md)
