OVIRO LogoOVIRO
WMS - InventoryLịch sử nhập/xuất theo Serial/IMEI

ProductReceiptDetailSerial Object Schema

Đối tượng đại diện cho lịch sử nhập/xuất kho của một Serial/IMEI

JSON Schema

Trường (Field)Kiểu (Type)Mô tả (Description)
idintID bản ghi (primary key)
company_idintID công ty
creator_idintID người tạo
product_receipt_idintID phiếu nhập/xuất kho
product_receipt_detail_idintID chi tiết phiếu nhập/xuất kho
product_idintID sản phẩm
product_variant_idintID biến thể sản phẩm
warehouse_idintID kho
directionintHướng nhập/xuất (Xem constant DIRECTION_*)
quantityintSố lượng
quantity_signedintSố lượng có dấu (âm nếu xuất, dương nếu nhập)
serial_codestringMã Serial/IMEI
match_statusintTrạng thái đối soát (Xem constant MATCH_STATUS_*)
match_origin_idintID bản ghi gốc để đối soát
statusintTrạng thái (Xem constant STATUS_*)
notestringGhi chú
ip_addressstringĐịa chỉ IP thực hiện thao tác
date_createdintNgày tạo (Unix timestamp)
date_modifiedintNgày cập nhật (Unix timestamp)
date_match_checkedintNgày kiểm tra đối soát (Unix timestamp)

Ví dụ JSON object

{
    "id": 1,
    "company_id": 100,
    "creator_id": 5,
    "product_receipt_id": 200,
    "product_receipt_detail_id": 300,
    "product_id": 50,
    "product_variant_id": 75,
    "warehouse_id": 1,
    "direction": 3,
    "quantity": 1,
    "quantity_signed": 1,
    "serial_code": "IMEI-352789104562831",
    "match_status": 1,
    "match_origin_id": 0,
    "status": 1,
    "note": "Nhập kho từ đơn mua hàng PO-2024-001",
    "ip_address": "192.168.1.100",
    "date_created": 1717200000,
    "date_modified": 1717200000,
    "date_match_checked": 0
}

On this page