Class ScreenDefinitionRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the screen_definition table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class ScreenDefinitionRecordData
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
ScreenDefinitionRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the screen_definition table.
Declaration
public ScreenDefinitionRecordData()
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
Autosave
Whether this screen uses autosave or not
Declaration
public short Autosave
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
CreationScript
The script used at the top of all other creation scripts on this page
Declaration
public string CreationScript
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Description
Optional description of what this screen is used for
Declaration
public string Description
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
HierarchyId
The screen definition is inside this hierarchy folder
Declaration
public int HierarchyId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
IdString
A field for an id_string which may be used to access the screen
Declaration
public string IdString
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LayoutModel
An enum for which layout model this screen is using.
Declaration
public short LayoutModel
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LoadFinalScriptBody
The ejscript to execute just before the page is printed, after button/action scripts have been run
Declaration
public string LoadFinalScriptBody
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LoadPostCgiScriptBody
The ejscript to execute after setFromCgi, e.g. when the page is submitted
Declaration
public string LoadPostCgiScriptBody
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LoadScriptBody
The ejscript to execute the first time this screen is loaded, e.g. for form loading
Declaration
public string LoadScriptBody
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Name
A field for entering the name of this entry
Declaration
public string Name
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ScreenDefinitionId
Primary key
Declaration
public int ScreenDefinitionId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ScreenKey
This field holds the authentication key if used
Declaration
public string ScreenKey
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
WarnOnNavigate
Decides if user will get a warning if he accidentally navigates away from unsaved changes for this screen
Declaration
public short WarnOnNavigate
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full ScreenDefinitionRow 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 ScreenDefinitionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.