I want to get max(id) via webservice api like the following, but all failure, does anyone know how to?
"product.template", "search_read", Arrays.asList(Arrays.asList( Arrays.asList("id", "=", "max(id)") )), new HashMap() {{ put("fields", Arrays.asList("id")); }}
"product.template", "search_read", Arrays.asList(Arrays.asList( Arrays.asList("id", "=", "(select max(id) from product_template)") )), new HashMap() {{ put("fields", Arrays.asList("id")); }}
"product.template", "search_read", Arrays.asList(Arrays.asList( Arrays.asList("id", "=", "1000") )), new HashMap() {{ put("fields", Arrays.asList("id", "max(id)")); }}