🆕 What’s New
New Project View (Item 207)
Added project_details_plus_APC
to complete the set for regional project reporting.
Improved Date Views (Items 20–21, 27–30, 204–205)
- Enhanced performance and maintainability of date views using a single CTE-based query structure.
- Consolidated logic into the main DataMart framework, replacing ad hoc scripts.
- Standardised naming conventions (e.g.
Dates_DIM_DATE
→dates_dim_date
). - Improved period handling and calendar support.
Programme ID Enhancements (Items 206, 208)
Integrated clearer programme identification fields from MIS80 into global organisation views, allowing for cross regional identification.
🔂Development/Improvements for cdm
- Smarter Timestamps (Items 1–8)
We’ve updated how we capture creation dates in our SQL to useCAST(GETDATE() AS DATE)
. This change supports integration with ourget.myArchive
functionality. - Metadata-Driven Engine (Item 9)
Refactored logic now supports metadata-driven design – making it easier to manage triggers, logging, and indexing automatically. - Modern Upserts (Items 10–13, 15, 17–19)
Legacy “upsert” statements have been replaced or updated to follow our new standard. This includes:- Support for
CODE_VALUE
formatting - New
patch
,put
, andpost
versions - More consistent handling of data payloads
- Support for
- Standard Templates (Item 14)
Introduced source table definitions forcore
,meta
, anditem
views – part of standardising our design approach. - New Shortcode Controller (Item 16)
Created a new controller pattern for shortcodes, now organised within a dedicated schema:[uspert]
. - Utility Functions (Items 22–23)
Added helpful utilities such ascountrow_view
andwhos_active
to support monitoring and debugging.
Notes
The following files were updated in this release:
- ⚠️ DIFFERENT: customer_core.sql
- ⚠️ DIFFERENT: employee_codes.sql
- ⚠️ DIFFERENT: employee_core.sql
- ⚠️ DIFFERENT: project_codes.sql
- ⚠️ DIFFERENT: project_core.sql
- ⚠️ DIFFERENT: project_dates.sql
- ⚠️ DIFFERENT: supplier_core.sql
- ⚠️ DIFFERENT: employee_dates.sql
- ⚠️ DIFFERENT: create_table.sql
- ⚠️ DIFFERENT: create_table_meta.sql
- ⚠️ DIFFERENT: patch_upsert.sql
- ⚠️ DIFFERENT: post_insert.sql
- ⚠️ DIFFERENT: put_update.sql
- ⚠️ DIFFERENT: table_template.sql
- ⚠️ DIFFERENT: upsert_entity.sql
- ⚠️ DIFFERENT: upsert_log_table_list.sql
- ⚠️ DIFFERENT: upsert_meta.sql
- ⚠️ DIFFERENT: upsert_meta_insert.sql
- ⚠️ DIFFERENT: upsert_meta_update.sql
- ⚠️ DIFFERENT: Dates_DIM_DATE.sql
- ⚠️ DIFFERENT: dates_DIM_DATE.sql
- ⚠️ DIFFERENT: countrow_view.sql
- ⚠️ DIFFERENT: whos_active.sql
- ⚠️ DIFFERENT: patch_myview.sql
- ⚠️ DIFFERENT: myarchive.sql
- ⚠️ DIFFERENT: myview.sql
- ⚠️ DIFFERENT: dates_holidays_uk.sql
- ⚠️ DIFFERENT: dates_mydate.sql
- ⚠️ DIFFERENT: dates_period.sql
- ⚠️ DIFFERENT: dates_DIM_DATE_o.sql
- ⚠️ 204. DIFFERENT: dates_DIM_DATE_202409.sql
- ⚠️ 205. DIFFERENT: Dates_DIM_DATE 202409.sql
- ⚠️ 206. DIFFERENT: global_organisation_ifs.sql
- ⚠️ 207. DIFFERENT: project_details_plus_APC.sql
- ⚠️ 208. DIFFERENT: global_organisation_202409.sql
Retired Code & Views (31–203)
A wide set of legacy code and views have been reviewed and retired. This includes:
- External Tables in Operational Layer (OL) Views: e.g.
DIM_PROJECT_OL
,FACT_CUSTOMER_INVOICE_OL
,FACT_EMPLOYEE_ANALYSIS_OL
- Redundant Domain Structures: Project, Customer, Employee, and Date summary/detail/label views no longer in use.
- Obsolete Upsert & Table Generator Scripts: Older versions of table creation and insert/update scripts.
- Stale metadata/snippet logic and compiled artefacts: Superseded by metadata-driven framework and removed to reduce complexity.
🟢 Note: All retired views and scripts were non-essential to the stability and operation of the 202409 Apps10 solution, which remains the current and target stable deployment.