How jgracemilk/diverbi works
This repository appears to be a DiverBI sales, orders, inventory, and target-reporting solution built from Diver Integrator scripts, production plans, and report/marker definitions. Its broad workflow extracts ERP data, prepares and aggregates sales and order models, then exposes dashboards and target analyses. The sample excerpts cover only standalone Excel target-workbook utilities; no README or sampled production/integration definitions establish links among those broader stages, so those relationships are intentionally not asserted.
Main entry points: insert_data.py Populate workbook · insert_tables.py Insert target tables
Components 17
Target Workbook Utilities
- Populate workbook
Plan/SalesTargets/insert_data.py - Insert target tables
Plan/SalesTargets/insert_tables.py
Data Integration
- ERP extraction
Int/I10_Extract_Navision_All.int - Sales preparation
Int/I10_Preprocess_Sales_Line.int - Sales and order models
Int/I20_Sales_Orders.int - Target calculations
Int/I27_Sales_Targets.int
Analytics and Reports
- Sales dashboards
Plan/Sales/Dashboard - Order dashboards
Plan/Diverboards - Target reports
Plan/SalesTargets - Sales analyses
Plan/Sales
Scheduled Production
- Nightly build
Production/P01_Nightly_Build.prd - Today refresh
Production/P10 Build Today.prd - Target email
Production/P27a_Email_Targets.prd
Other components
- Operator
- TSV inputs
- Excel template
- Target workbook
Connections 6
- Operator → Populate workbook: runs
Plan/SalesTargets/insert_data.py - TSV inputs → Populate workbook: reads TSV
Plan/SalesTargets/insert_data.py - Excel template → Populate workbook: loads template
Plan/SalesTargets/insert_data.py - Populate workbook → Target workbook: saves workbook
Plan/SalesTargets/insert_data.py - TSV inputs → Insert target tables: reads TSV
Plan/SalesTargets/insert_tables.py - Insert target tables → Target workbook: writes tables
Plan/SalesTargets/insert_tables.py