upsert_stock_count
Create or update inventory stock counts, but this legacy immediate write bypasses safe-write controls; use set_stock_count instead for safer updates.
Instructions
[LEGACY IMMEDIATE WRITE — HIGH RISK: BYPASSES INFLOW_ENABLE_SAFE_WRITES] Use set_stock_count instead. Create or update a stock count for inventory counting
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Stock count ID (required for updates) | |
| remarks | No | ||
| countDate | No | Count date (ISO format) | |
| timestamp | No | ||
| locationId | Yes | Location ID |