Skip to content

End-Line Daily Summary

  • Dataset Name: EndLineDailySummary
  • Description: Stores daily production inspection summaries at the end-line, capturing inspected quantities, cleared counts, rework, and rejections, grouped by order, size, color, style, line, branch, factory, section, and hourly time slot.
  • Owner/Maintainer: Manufacturing Reports Team / Production Analytics
  • Database: SooperWizer
  • Server: T3600-SERVERPC\DEV2019
  • Schema: Reports
Column NameData TypeConstraintsDescription
EndLineDailySummaryIDINTPRIMARY KEY, IDENTITY(1,1)Unique daily summary record ID
WorkOrderCodeVARCHAR(100)NOT NULLOrder identifier
PurchaseOrderCodeVARCHAR(100)NOT NULLPurchase order number
ColorIDINTNOT NULLProduct color ID
ColorCodeNVARCHAR(128)NOT NULLProduct color code
ColorNameNVARCHAR(128)NULLColor description
SizeIDINTNOT NULLProduct size ID
SizeCodeNVARCHAR(128)NOT NULLProduct size code
SizeNameNVARCHAR(128)NOT NULLProduct size description
StyleIDINTNOT NULLStyle ID
StyleNameVARCHAR(64)NULLStyle name
LineIDINTNOT NULLProduction line ID
LineCodeNVARCHAR(128)NULLLine code
LineNameNVARCHAR(128)NULLLine name
SectionIDINTNOT NULLSection ID
SectionCodeNVARCHAR(128)NULLSection code
SectionNameNVARCHAR(128)NULLSection name
FactoryIDINTNOT NULLCompany/factory ID
FactoryCodeNVARCHAR(128)NULLCompany/factory code
FactoryNameNVARCHAR(128)NULLCompany/factory name
BranchIDINTNOT NULLBranch ID
BranchCodeNVARCHAR(128)NULLBranch code
BranchNameNVARCHAR(128)NULLBranch name
CustomerCodeNVARCHAR(256)NULLCustomer code
CustomerNameNVARCHAR(256)NULLCustomer name
BuyMonthVARCHAR(128)NULLBuying month
InspectedQuantityINTNULLTotal inspected quantity
FirstTimeClearQuantityINTNULLQuantity cleared on first inspection
ClearAfterReworkQuantityINTNULLQuantity cleared after rework
AtReworkQuantityINTNULLQuantity currently at rework
AtRejectionQuantityINTNULLQuantity rejected after inspection
InspectionDateDATENULLDate of inspection
HourSlotINTNULLHour slot (e.g., 6, 14, 23)
  • Foreign Keys:
    • None
  • Referenced By:
    • Quality defect analysis reports
    • Worker performance analysis
    • Machine performance tracking
    • Operation efficiency reports
  • Primary Key: EndLineDailySummaryID
  • Unique Constraint: UQ_EndLineDailySummary (InspectionDate, HourSlot, WorkOrderCode, StyleID, BuyMonth, CustomerCode, PurchaseOrderCode, ColorID, SizeID, FactoryID, BranchID, LineID, SectionID)
  • Performance Indexes:
    • PK_EndLineDailySummary (Clustered)
    • UQ_EndLineDailySummary (Unique, Non-Clustered)
  • Unique Identifiers: EndLineDailySummaryID (Primary Key)
  • Grouping Logic: Aggregated by order, style, color, size, customer, line, branch, factory, section, and hourly time slots
  • Retention Policy: 3 years for detailed fault analysis, 7 years total for quality compliance
  • Deletion Triggers: Automated quarterly archival process
  • Archival Process: Move to EndLineDailySummary_Archive after 3 years
  • Compliance Requirements: Quality management system requirements (ISO 9001, customer audits)
  • Column-wise Insertion Rules:
    • EndLineDailySummaryID: Auto-generated (IDENTITY, PRIMARY KEY)
    • WorkOrderCode, PurchaseOrderCode, BuyMonth, InspectionDate, HourSlot, color fields, size fields, style fields, line fields, section fields, factory fields, branch fields, customer fields: Required grouping and descriptive keys, populated from master data joins.
    • InspectedQuantity, FirstTimeClearQuantity, ClearAfterReworkQuantity, AtReworkQuantity, AtRejectionQuantity: Aggregated counts per date and hour slot.
    • Descriptive fields (e.g. LineName, BranchName): Populated from master tables via joins in the procedure.
    • Insertion Procedures: usp_InsertEndLineDailySummary
    • Modification Scripts: Only quantity 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 EndLineDailySummary - Every 7 Minutes
    • Purpose: Aggregate end line quality inspection data into daily summaries
    • Data Sources: Quality.EndLineSession
    • Transformation: Hourly aggregation with quantity calculations
    • Error Handling: Failed aggregations logged with retry mechanism
  • InspectedQuantity: Count of all pieces, grouped per date and hour slot.
  • FirstTimeClearQuantity: Count of pieces which are cleared on the first scan, grouped per date and hour slot.
  • ClearAfterReworkQuantity: Count of pieces which are cleared after rework, grouped per date and hour slot.
  • AtReworkQuantity: Count of pieces which are at rework, grouped per date and hour slot.
  • AtRejectionQuantity: Count of pieces which are rejected, grouped per date and hour slot.
  • First Time Yield (FTY): FirstTimeClearQuantity / InspectedQuantity * 100
  • Rework Rate: AtReworkQuantity / InspectedQuantity * 100
  • Rejection Rate: AtRejectionQuantity / InspectedQuantity * 100
  • Overall Pass Rate: (FirstTimeClearQuantity + ClearAfterReworkQuantity) / InspectedQuantity * 100
  • Primary Source: Quality.EndLineSession (raw quality inspection data)
  • Master Data Sources:
    • Essentials.Line (Line details)
    • Essentials.Section (Section details)
    • Essentials.Customer (Customer details)
    • Essentials.Color (Color details)
    • Essentials.Size (Size details)
    • Essentials.Branch (Branch details)
    • Essentials.Factory (Factory details)
    • Orders.PurchaseOrder (Purchase Order details)
    • Orders.WorkOrder (Work Order details)
    • Orders.Style (Style details)
  • Views Using This Dataset:
    • None
  • Reports:
    • To be added later