}
BusinessPartnerGroup businessPartnerGroup;
if(getBusinessPartnerGroup().getId() == null || "".equalsIgnoreCase(getBusinessPartnerGroup().getId())){
businessPartnerGroup = new BusinessPartnerGroup();
logInfo = new LogInformation();
logInfo.setCreateBy(sessionCredentials.getCurrentUser().getId());
logInfo.setCreateDate(new Timestamp(System.currentTimeMillis()));
} else {
businessPartnerGroup = (BusinessPartnerGroup) manager.getById(BusinessPartnerGroup.class, getBusinessPartnerGroup().getId());
logInfo = new LogInformation();
}
logInfo.setActiveFlag(getActive());
logInfo.setLastUpdateBy(sessionCredentials.getCurrentUser().getId());
logInfo.setLastUpdateDate(new Timestamp(System.currentTimeMillis()));