diff --git a/src/app/api/do/actions.tsx b/src/app/api/do/actions.tsx index 56cc069..36f7853 100644 --- a/src/app/api/do/actions.tsx +++ b/src/app/api/do/actions.tsx @@ -40,6 +40,10 @@ export interface DoDetailLine { uomCode?: string; uom?: string; shortUom?: string; + /** AVAILABLE lot lines: sum(in - out - hold), same unit as DO line qty. */ + stockQty?: number; + /** `available` | `insufficient` */ + availableStatus?: string; } export interface DoSearchAll { diff --git a/src/app/api/do/index.tsx b/src/app/api/do/index.tsx index 80b5569..de5b8fb 100644 --- a/src/app/api/do/index.tsx +++ b/src/app/api/do/index.tsx @@ -38,6 +38,8 @@ export interface DoDetailLine { uomCode?: string; uom?: string; shortUom?: string; + stockQty?: number; + availableStatus?: string; }