Our segments are NNN-DD-PPP-CC where N are the natural accounts, D are the departments, P are the Products Categories, and C are the Product sub classes.
Our chart of accounts for revenue looks something like this:
400 400-D1 400-D1-PCat1 400-D1-PCat1…