ABN Demand Planning
| Báo cáo | quản lý dữ liệu (readiness & chất lượng) |
| Dùng để | Đảm bảo mọi dữ liệu liên quan đã được lấy, chuẩn hóa và kiểm định sẵn sàng trước khi pipeline chạy — cổng kiểm soát đầu vào của toàn hệ thống. |
| Câu hỏi trả lời | DM |
| Tạo lúc | 2026-11-19 23:56 |
| Dữ liệu đến ngày | 2026-11-19 |
| Nguồn | Chế độ | Connector | Rows ước tính | Dung lượng | Thời gian nạp ~ | Ghi chú |
|---|---|---|---|---|---|---|
| actual_sales | file | file | 68,050 | 3.4 MB | 0s | incremental từ 2026-11-19 |
| sales_targets | file | file | 117 | 3.1 KB | 0s | — |
| inventory | file | file | 144 | 5.6 KB | 0s | — |
| leadtime | file | file | 36 | 1.3 KB | 0s | — |
| sku_metadata | file | file | 36 | 1.5 KB | 0s | — |
| sales_history | file | file | 3,672 | 182.6 KB | 0s | incremental từ 2026-11-01 |
| chat_messages | file | file | không rõ | — | — | thiếu file |
| crm_interactions | file | file | không rõ | — | — | thiếu file |
| customer_purchases | file | file | không rõ | — | — | thiếu file |
m0 --full (hoặc ABN_FULL_RELOAD=1). Watermark lưu tại data/{company}/state/master_watermarks.json.| Thực thể | Chính sách | Chi tiết |
|---|---|---|
| sales_transactions | incremental | upsert theo khóa ['date', 'sku_id', 'channel'] · watermark date · hiện tại: 2026-11-19 · overlap 3 ngày |
| sales_history_monthly | incremental | upsert theo khóa ['sku_id', 'channel', 'date'] · watermark date · hiện tại: 2026-11-01 · overlap 3 ngày |
| Nguồn | Chế độ | API | File | Dùng |
|---|---|---|---|---|
| actual_sales | file | — | 68,050 dòng 15.0h trước | file |
| sales_targets | file | — | 117 dòng 15.0h trước | file |
| inventory | file | — | 144 dòng 15.0h trước | file |
| leadtime | file | — | 36 dòng 15.0h trước | file |
| sku_metadata | file | — | 36 dòng 15.0h trước | file |
| sales_history | file | — | 3,672 dòng 15.0h trước | file |
| chat_messages | file | — | không có | none |
| crm_interactions | file | — | không có | none |
| customer_purchases | file | — | không có | none |
| Thực thể | Vai trò | Số dòng | Tối thiểu | Nguồn | Trạng thái | Ghi chú |
|---|---|---|---|---|---|---|
| sales_transactions | required | 68,050 | 30 | actual_sales | OK | — |
| sales_history_monthly | required | 3,672 | 12 | sales_history | OK | — |
| inventory_snapshots | required | 144 | 1 | inventory | OK | — |
| leadtime_moq | required | 36 | 1 | leadtime | OK | — |
| sku_catalog | required | 36 | 1 | sku_metadata | OK | — |
| sales_targets | required | 117 | 1 | sales_targets | OK | — |
| customer_profiles | optional | 0 | 1 | customer_profiles | Ngoài phạm vi | không có dữ liệu (tùy chọn — ngoài phạm vi triển khai) |
| customer_matched_products | optional | 0 | 1 | customer_matched_products | Ngoài phạm vi | không có dữ liệu (tùy chọn — ngoài phạm vi triển khai) |
| crm_interactions | optional | 0 | 1 | crm_interactions | Ngoài phạm vi | không có dữ liệu (tùy chọn — ngoài phạm vi triển khai) |
| customer_segments | optional | 0 | 1 | — | Ngoài phạm vi | không có dữ liệu (tùy chọn — ngoài phạm vi triển khai) |
| customer_criteria_tags | optional | 0 | 1 | — | Ngoài phạm vi | không có dữ liệu (tùy chọn — ngoài phạm vi triển khai) |
| customer_purchases | optional | 0 | 1 | customer_purchases | Ngoài phạm vi | không có dữ liệu (tùy chọn — ngoài phạm vi triển khai) |
| purchase_segments | optional | 0 | 1 | — | Ngoài phạm vi | không có dữ liệu (tùy chọn — ngoài phạm vi triển khai) |
| campaign_recommendations | optional | 0 | 1 | — | Ngoài phạm vi | không có dữ liệu (tùy chọn — ngoài phạm vi triển khai) |
| product_affinity | optional | 0 | 1 | — | Ngoài phạm vi | không có dữ liệu (tùy chọn — ngoài phạm vi triển khai) |