Lấy Tồn Kho
AI-generatedOverview
This node operation "Lấy Tồn Kho" (Get Inventory Levels) retrieves inventory information of products from the KiotViet system. It allows filtering inventory data by branch IDs, product codes, update date range, sorting order, page size, and starting item index. This operation is useful for scenarios where users need to monitor or analyze stock levels across different branches or products, such as inventory management, stock auditing, or supply chain tracking.
Use Case Examples
- A retail manager wants to get the current stock levels of specific products across multiple branches to plan restocking.
- An inventory analyst needs to retrieve inventory updates within a certain date range to analyze stock movement trends.
Properties
| Name | Meaning |
|---|---|
| Bộ Lọc Tồn Kho | Collection of filters to specify criteria for retrieving inventory levels. |
Output
JSON
branchId- ID of the branch for the inventory record.productCode- Code of the product in inventory.onHand- Quantity of product currently in stock.cost- Cost value of the inventory.lastModified- Timestamp of the last inventory update.
Dependencies
- KiotViet API with authentication
Troubleshooting
- Ensure the branch IDs and product codes are correctly formatted and exist in the system to avoid empty results.
- If the API returns errors, check the API credentials and network connectivity.
- Pagination parameters like pageSize and currentItem should be within valid ranges to avoid request failures.
Links
- KiotViet API Documentation - Official API documentation for KiotViet platform, useful for understanding inventory endpoints and parameters.