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
• 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.
Copyright 2004-2008 SugarCRM Inc.
Product License