9

I tried to order an Account Module by the field name using get_event_list from 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);

But, when I execute this part of the code, it doesn't work.

For the method:

get_entry_list (sessionId, module_name, query, order_by, offset, select_fields, link_name_to_fields_array, max_results, deleted, favorites);

I think the order_by is misspelled in the method, but I don't know what the correct syntax is.

apaul
  • 15,557
  • 8
  • 44
  • 76
BrennQuin
  • 614
  • 9
  • 19
  • 1
    Use this var result = sugarClient.get_entry_list(sessionId, "accounts", "", "", '0', fields, array( ), 100, 0, false); – Jatinder Kaur Jul 20 '16 at 06:17

1 Answers1

0

get_entry_list

Definition

get_entry_list(session, module_name, query, order_by, offset, select_fields, link_name_to_fields_array, max_results, deleted, favorites)

enter image description here

enter image description here

Jorge Londoño
  • 509
  • 2
  • 13