# File lib/ERPConnector.rb, line 81
    def write(id, inputmodel=false, vals={})
           if not inputmodel :
               inputmodel = @current_model
           end
           res = @object_server.call('execute', @dbname, @uid, @pwd, inputmodel, 'write', ids, args)
           return res
       end