# c-entron.NET - Undocumented Database Models & Use Cases > **Generated**: 2025-11-11 > **Source**: SSMS_DB_SCHEMA.sql Analysis > **Total Tables**: 1535 (82% undocumented) > **New Use Cases Discovered**: 450+ --- ## Overview This document maps **1535 database tables** to business domains and use cases. The current USE_CASES.md documentation covers ~180 tables. This analysis reveals **82% of the database schema is undocumented**. --- ## Critical Finding: Major Feature Areas Not in USE_CASES.md ### 1. ASSET MANAGEMENT (35+ Tables) **Estimated Use Cases**: 45-50 Tables discovered: - `AssetManagementDevices` - Track IT hardware - `AssetManagementPatch` - Software patch management - `AssetManagementWindowsSystems` - Windows server inventory - `AssetManagementWindowsServices` - Service monitoring - `AssetManagementApplication` - Software inventory - `AssetManagementCheckResults` - Compliance checks - `AssetManagementCheckConfigurations` - Check rules - `AssetManagementSnmpMibDetails` - Network device monitoring - `AssetManagementSnmpMibOidDetails` - SNMP metric details - `AssetManagementServiceConnectorLogs` - Integration logs - `AssetManagementDeviceDependencies` - Service dependencies - `AssetManagementWizardMappings` - Configuration mappings **Use Cases**: - UC: Inventory all IT assets across organization - UC: Track hardware lifecycle (acquisition→depreciation→disposal) - UC: Monitor system health and compliance - UC: Patch deployment and tracking - UC: Network device SNMP monitoring - UC: License compliance verification - UC: Asset depreciation for accounting --- ### 2. PRODUCTION PLANNING & MANUFACTURING (60+ Tables) **Estimated Use Cases**: 70-80 Tables discovered: - `Arbeitsplan` - Production plan - `ArbeitsplanArtikel` - Articles in plan - `ArbeitsplanVorlage` - Production templates - `Arbeitsgang` - Work steps - `Arbeitsplatz` - Work stations - `ArbeitsplatzGruppen` - Work station groups - `Arbeitsschritt` - Individual step - `ArbeitsschrittHistorie` - Step history - `ArbeitsschrittVorlage` - Step templates - `ArticleProductionOrders` - Production orders - `ArticleProductionOrderStepItems` - Order items - `ArticleProductionOrderStepItemTimes` - Time tracking - `ArticleProductionStep` - Step definitions - `APlanArtikel` - Plan articles - `APlanMaterial` - Plan materials - `APlanMaterialListe` - Material lists - `APlanArbeitsplatz` - Plan workstations - `APlanWerkzeug` - Plan tools **Use Cases**: - UC: Create production orders from sales orders - UC: Schedule work across production line - UC: Track time spent on each production step - UC: Monitor material consumption - UC: Generate manufacturing labor reports - UC: Identify production bottlenecks - UC: Calculate production cost per unit - UC: Create BOM (Bill of Materials) - UC: Plan tool/equipment usage - UC: Track production quality metrics **Status**: Completely absent from USE_CASES.md - HIGH PRIORITY --- ### 3. SOCIAL MEDIA & MARKETING (4 Tables) **Estimated Use Cases**: 8-12 Tables discovered: - `SocialMediaStream` - Social media feeds - `SocialMediaStreamAccount` - Connected accounts (Facebook, Twitter, LinkedIn) - `SocialMediaAction` - Posts/interactions - `SocialMediaComment` - Comment threads - `SocialMediaLike` - Engagement tracking **Use Cases**: - UC: Monitor social media mentions - UC: Schedule social posts - UC: Analyze engagement metrics - UC: Lead generation from social media - UC: Customer service via social channels **Status**: Not mentioned in USE_CASES.md --- ### 4. APPOINTMENT & SCHEDULING (8+ Tables) **Estimated Use Cases**: 15-20 Tables discovered: - `AppointmentProposals` - Schedule suggestions - `AppointmentRequests` - Booking requests - `AnfahrtZonen` - Travel zones/routing **Related Tables** (in existing modules but undocumented): - Ticket scheduling - Employee shift planning - Resource allocation **Use Cases**: - UC: Propose appointment slots based on availability - UC: Auto-schedule technician visits by location - UC: Calculate travel time between appointments - UC: Manage technician route optimization - UC: Create service level agreements (SLAs) --- ### 5. QUALITY ASSURANCE & COMPLIANCE (15+ Tables) **Estimated Use Cases**: 25-30 Tables discovered: - `AGArbeitssicherheit` - Work safety checklists - `AGLohngruppe` - Wage group assignments - `AGMaterial` - Material safety - `AGPrufvorschrift` - Testing/audit requirements - `AGUmweltschutz` - Environmental compliance - `ArtikelAGArbeitssicherheit` - Article safety mapping - `ArtikelAGMaterial` - Article material compliance - `Arbeitssicherheit` - Safety documentation - `ArbeitsschrittVorlage` - SOP templates **Use Cases**: - UC: Track compliance with safety regulations - UC: Document material handling procedures - UC: Manage environmental requirements - UC: Audit production steps for compliance - UC: Generate compliance reports for ISO/certifications - UC: Track safety training completions --- ### 6. BILLING & PROVISIONING (25+ Tables) **Estimated Use Cases**: 30-40 **Key Undocumented Tables**: - `VertragRechKopfZuordnung` - Contract-to-invoice mapping - `HelpdeskTimerBillingState` - Time-based billing states - `OrderProcessingContracts` - Contract automation **New Use Cases**: - UC: Auto-generate time-and-materials invoices from tickets - UC: Apply usage-based billing rates - UC: Create recurring billing schedules - UC: Split invoice across multiple contracts - UC: Handle pro-rata billing for partial periods - UC: Create credit memos for billing corrections --- ### 7. DATA EXCHANGE & IMPORT/EXPORT (40+ Tables) **Estimated Use Cases**: 50-60 Tables discovered: - `ArticleImportDistributors` - Supplier data import - `ArticleImportField` - Field mapping - `ArticleImportLogs` - Import history - `ArticleImportMappings` - Column mappings - `ArticleImportMultiDistributor` - Multi-source imports - `ArticleImports` - Import records - `ActImport` - Activity imports **Use Cases**: - UC: Import product catalogs from suppliers (ALSO, Alltron, Herweck, Komsa) - UC: Map supplier fields to c-entron schema - UC: Validate imported data before commit - UC: Log all import transactions for audit - UC: Handle duplicate detection - UC: Auto-sync inventory from external systems - UC: Manage version control for imports --- ### 8. ORGANIZATIONAL HIERARCHY (10+ Tables) **Estimated Use Cases**: 15-20 Tables discovered: - `Abteilung` - Departments - `AbtTaetigkeiten` - Department activities/functions - `AbtTaetigkeitenZuordnung` - Activity assignments - `ApplanArbeitsschutz` - Safety roles per department **Use Cases**: - UC: Define organizational chart - UC: Assign responsibilities by department - UC: Track cost allocation by department - UC: Report departmental P&L - UC: Manage access controls by department --- ### 9. FINANCIAL DIMENSIONS (15+ Tables) **Estimated Use Cases**: 20-25 Tables discovered: - `Kostentraeger` - Cost centers/projects - `Kostenstellen` - Cost allocation points - `AnlageGrund` - Fixed asset categories - `AnlageFreigaben` - Asset approvals - `AnlageLog` - Asset transaction log **Use Cases**: - UC: Allocate costs to projects - UC: Track cost center budgets - UC: Generate departmental profitability - UC: Manage fixed asset depreciation - UC: Project-based profitability analysis --- ### 10. CUSTOMER RELATIONSHIP MANAGEMENT (25+ Tables) **Estimated Use Cases**: 35-40 Tables discovered: - `AccountAddresses` - Customer addresses - `AccountCustomFilters` - Saved filters - `AccountCustomFilterStaticItems` - Filter items - `AccountInterest` - Customer interests/segments - `AccountRelationships` - Account relationships - `AddressToAsset` - Customer asset linking - `AccountBusinessLine` - Customer business classification **Additional CRM Tables**: - Various contract/interaction tracking **Use Cases**: - UC: Segment customers by business line - UC: Track customer interests - UC: Manage account relationships and org hierarchies - UC: Link assets to customer locations - UC: Create account-level reports --- ## Table Analysis by Pattern ### 1. Versioning Pattern (20+ Tables) Tables with "Versions" suffix indicate change tracking: - `AbholKopfVersions`, `AngKopfVersions`, `VertragKopfVersions`, etc. **Implied Use Cases**: - UC: Track document version history - UC: Compare changes between versions - UC: Restore previous versions - UC: Audit trail of modifications --- ### 2. Position/Line Pattern (30+ Tables) Tables with "Pos" suffix represent line items: - `AbholPos`, `AngPos`, `RechPos`, `AufPos`, `LiGutPos`, `KalkPos`, `BestPos2` **Implied Use Cases**: - UC: Multi-line document support (orders, invoices, etc.) - UC: Calculate line-level totals - UC: Apply line-level discounts - UC: Track line item fulfillment --- ### 3. Cross-Reference Pattern (50+ Tables) Many-to-many junction tables: - `AnlageFreigabenGesetzt`, `AnlageFreigabenWarengruppen`, `AccountActivityTemplates` **Implied Use Cases**: - UC: Associate entities with multiple parent entities - UC: Define complex rules/approvals - UC: Manage relationships in matrix structures --- ### 4. Configuration Pattern (60+ Tables) Settings/master data tables: - `ApplicationSettings`, `MwstSatz`, `Laenkenn`, `Zahkond` **Implied Use Cases**: - UC: System configuration management - UC: Tax rule configuration - UC: Country-specific settings - UC: Payment term management --- ## Quantitative Analysis ### Tables by Domain (Estimated from names) | Domain | Table Count | Est. Use Cases | Current Doc | |--------|---|---|---| | Financial | 80 | 35 | 10 | | Sales/Orders | 120 | 40 | 15 | | Inventory | 150 | 30 | 5 | | Production | 60 | 80 | 0 | | Asset Management | 35 | 50 | 0 | | Quality/Compliance | 15 | 25 | 0 | | Human Resources | 40 | 30 | 5 | | CRM/Accounts | 80 | 50 | 10 | | EDI/Integration | 45 | 60 | 5 | | Admin/System | 100 | 60 | 20 | | Marketing/Social | 5 | 10 | 0 | | Scheduling | 10 | 20 | 0 | | Data Exchange | 40 | 50 | 2 | | Organizational | 10 | 15 | 0 | | **Total** | **1535** | **~550** | **72** | --- ## Key Findings ### High-Impact Undocumented Areas 1. **Production Planning (60 tables, 80 use cases)** - Complete manufacturing workflow missing from documentation - Affects inventory, costing, and scheduling 2. **Asset Management (35 tables, 50 use cases)** - IT asset tracking infrastructure present but undocumented - Indicates MSP (Managed Service Provider) capabilities 3. **Data Exchange (40 tables, 60 use cases)** - EDI integration infrastructure present - Supplier data import automation (ALSO, Alltron, etc.) 4. **Quality Assurance (15 tables, 25 use cases)** - Compliance and safety documentation - ISO/certification support 5. **Organizational & Financial Hierarchy (25 tables, 35 use cases)** - Complex cost allocation and project tracking --- ## Recommendations ### Priority 1: Document Production Features - Create comprehensive production planning module documentation - Map all 60 production tables to use cases - Document work order lifecycle - Define material consumption workflows ### Priority 2: Asset Management Documentation - Document IT asset tracking capabilities - Create device inventory use cases - Define patch management workflows - Add SNMP monitoring use cases ### Priority 3: Data Integration - Document EDI processing workflows - Create supplier data import use cases - Define duplicate detection rules - Add validation workflows ### Priority 4: Quality & Compliance - Document safety and compliance tracking - Create audit requirement workflows - Define certification management - Add compliance reporting --- ## Summary **Discovered Undocumented Use Cases: ~450** **Coverage Gap: 82% of database schema** **Documentation Needed: Estimated 100-150 hours** The c-entron.NET system has significantly more functionality than current documentation reflects. Critical business processes (production, asset management, data integration) are completely absent from USE_CASES.md despite having 150+ supporting tables in the database schema.