class ChartOfAccountDetailService {

	@Transactional
	public List<ChartOfAccountDetail> update(List<ChartOfAccountDetail> chartofaccountdetails, BindingResult errors) {
		chartofaccountdetails = fetchRelated(chartofaccountdetails);
		validate(chartofaccountdetails, Constants.ACTION_UPDATE, errors);
		if (errors.hasErrors()) {
			throw new CustomBindException(errors);
		}
		return chartofaccountdetails;

	}

}