Customer account groups define attributes of customer masters like number ranges and required fields, while partner functions identify roles in transactions like sold-to and ship-to. A customer account group can take on multiple partner functions, allowing one customer master to fulfill different roles. Key partner functions for sales transactions include sold-to, ship-to, payer, and bill-to.