Skip to content

Org Performance And Compliance — Business Rules

Tổng quan

Domain này gom phần còn lại của report không thuộc các families trên:

  • staff
  • rank theo branch / department
  • violation
  • audit

Đây là nhóm báo cáo thiên về năng lực tổ chức, compliance và performance ở cấp đơn vị.

Scope nghiệp vụ

NhómVai tròVí dụ page
StaffDanh sách và trạng thái nhân sựStaffReport.tsx
RankXếp hạng branch / department theo các metricRankReport.tsx
ViolationThống kê vi phạm theo khối văn phòng / chi nhánhViolationReport.tsx
AuditPlaceholder cho audit reportingAuditReport.tsx

Quy tắc nghiệp vụ

Quy tắc
BR-ROC-001rank không thuần customer analytics; branch/department tabs phản ánh performance ở cấp tổ chức.
BR-ROC-002staff là org-level listing/reporting, không phải report tài chính.
BR-ROC-003violation là compliance reporting riêng, không nên nhét chung vào call-center hay sales.
BR-ROC-004audit hiện chưa có implementation thật, nên chỉ được tính là placeholder coverage.

Boundary

BoundaryGhi chú
userStaff report dựa vào account/profile và điều hướng sang employee detail
ecommerceRank branch/department vẫn đọc nhiều metric từ data ecommerce
settingsViolation master data/config nằm ở settings, report chỉ là read side

Rủi ro / Findings

MứcFinding
P1audit chưa có implementation thật.
P1rank là domain lai giữa customer, performance và org reporting; naming hiện tại dễ gây hiểu sai.
P2Một số environment cũ có thể còn mang legacy logic của report_branch trước khi fix debt formula.