Delete Object Record

Delete Object Record

The Delete Object Record command deletes a specified object from the database.

Delete Object Record*
*
of type object_type

with id object_id

 

Result: Boolean (always returns true)


 

Arguments

Type

Description

object_type

String

The name of the object type to be added (e.g. Job}.

object_id

Integer or String

The unique object id.

Example: Delete a customer from the database.

tell application "Virtual Ticket 8.0"
if (exists object of type "Customer" with id "ACME01") then
Delete Object Record of type "Customer" with id "ACME01"
end if
end tell

 


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.