Fix in accounting rule system_defined

This commit is contained in:
Jose Alberto Hernandez
2022-05-26 22:11:00 +02:00
committed by Arnold Gálovics
parent 5942488bde
commit e277c85c69
@@ -152,7 +152,7 @@ public class AccountingRuleReadPlatformServiceImpl implements AccountingRuleRead
final AccountingRuleDataExtractor resultSetExtractor = new AccountingRuleDataExtractor(this.jdbcTemplate,
this.glAccountReadPlatformService, isAssociationParametersExists);
Object[] arguments = new Object[] {};
String sql = "select " + resultSetExtractor.schema() + " and system_defined=0 ";
String sql = "select " + resultSetExtractor.schema() + " and system_defined=false ";
if (hierarchySearchString != null) {
sql = sql + " and office.hierarchy like ?";
arguments = new Object[] { hierarchySearchString };