When using the Get GL Name/Turnover and Balance figures the following codes can be used to get the totals for Major Headings, and by Cost Centre and Departments. This allows the sheet to ensure the total is the total of the system and not an addition within the sheet which may have missed a GL code from the list of GL codes.
In order to produce Profit and Losss/Income statement, Trail Balance or Balance sheet we prvide a number of calculated totals for reporting. These will return a total as checked by Consolidated XL against the accounts and thus if an account is missing from the report, unfortunetly you have to maintain these after report creation if a new GL account is added to the system, these totals will be correct.
You could add you own cacluations to check your totals, against these value to verify all GL accounts are listed.
When using CXL.GLValSpill() you can use "#Cat..." codes to get all items in a part of the Chart of Accounts. This allows you to create dynamic reports that will update as new GL accounts are added to the system.