By "assign sales by customer type", do you mean to assign this revenue to a different g/l account? If so, then the easiest way to do this is using a location for each type of sale. Locations can be assigned department codes, and the code will be added to the item's account number when the item is sold from a given location.
Having said that, I should caution you about trying to do sales analysis (customer by product, etc) in your general ledger. You will end up with a very difficult chart of accounts to maintain. It is better to use the g/l as a summary of the sales you have made, and use
Adagio SalesAnalysis for a full and complete analysis of "who's been buying what".
As this is really becoming more of a technical support thread, I'm moving the topic into that forum.