Comprehensive technical manual integrating system functions, operating procedures, and internal logic for Module 0, which ingests Excel logs into Access DB to build EIQ analytical tables.
TeraCalculation0_ShippingDataProcessing.vb ingests raw ShippingData.xlsx into the Access database. It categorizes shipping unit formats, executes daily aggregations, and generates master EIQ analytical tables (T200 series).
T200.TeraCalculation.accdb.ShippingData.xlsx in the working directory.Settings.xlsx configuration file.Verifies database integrity on form initialization:
| Control / Button | Functional Role |
|---|---|
| Allow Delete All Tables | Enables permission checkbox to purge existing tables before re-processing. |
| Batch Processing 1 | Executes batch routines from raw Excel ingestion to preliminary summaries. |
| EIQ Data Processing | Executes ranking algorithms, generating T180_EIQRank and master T200 tables. |
| View Processed Data | Renders generated tables (T000, T180, T110, T200) in grid views. |
| Reset Tera Presets | Resets rank percentage thresholds and selection parameters to defaults. |
Base variables: calcC = Int(Pieces / CasePack), calcB = Pieces - (calcC × CasePack)
| Category | Metric | Calculation Formula |
|---|---|---|
| Line Level (G) | G-Pcs / G-Cases / G-PL / G-Vol / G-Wt |
Pieces / (Pieces ÷ CasePack) / (G-Cases ÷ PL-Tier) / (G-Cases × Vol) / (G-Cases × Wt) |
| Case Level (C) | C-Pcs / C-Cases / C-PL / C-Vol / C-Wt | (calcC × CasePack) / calcC / (C-Cases ÷ PL-Tier) / (C-Cases × Vol) / (C-Cases × Wt) |
| Piece Level (B) | B-Pcs / B-Cases / B-PL / B-Vol / B-Wt | calcB / (B-Pcs ÷ CasePack) / (B-Cases ÷ PL-Tier) / (B-Cases × Vol) / (B-Cases × Wt) |
Keys are summed in descending order and assigned ranks based on cumulative volume ratios:
| Cumulative Share Range | Assigned Rank |
|---|---|
| 0 to A1% | A1 |
| A1% to (A1+A2)% | A2 |
| (A1+A2)% to (A1+A2+B)% | B |
| (A1+A2+B)% to (A1+A2+B+C)% | C |
| Remaining Share | D |
T150_UnitShippingSummary: Ranks grouped by Case/Piece × Destination (E) / Item (I).T160_TotalShippingSummary: Total shipping ranks keyed on GPL for facility capacity sizing.T180_EIQRank: Line-item level rank assignments.T200: Integrated master analytical dataset joining shipping logs, unit conversions, and EIQ ranks.