Uniface Reporting Service Adds Year Comparisons, Cash Forecasts and Sales Funnel Using Plain SQL
A customer app built in Uniface 10 gained a reporting service covering a cockpit, month-end report, year comparison, margins, cash forecast, stock turnover, service figures and a sales funnel. All of it runs in a single service, KPI2_SVC, which builds plain SQL, queries SQLite and returns Uniface lists or writes HTML files. The cockpit returns eighteen figures bundled as key-value items rather than separate output parameters. The author deliberately avoided window functions, CTEs and multiple scalar subqueries, after an earlier SELECT without a FROM clause silently terminated the Uniface process. Year-over-year comparisons instead use derived tables with twelve literal month rows, so months without revenue still appear. The approach was tested with Rocket Uniface 10.4.03 and SQLite 3.50.2 in October 2026.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in