The Update Object Record command updates information about an object in the database.
with fields list_of_field_values
Result: Boolean - always true.
List of object field labels and values. Record: {|field_name_1|: field_value_1, |field_name_2|: field_value_2, ...} |
Example: Update the Created_By field of a catalogs object.
tell application "Virtual Ticket 8.0"
set natureCatalog to Retrieve Object Record¬
of type "Catalogs" with id "Nature"
set |Created_By| of natureCatalog to "Melanie Masters"
Update Object Record of type "Catalogs" with id "Nature"¬
with fields natureCatalog
end tell