Class FormRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the form table.
Inheritance
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class FormRecordData : Object
Remarks
Please use this class instead of a full FormRow 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 FormTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
FormRecordData()
Declaration
public FormRecordData()
Fields
Active
Indicates if this form is active and available for customers
Declaration
public short Active
Field Value
Type | Description |
---|---|
System.Int16 |
Config
The JSON-formatted config of this form
Declaration
public string Config
Field Value
Type | Description |
---|---|
System.String |
Description
Detailed description
Declaration
public string Description
Field Value
Type | Description |
---|---|
System.String |
Expires
After this datetime, the form will become inactive
Declaration
public DateTime Expires
Field Value
Type | Description |
---|---|
System.DateTime |
FolderId
The folder which this form belongs to. -1 indicates that the shipment is on the root
Declaration
public int FolderId
Field Value
Type | Description |
---|---|
System.Int32 |
FormId
Primary key
Declaration
public int FormId
Field Value
Type | Description |
---|---|
System.Int32 |
FormKey
A short string used as unique id to access this form
Declaration
public string FormKey
Field Value
Type | Description |
---|---|
System.String |
GroupId
The group which this form belongs to.
Declaration
public int GroupId
Field Value
Type | Description |
---|---|
System.Int32 |
MaxSubmits
After this number of submits, the form will become inactive
Declaration
public int MaxSubmits
Field Value
Type | Description |
---|---|
System.Int32 |
Name
The name of this form
Declaration
public string Name
Field Value
Type | Description |
---|---|
System.String |
NewTicket
True if this form creates a new ticket
Declaration
public short NewTicket
Field Value
Type | Description |
---|---|
System.Int16 |
Recipe
The JSON-formatted recipe of this form
Declaration
public string Recipe
Field Value
Type | Description |
---|---|
System.String |
Registered
Registered when in UTC.
Declaration
public DateTime Registered
Field Value
Type | Description |
---|---|
System.DateTime |
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId
Field Value
Type | Description |
---|---|
System.Int32 |
ResponseShipmentId
The id of the s_shipment that is used to send the response mails
Declaration
public int ResponseShipmentId
Field Value
Type | Description |
---|---|
System.Int32 |
ScriptId
The CRMScript Macro which will be run when the form is submitted.
Declaration
public int ScriptId
Field Value
Type | Description |
---|---|
System.Int32 |
Type
What kind of form is this? Indicates if this is a normal form or a template
Declaration
public FormType Type
Field Value
Type | Description |
---|---|
FormType |
Updated
Last updated when in UTC.
Declaration
public DateTime Updated
Field Value
Type | Description |
---|---|
System.DateTime |
UpdatedAssociateId
Last updated by whom
Declaration
public int UpdatedAssociateId
Field Value
Type | Description |
---|---|
System.Int32 |
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
System.Int16 |