Chuyển Kho KiotViet icon

Chuyển Kho KiotViet

Quản lý chuyển kho và tồn kho từ KiotViet

Tạo Mới

AI-generated

Overview

This node manages inventory transfers in the KiotViet system, specifically allowing users to create new transfer records between branches. It is useful for businesses that need to track and manage stock movements across multiple locations. For example, a retail chain can use this node to create a transfer order from one store branch to another, specifying product details and quantities.

Use Case Examples

  1. Creating a new transfer order from branch A to branch B with a list of products and quantities to be sent.
  2. Creating a draft transfer order to review before finalizing the stock movement.

Properties

Name Meaning
Chi Nhánh Gửi ID of the branch sending the stock, required for creating a transfer.
Chi Nhánh Nhận ID of the branch receiving the stock, required for creating a transfer.
Mã Phiếu Chuyển Transfer code, optional; if left empty, it will be generated automatically.
Mô Tả Description of the transfer order, optional.
Là Bản Nháp Boolean flag indicating whether the transfer is created as a draft.
Chi Tiết Sản Phẩm List of products included in the transfer, each with product ID, product code, quantity sent, quantity received (optional), and price.

Output

JSON

  • id - Unique identifier of the created transfer record.
  • fromBranchId - ID of the branch sending the stock.
  • toBranchId - ID of the branch receiving the stock.
  • code - Transfer code, either user-defined or auto-generated.
  • description - Description of the transfer order.
  • isDraft - Indicates if the transfer is a draft.
  • transferDetails - Array of product details included in the transfer, each containing productId, productCode, sendQuantity, receivedQuantity, and price.

Dependencies

  • KiotViet API with authentication credentials

Troubleshooting

  • Ensure all required fields like fromBranchId, toBranchId, and product details are provided to avoid validation errors.
  • If the API returns an error, check the API credentials and network connectivity.
  • If the transfer code is left empty, the system auto-generates it; conflicts or duplicates might cause errors.

Links

Discussion