I am trying to roll up general ledger accounts in business central: Example = cash 1001 and cash 1002 gereral ledger accounts that I want to rollup into cash 1000 general ledger account.
If by "roll-up" you mean "grouping" G/L Accounts into a total ... yes, you can do that by using the Account Type = Total (or Begin-Total & End-Total).
https://docs.microsoft.com/en-us/dynamics365/business-central/finance-setup-chart-accounts