You should use a context model for that. See for example the “General Ledger”.
You must define a new model which is not stored in the database but from a table query which perform the required grouping.
You should use a context model for that. See for example the “General Ledger”.
You must define a new model which is not stored in the database but from a table query which perform the required grouping.