Table of Contents Previous Next

Sugar Developer Guide

Version 5.1


Chapter 2 Application Framework : Web Services : Set the values for a record

Set the values for a record
You may want to now modify or even create a new record (entry). This is where set_entry comes into place. Both modifying and creating a record are done from the same function call.
Call: set_entry
o
string:session – the session_id
o
string:module_name – the module for the entry you want to update/create
o
complex-type:name_value_list - the fields you want to set
o
Pass in the primary id of a record in the name_value_list complex field if you have a field called id otherwise to update a specific record. Otherwise if this field is empty, the system will create a new entry.

Table of Contents Previous Next

Copyright 2004-2008 SugarCRM Inc.
Product License