Skip to content

End-Line Daily Fault Summary

  • Dataset Name: EndLineDailyFaultSummary
  • Description: This table stores the daily summarized faults identified at the end-line inspection process. It consolidates fault details (style, size, line, section, worker, operation, machine) into a single record with a fault count. FaultCount holds the total occurrences for each unique combination.
  • Owner/Maintainer: Manufacturing Reports Team / Production Analytics
  • Database: SooperWizer
  • Server: T3600-SERVERPC\DEV2019
  • Schema: Reports
Column NameData TypeConstraintsDescription
FaultSummaryIDINTPRIMARY KEY, IDENTITY(1,1)Unique summary record identifier
FaultIDINTNOT NULLFault/defect identifier
FaultCodeVARCHAR(64)NOT NULLFault code
FaultNameVARCHAR(256)NOT NULLFault description
FaultCountINTDEFAULT(0)Number of faults found
ColorIDINTNOT NULLColor identifier
ColorCodeVARCHAR(50)NOT NULLColor code for the product
ColorNameVARCHAR(100)NULLColor description
SizeIDINTNOT NULLProduct size identifier
SizeCodeVARCHAR(50)NOT NULLProduct size code
SizeNameVARCHAR(100)NULLProduct size description
StyleIDINTNOT NULLStyle identifier
StyleNameVARCHAR(100)NULLStyle name
WorkOrderCodeVARCHAR(64)NOT NULLOrder identifier
PurchaseOrderCodeVARCHAR(50)NOT NULLPurchase order number
OperationIDINTNULLOperation identifier
OperationCodeVARCHAR(64)NULLOperation code
OperationNameVARCHAR(128)NULLOperation description
MachineIDINTNULLMachine identifier
MachineCodeVARCHAR(50)NULLMachine code
MachineNameVARCHAR(128)NULLMachine description
WorkerIDINTNULLWorker identifier
WorkerCodeVARCHAR(50)NULLWorker code
WorkerNameVARCHAR(128)NULLWorker description
LineIDINTNOT NULLProduction line identifier
LineCodeVARCHAR(50)NULLLine code
LineNameVARCHAR(50)NULLLine description
SectionIDINTNOT NULLSection identifier
SectionCodeVARCHAR(50)NULLSection code
SectionNameVARCHAR(50)NULLSection description
FactoryIDINTNOT NULLCompany/factory identifier
FactoryCodeVARCHAR(50)NULLCompany/factory code
FactoryNameVARCHAR(100)NULLCompany/factory name
BranchIDINTNOT NULLBranch identifier
BranchCodeVARCHAR(50)NULLBranch code
BranchNameVARCHAR(100)NULLBranch name
InspectionDateDATENULLDate of inspection
  • Foreign Keys:
    • No Foreign Key
  • Referenced By:
    • Quality reporting views
    • Manufacturing dashboard queries
    • Performance KPI calculations
  • Primary Key: FaultSummaryID
  • Unique Constraint: UQ_EndLineDailyFaultSummary (InspectionDate, WorkOrderCode, PurchaseOrderCode, ColorID, SizeID, FaultID, FactoryID, BranchID, LineID, SectionID, WorkerID, OperationID, MachineID)
  • Performance Indexes:
    • PK_EndLineDailyFaultSummary (Clustered)
    • UQ_EndLineDailyFaultSummary (Unique, Non-Clustered)
  • Unique Identifiers: FaultSummaryID (Primary Key)
  • Grouping Logic: Aggregated by order, color, size, line, section, branch, factory, fault, worker, operation, machine
  • Partitioning Strategy: Monthly partitioning by InspectionDate for performance
  • Retention Policy: 2 years for active reporting, 5 years for compliance
  • Deletion Triggers: Automated monthly archival process
  • Archival Process: Move to EndLineDailySummary_Archive after 2 years
  • Compliance Requirements: Manufacturing quality audit requirements (5 years retention)
  • Column-wise Insertion Rules:
    • FaultSummaryID: Auto-generated (IDENTITY)
    • All grouping keys required: WorkOrderCode, PurchaseOrderCode, InspectionDate, fault fields, color fields, size fields, line fields, section fields, factory fields, branch fields
    • FaultCount: Defaults to 0, incremented via aggregation
    • Worker/Operation/Machine fields: Optional, populated when available
    • Descriptive fields: Populated from master data joins
  • Insertion Procedures: usp_InsertEndLineDailyFaultSummary
  • Modification Scripts: Only FaultCount updates allowed via processing procedures
  • Job: EndLine Quality Reports
    • Purpose: Generate daily/hourly quality reports
    • Frequency: On-demand and scheduled
    • Output: Quality dashboards, management reports
  • Job: Update EndLineDailyFaultSummary - Every 7 Minutes
    • Purpose: Aggregate fault log data into daily fault summaries
    • Data Sources: Quality.EndLineFaultLog
    • Transformation: Fault aggregation with worker/operation/machine attribution
    • Error Handling: Failed aggregations logged with data validation alerts
  • Critical Faults: Customer-visible defects requiring immediate action
  • Major Faults: Quality issues affecting functionality
  • Minor Faults: Cosmetic issues with minimal impact
  • Rework Faults: Issues that can be corrected through rework
  • FaultCount: SUM(FaultCount) from Quality.EndLineFaultLog grouped by all dimensions
  • Unique Constraint Handling: If same fault combination exists → increment FaultCount, else insert new record
  • Worker Attribution: Links faults to specific workers for performance tracking
  • Machine Attribution: Links faults to specific machines for performance tracking
  • Operation Tracking: Associates faults with specific operations for process improvement
  • Primary Source: Quality.EndLineFaultLog
  • Master Data Sources:
    • Essentials.Fault (Fault details)
    • Essentials.Line (Line details)
    • Essentials.Section (Section details)
    • Essentials.Color (Color details)
    • Essentials.Size (Size details)
    • Essentials.Branch (Branch details)
    • Essentials.Factory (Factory details)
    • Essentials.Operation (Operation details)
    • Essentials.Machine (Machine details)
    • Essentials.Worker (Worker details)
    • Orders.PurchaseOrder (Purchase Order details)
    • Orders.WorkOrder (Work Order details)
  • Views Using This Dataset:
    • None
  • Reports:
    • To be added later