Class TriggerScriptEntity
Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for TriggerScriptEntity.
CRM Trigger Script - The script runs when a given event fires.
Inheritance
object ←
Carrier ←
TriggerScriptEntity
Inherited Members
Carrier.TableRight,
Carrier.FieldProperties,
object.ToString(),
object.Equals(object),
object.Equals(object, object),
object.ReferenceEquals(object, object),
object.GetHashCode(),
object.GetType(),
object.MemberwiseClone()
Examples
Get TriggerScriptEntity 123 using the WebApi client:
var configuration = new WebApiConfiguration(url);
var agent = new CRMScriptAgent(configuration);
var triggerScriptEntity = agent.GetTriggerScriptEntity( 123 );
Use :
All TriggerScriptEntity: “EventHandler”
Constructors
TriggerScriptEntity()
Default constructor - defaults any enum props to 0.
Properties
Enabled
Whether this screen chooser is enabled or not
Property Value
bool
Name
Optional description of what this script is used for.
Property Value
string
Registered
Registered when
Property Value
DateTime
RegisteredAssociateId
Registered by whom
Property Value
int
ScreenChooserId
Primary key
Property Value
int
ScreenType
Event id that triggers script. See EventHandlerType enum.
NULL if unknown enum value.
Property Value
EventHandlerType?
See Also
TriggerScriptEntity.ScreenType_String
ScreenType_String
Event id that triggers script. See EventHandlerType enum.
Raw string enum value.
Property Value
string
See Also
TriggerScriptEntity.ScreenType
Source
The CRMscript code for this event handler
Property Value
string
UniqueIdentifier
Global unique identifier, accross customers/tenants
Property Value
string
Updated
Last updated when
Property Value
DateTime
UpdatedAssociateId
Last updated by whom
Property Value
int
See Also
CRMScriptAgent,
ArchiveAgent,