Newer Version Available

This content describes an older version of this product. View Latest

ApexTrigger

Represents an Apex trigger.

For more information, see ApexTrigger in the Object Reference.

Fields

Field Label API Field Name Type Digits Length Precision Scale
AfterDelete UsageAfterDelete boolean
AfterInsert UsageAfterInsert boolean
AfterUndelete UsageAfterUndelete boolean
AfterUpdate UsageAfterUpdate boolean
Api Version ApiVersion double 18 1
BeforeDelete UsageBeforeDelete boolean
BeforeInsert UsageBeforeInsert boolean
BeforeUpdate UsageBeforeUpdate boolean
Body Body textarea 1000000
Body CRC BodyCrc double 18 0
Created By ID CreatedById reference 18
Created Date CreatedDate datetime
Custom Object Definition ID TableEnumOrId picklist 40
Is Valid IsValid boolean
IsBulk UsageIsBulk boolean
Last Modified By ID LastModifiedById reference 18
Last Modified Date LastModifiedDate datetime
Name Name string 255
Namespace Prefix NamespacePrefix string 15
Size Without Comments LengthWithoutComments int 9
Status Status picklist 40
System Modstamp SystemModstamp datetime
Trigger ID Id id 18