Đơn Đặt Hàng NCC KiotViet icon

Đơn Đặt Hàng NCC KiotViet

Quản lý đơn đặt hàng nhà cung cấp từ KiotViet

Lấy Danh Sách

AI-generated

Overview

This node interacts with the KiotViet API to manage supplier order data. Specifically, for the 'Lấy Danh Sách' (Get All) operation, it retrieves a list of supplier orders from KiotViet. It supports filtering the list by search term, order status, and branch ID, and allows users to either fetch all results or limit the number of results returned. This is useful for scenarios where users need to analyze or process multiple supplier orders, such as generating reports or syncing order data with other systems.

Use Case Examples

  1. Fetch all supplier orders with status 'Approved' to review recent approved orders.
  2. Retrieve a limited number of supplier orders filtered by a specific branch ID for branch-level order management.

Properties

Name Meaning
Lấy Toàn Bộ Whether to return all results or only up to a given limit (boolean). Used to control if the node fetches all supplier orders or limits the number of results.
Giới Hạn Maximum number of results to return when not returning all. Defines the limit on the number of supplier orders fetched (number).
Bộ Lọc Filters to narrow down the list of supplier orders. Includes search term (to search by order code or notes), status (order status filter), and branch ID (filter by branch).

Output

JSON

  • orderSupplierId - The unique ID of the supplier order.
  • orderCode - The code or identifier of the supplier order.
  • status - The current status of the supplier order.
  • branchId - The branch ID associated with the supplier order.
  • otherProperties - Additional properties of each supplier order as returned by the KiotViet API.

Dependencies

  • KiotViet API accessed via an API key credential

Troubleshooting

  • Common issues include API authentication failures due to invalid or missing credentials. Ensure the KiotViet API credential is correctly configured.
  • If the node returns no data, verify that the filters are correctly set and that there are matching supplier orders in the KiotViet system.
  • Errors during execution may occur if the API rate limit is exceeded or if network connectivity issues arise. Retrying after some time or checking network status can help resolve these.

Links

  • KiotViet API Documentation - Official API documentation for KiotViet, useful for understanding available endpoints and data structures.

Discussion