Chuyển Kho KiotViet icon

Chuyển Kho KiotViet

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

Cập Nhật

AI-generated

Overview

This node manages inventory transfers in the KiotViet system, specifically allowing users to update existing transfer records. It is useful for scenarios where inventory movement details between branches need to be modified, such as correcting quantities, changing branch information, or updating product details within a transfer. For example, a warehouse manager can update a transfer record to reflect received quantities or adjust product prices after the initial transfer creation.

Use Case Examples

  1. Updating the 'from' and 'to' branch IDs of a transfer record.
  2. Modifying the list of products being transferred, including their quantities and prices.
  3. Changing the transfer code or description to better reflect the transfer details.

Properties

Name Meaning
ID Phiếu Chuyển The unique identifier of the transfer record to update.
Chi Nhánh Gửi ID of the branch sending the goods.
Chi Nhánh Nhận ID of the branch receiving the goods.
Mã Phiếu Chuyển The code of the transfer record; if left empty, it is auto-generated.
Mô Tả Description of the transfer record.
Là Bản Nháp Boolean flag indicating whether the transfer is saved as a draft.
Chi Tiết Sản Phẩm A collection of product details involved in the transfer, including product ID, product code, quantities sent and received, and price.

Output

JSON

  • success - Indicates if the update operation was successful.
  • message - Message confirming the result of the operation, e.g., success message.
  • data - The updated transfer record data returned from the API.

Dependencies

  • Requires KiotViet API credentials for authentication.

Troubleshooting

  • Common errors include invalid or missing transfer ID, which will prevent the update operation from succeeding.
  • Errors may occur if required fields like branch IDs or product details are missing or invalid.
  • API authentication failures due to incorrect or missing credentials will block the operation.

Discussion