As mentioned in my previous posts on this blog, my developer journey began as an intersection between the corporate world (accounting) and programming. I used to support my own accounting processes and help others with various VBA/Excel, Access, SQL tools and that's how the journey began.
Outgrowing my role as a Management Accountant in this technological sense, in 2019 I began studying and writing full time additional applications for business/accounting problems.
For me, the biggest challenge in all these is the mapping of real world processes (based on Excel and manual work) to an application. What's needed for this to be successful? In no particular order, my conclusions are:
very good understanding of the processes. This takes time and lots of communication/questions.
Understanding inputs and outputs. Data structure, types, formats, steps, validation, internal checks of the applications, stages of completion, reports, application logic and flow all come from inputs and outputs.
Thinking about the entity/DB structure and program flow.
From the mental mapping above come the DB structure, and then flow. Usually the flow is the succession of operations: input data, review data, edit, delete, search, etc, add more data, filter, prepare intermediary reports and then further add data, filter, edit if needed and then generate final outcome (reports, files). This cycle above can have multiple stages and checks/reports built within.
Validate the proposed process with the customer.
Discussing old methods vs new optimized process: lessons learned and areas to improve on in the new system based on feedback.
My big projects in the last 2 years are:
Manufacturing Reporting/Statistics tool in MS ACCESS, on key phases of the production line. (manufacturing shop floor).
Internal recharge system of the company, for distribution of indirect/administrative costs. Technology: C#, .Net, WPF/MVVM and SQL Server
My current project is an invoicing software that collects and invoices costs by employees. Using same technology as above. + Asp.net Core Razor pages
Another project for 2020 will be a VAT reporting tool to automate an Excel-based approach inside the accounting department, consolidating, filtering, automating data collection from several internal business units (big departments), and preparing statutory reports for Value Added Tax.
Some clear lessons to change the Excel-Based approach into a more efficient application are:
Using one database instead of many files, on a central server/Azure, for each app.
Mapping the entities from the excel files => as database tables/ and POCO entities.
All the automation of the repetitive processes go to C# code = > helper, data manipulation functions, using LINQ with lists etc.
Report generation, using ReportViewer tool, or ClosedXML to export excel files upon request;
Some architectural conclusions of the journey are:
need to manage the users of the application
implementing a reporting system, with parametrised queries, using SQL/Dapper/Reportviewer and/or simple Excel reports
implementing a concept of "Period": the accounting month in which all transactions take place. Afterwards the period is closed, and next month is opened for another series of transactions.
Implementing different types of Tables / entities by functionality:
a.)tables with reduced number of updates such as business units, customers, users
b.)tables with some more frequent updates (such as employees, price lists)
c.)transaction tables (allocation keys calculated, monthly cost information, monthly invoice details, etc)
For transaction tables, insert the user and transaction date/time
In some special cases, implement a history table for some entities for which the change log is important (such as employee change history).
What do you think, what are the main points of producing such business/accounting tools? Would you do something differently from an architecture standpoint?