Class SMessageTableInfo
Table 's_message': A message used in a shipment. Can be html and/or plain text
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("s_message")]
public class SMessageTableInfo : TableInfo, ICloneable
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling
Fields
DictionaryTableName
Conceptual name of table SMessage in the database dictionary: s_message
Declaration
public const string DictionaryTableName = "s_message"
Field Value
Type | Description |
---|---|
System.String |
Properties
AccessKey
Field 'access_key' in table 's_message': Dictionary type String[256], .NET type: System.String
Key used for access verification
Declaration
public StringFieldInfo AccessKey { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Overrides
Description
Field 'description' in table 's_message': Dictionary type String[256], .NET type: System.String
Describes this message
Declaration
public StringFieldInfo Description { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Design
Field 'design' in table 's_message': Dictionary type Clob, .NET type: System.String
Will contain the design part of a message. The format will vary based on the type of designer used to create the message
Declaration
public StringFieldInfo Design { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Designtype
Field 'designtype' in table 's_message': Dictionary type Enum, .NET type: DesignType
Enum containing the type of the design
Declaration
public DesignTypeFieldInfo Designtype { get; }
Property Value
Type | Description |
---|---|
DesignTypeFieldInfo |
DictionaryTableNumber
Table number for table SMessage in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database
Declaration
public int DictionaryTableNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
DocumentMessage
Field 'document_message' in table 's_message': Dictionary type FK, .NET type: System.Int32
The SM document used as template for this mailing
Declaration
public Int32FieldInfo DocumentMessage { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
DocumentMessage_InnerJoin_Document
Generated join from the foreign key DocumentMessage in this table, to its target table DocumentTableInfo.
Declaration
public TargetedInnerJoin<DocumentTableInfo> DocumentMessage_InnerJoin_Document { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<DocumentTableInfo> |
Flags
Field 'flags' in table 's_message': Dictionary type Enum, .NET type: ShipmentMessageType
Identifies if HTML or plain message is included in message.
Declaration
public ShipmentMessageTypeFieldInfo Flags { get; }
Property Value
Type | Description |
---|---|
ShipmentMessageTypeFieldInfo |
FolderId
Field 'folder_id' in table 's_message': Dictionary type Int, .NET type: System.Int32
The folder which this message belongs to. -1 indicates that the message is on the root
Declaration
public Int32FieldInfo FolderId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
HeaderField
Field 'header_field' in table 's_message': Dictionary type Clob, .NET type: System.String
Extra header fields added to mail. Must be formatted correctly
Declaration
public StringFieldInfo HeaderField { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
HtmlMessage
Field 'html_message' in table 's_message': Dictionary type Clob, .NET type: System.String
HTML formatted text of this message
Declaration
public StringFieldInfo HtmlMessage { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
InlineImages
Field 'inline_images' in table 's_message': Dictionary type Bool, .NET type: System.Int16
Should images be included inline?
Declaration
public UInt16FieldInfo InlineImages { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
LeftOuterJoin_ExternalDocument_SMessage
Generated left outer join from the primary key SMessageId on this table, to ExternalDocument.SMessage.
Declaration
public TargetedLeftOuterJoin<ExternalDocumentTableInfo> LeftOuterJoin_ExternalDocument_SMessage { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<ExternalDocumentTableInfo> |
LeftOuterJoin_SAttachment_MessageId
Generated left outer join from the primary key SMessageId on this table, to SAttachment.MessageId.
Declaration
public TargetedLeftOuterJoin<SAttachmentTableInfo> LeftOuterJoin_SAttachment_MessageId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<SAttachmentTableInfo> |
LeftOuterJoin_SSentMessage_MessageId
Generated left outer join from the primary key SMessageId on this table, to SSentMessage.MessageId.
Declaration
public TargetedLeftOuterJoin<SSentMessageTableInfo> LeftOuterJoin_SSentMessage_MessageId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<SSentMessageTableInfo> |
LeftOuterJoin_SShipment_MessageId
Generated left outer join from the primary key SMessageId on this table, to SShipment.MessageId.
Declaration
public TargetedLeftOuterJoin<SShipmentTableInfo> LeftOuterJoin_SShipment_MessageId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<SShipmentTableInfo> |
LongDescription
Field 'long_description' in table 's_message': Dictionary type String[4001], .NET type: System.String
A field for a long description of this template
Declaration
public StringFieldInfo LongDescription { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
PlainMessage
Field 'plain_message' in table 's_message': Dictionary type Clob, .NET type: System.String
Plain message text of this message
Declaration
public StringFieldInfo PlainMessage { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Registered
Field 'registered' in table 's_message': Dictionary type UtcDateTime, .NET type: System.DateTime
Registered when
Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
RegisteredAssociateId
Field 'registered_associate_id' in table 's_message': Dictionary type FK, .NET type: System.Int32
Registered by whom
Declaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
RegisteredAssociateId_InnerJoin_Associate
Generated join from the foreign key RegisteredAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
RegisterViews
Field 'register_views' in table 's_message': Dictionary type Bool, .NET type: System.Int16
Register message views?
Declaration
public UInt16FieldInfo RegisterViews { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
RuntimeDefinition
Definition of the table as described in the deployed runtime dictionary
Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
SMessageId
Field 'id' in table 's_message': Dictionary type PK, .NET type: System.Int32
Primary key
Declaration
public Int32FieldInfo SMessageId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
SmsMessage
Field 'sms_message' in table 's_message': Dictionary type Clob, .NET type: System.String
SMS version of this message
Declaration
public StringFieldInfo SmsMessage { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Subject
Field 'subject' in table 's_message': Dictionary type String[256], .NET type: System.String
The mail subject field of the message
Declaration
public StringFieldInfo Subject { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Updated
Field 'updated' in table 's_message': Dictionary type UtcDateTime, .NET type: System.DateTime
Last updated when
Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
UpdatedAssociateId
Field 'updated_associate_id' in table 's_message': Dictionary type FK, .NET type: System.Int32
Last updated by whom
Declaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
UpdatedAssociateId_InnerJoin_Associate
Generated join from the foreign key UpdatedAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> UpdatedAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
UpdatedCount
Field 'updatedCount' in table 's_message': Dictionary type UShort, .NET type: System.Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |