final int countRecords = newRecords;
final RandomDataEngine randomDataEngine = new RandomDataEngine();
for (int j = 0; j < countRecords; j++) {
final Customer customer = getCustomerService().getNewCustomer();
customer.setKunName1(randomDataEngine.getRandomManFirstname());
customer.setKunName2(randomDataEngine.getRandomLastname());
customer.setKunMatchcode(customer.getKunName2().toUpperCase());
customer.setKunOrt(randomDataEngine.getRandomCity());
customer.setBranche(branche);
customer.setKunMahnsperre(false);
// if no customer no. is set by user than take
// the max PrimaryKey + 1
if (customer.getKunNr().isEmpty()) {
customer.setKunNr(String.valueOf(getCustomerService().getMaxCustomerId() + 1));
}
getCustomerService().saveOrUpdate(customer);
}