Skip to content

Instantly share code, notes, and snippets.

@mmarum-sugarcrm
Created November 29, 2012 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmarum-sugarcrm/4170576 to your computer and use it in GitHub Desktop.
Save mmarum-sugarcrm/4170576 to your computer and use it in GitHub Desktop.
Getting a Record's info should be as simple as...
SugarClient client = new SugarClient(sugarUrl);
SugarSession session = client.getSugarSession("user", "password");
SugarBean bean = client.getBean(session, "Opportunities", "...GUID...");
System.out.println("Opportunity Name: " + bean.get("name"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment