Chuyển Kho KiotViet icon

Chuyển Kho KiotViet

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

Lấy Theo ID

AI-generated

Overview

This node interacts with the KiotViet API to manage warehouse transfer records. Specifically, the 'Lấy Theo ID' (Get by ID) operation retrieves a warehouse transfer record by its unique transfer ID. This is useful for scenarios where you need to fetch detailed information about a specific transfer, such as verifying transfer details or auditing inventory movements.

Use Case Examples

  1. Retrieve a warehouse transfer record by its ID to check the status and details of the transfer.
  2. Use the transfer ID to fetch the transfer data for reporting or integration with other systems.

Properties

Name Meaning
ID Phiếu Chuyển The unique identifier of the warehouse transfer record to retrieve.

Output

JSON

  • id - The unique identifier of the transfer record.
  • fromBranchId - ID of the branch sending the goods.
  • toBranchId - ID of the branch receiving the goods.
  • code - Code of the transfer record.
  • description - Description of the transfer.
  • isDraft - Indicates if the transfer is a draft.
  • transferDetails - List of products involved in the transfer, including product ID, code, quantities sent and received, and price.
  • status - Current status of the transfer.
  • createdDate - Date when the transfer was created.

Dependencies

  • KiotViet API authentication credential

Troubleshooting

  • Ensure the transfer ID provided is valid and exists in the KiotViet system to avoid 'not found' errors.
  • Check API credentials and permissions if the node fails to authenticate or access the transfer data.
  • If the node throws an unsupported operation error, verify that the operation parameter is correctly set to 'get'.

Links

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

Discussion