lot_create
Create a lot for a lot-tracked item, assigning a unique number and optional expiry or manufactured dates, notes, and status.
Instructions
Create a lot (a batch) against a lot-tracked item. number is 1-60 chars, unique per item case-insensitively (lot_number_taken); the item must be lot-tracked (else tracking_not_applicable). Optional expiryDate, manufacturedDate, supplierReference, notes and an initial status (default open). No quantity column: on-hand is always derived from movements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| itemId | Yes | ||
| number | Yes | ||
| status | No | ||
| expiryDate | No | ||
| workspaceId | Yes | ||
| idempotencyKey | Yes | ||
| manufacturedDate | No | ||
| supplierReference | No |