Get stock by warehouse
get_stock_by_warehouseRetrieve stock quantities by warehouse for a single item, including in-stock, committed, ordered, and available amounts, with optional warehouse filtering and zero-stock inclusion.
Instructions
In-stock, committed, ordered and available quantity per warehouse for one item (from ItemWarehouseInfoCollection).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"itemCode": "<itemCode>"
},
"name": "get_stock_by_warehouse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemCode | Yes | ItemCode (exact code, case-sensitive on HANA) | |
| includeEmpty | No | Include warehouses with zero stock (default false) | |
| warehouseCode | No | Only this warehouse (WhsCode) |