9
Tôi đã cố gắng đặt một Mô-đun tài khoản bằng tên trường sử dụng get_event_list
từ SugarCRM SOAP.phương thức get_entry_list bởi SugarCRM Soap
link_name_to_fields_array[] linkedFields = null;
String[] fields = new String[1];
fields[0] = "name";
var result = sugarClient.get_entry_list(sessionId, "accounts", "", "", 0,
fields, null, 100, 0, false);
Nhưng, khi tôi thực thi phần này của mã, nó không hoạt động.
Đối với phương pháp này:
get_entry_list (sessionId, module_name, query, order_by, offset, select_fields, link_name_to_fields_array, max_results, deleted, favorites);
Tôi nghĩ rằng order_by
bị sai chính tả trong phương pháp này, nhưng tôi không biết những gì cú pháp đúng là.
Sử dụng this var result = sugarClient.get_entry_list (sessionId, "accounts", "", "", ' 0 ', trường, mảng ( ), 100, 0, sai); –