Show / Hide Table of Contents

Class ScreenChooserRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the screen_chooser table.

Inheritance
Object
ScreenChooserRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class ScreenChooserRecordData : Object
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

ScreenChooserRecordData()

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the screen_chooser table.

Declaration
public ScreenChooserRecordData()
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

Description

Optional description of what this script is used for.

Declaration
public string Description
Field Value
Type Description
String
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Ejscript

The CRMscript code for this event handler

Declaration
public string Ejscript
Field Value
Type Description
String
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

EjscriptId

The ejscript row containing the TypeScript for this trigger

Declaration
public int EjscriptId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Enabled

Whether this screen chooser is enabled or not

Declaration
public short Enabled
Field Value
Type Description
Int16
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ScreenChooserId

Primary key

Declaration
public int ScreenChooserId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ScreenTarget

What screen this is a chooser for

Declaration
public int ScreenTarget
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ScreenType

Event id that triggers script. See EventHandlerType enum.

Declaration
public short ScreenType
Field Value
Type Description
Int16
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UniqueIdentifier

Global unique identifier, accross customers/tenants

Declaration
public string UniqueIdentifier
Field Value
Type Description
String
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
Int16
Remarks

Please use this class instead of a full ScreenChooserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ScreenChooserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
ScreenChooserRecordDataExtensions.ToInsert(ScreenChooserRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top