Giao diện
order_fulfillment
Trang sinh tự động
Sinh từ ad83b0aea — chạy 820 migration lên PostgreSQL 17 rồi đọc pg_catalog. Không sửa tay: lần chạy docgen sau sẽ ghi đè.
Order and fulfillment
| Bảng | 21 |
| Cột | 401 |
| Khoá ngoại trong domain | 28 |
| Khoá ngoại ra ngoài domain | 48 |
| RLS policy | 20 |
| Trigger | 81 |
| Chủ RLS | P2-11 |
Nhóm con
Chia tự động theo tiền tố tên bảng (chuẩn hoá số nhiều); nhóm chỉ một bảng dồn vào khác. Bảng mới thêm tự rơi đúng nhóm.
| Nhóm | Bảng | |
|---|---|---|
| order | 14 | order_activity_cutover, order_activity_log, order_close_outcomes, order_cycle_lines, order_cycles, order_first_paid_cycles, order_lines, order_period_final_prices, order_periods, order_quotes, order_remaining_methods, order_return_cases, order_state_events, orders |
| shipment | 3 | shipment_link_resolutions, shipment_order_links, shipments |
| fulfillment | 2 | fulfillment_events, fulfillment_exceptions |
| stock | 2 | stock_shortage_case_orders, stock_shortage_cases |
Sơ đồ
Đang nạp sơ đồ…
Bảng được tham chiếu nhiều nhất trong domain
| Bảng | Cột | Được trỏ tới | Trỏ ra | RLS |
|---|---|---|---|---|
orders | 65 | 41 | 11 | ✓ |
order_cycles | 14 | 9 | 3 | ✓ |
shipments | 46 | 8 | 5 | ✓ |
order_periods | 15 | 4 | 3 | ✓ |
stock_shortage_cases | 14 | 4 | 3 | ✓ |
order_close_outcomes | 26 | 2 | 4 | ✓ |
order_lines | 18 | 2 | 3 | ✓ |
order_quotes | 32 | 2 | 6 | ✓ |
shipment_order_links | 9 | 2 | 3 | ✓ |
fulfillment_events | 20 | 1 | 4 | ✓ |
fulfillment_exceptions | 17 | 0 | 4 | ✓ |
order_activity_cutover | 3 | 0 | 0 | ✓ |