If ClientGroupPk is zero, this will return the DefaultClientGroupId from the Account Application Type.