Show / Hide Table of Contents

Class InvoiceEntryTableInfo

Table 'invoice_entry': This table contain all invoices, connected to a message

Inheritance
object
TableInfo
InvoiceEntryTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(params FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(string)
TableInfo.ProtAll
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.this[string]
TableInfo.PrimaryKeyField
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("invoice_entry")]
public class InvoiceEntryTableInfo : 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 TablesInfo.GetInvoiceEntryInfo().

Fields

DictionaryTableName

Conceptual name of table InvoiceEntry in the database dictionary: invoice_entry

Declaration
public const string DictionaryTableName = "invoice_entry"
Field Value
Type Description
string
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 TablesInfo.GetInvoiceEntryInfo().

Properties

DateInvoiced

Field 'date_invoiced' in table 'invoice_entry': Dictionary type DateTime, .NET type: DateTime

The date for the invoice entry
Declaration
public DateTimeFieldInfo DateInvoiced { get; }
Property Value
Type Description
DateTimeFieldInfo
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 TablesInfo.GetInvoiceEntryInfo().

Definition

Definition of the table as described in the deployed runtime dictionary

Declaration
public override SoTable Definition { get; }
Property Value
Type Description
SoTable
Overrides
TableInfo.Definition
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 TablesInfo.GetInvoiceEntryInfo().

Description

Field 'description' in table 'invoice_entry': Dictionary type String[256], .NET type: string

A description of the invoice entry
Declaration
public StringFieldInfo Description { get; }
Property Value
Type Description
StringFieldInfo
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 TablesInfo.GetInvoiceEntryInfo().

DictionaryTableNumber

Table number for table InvoiceEntry 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
int
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 TablesInfo.GetInvoiceEntryInfo().

Discount

Field 'discount' in table 'invoice_entry': Dictionary type Int, .NET type: int

Discount for this invoice entry
Declaration
public Int32FieldInfo Discount { get; }
Property Value
Type Description
Int32FieldInfo
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 TablesInfo.GetInvoiceEntryInfo().

DiscountMoney

Field 'discount_money' in table 'invoice_entry': Dictionary type Int, .NET type: int

Discount for this invoice entry in money
Declaration
public Int32FieldInfo DiscountMoney { get; }
Property Value
Type Description
Int32FieldInfo
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 TablesInfo.GetInvoiceEntryInfo().

IeSum

Field 'ie_sum' in table 'invoice_entry': Dictionary type Int, .NET type: int

The sum of the invoice entry
Declaration
public Int32FieldInfo IeSum { get; }
Property Value
Type Description
Int32FieldInfo
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 TablesInfo.GetInvoiceEntryInfo().

InvoiceEntryId

Field 'id' in table 'invoice_entry': Dictionary type PK, .NET type: int

Primary key
Declaration
public Int32FieldInfo InvoiceEntryId { get; }
Property Value
Type Description
Int32FieldInfo
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 TablesInfo.GetInvoiceEntryInfo().

MessageId

Field 'message_id' in table 'invoice_entry': Dictionary type FK, target: EjMessage, .NET type: int

The message.id this invoice entry is connected to.
Declaration
public Int32FieldInfo MessageId { get; }
Property Value
Type Description
Int32FieldInfo
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 TablesInfo.GetInvoiceEntryInfo().

MessageId_InnerJoin_EjMessage

Generated join from the foreign key MessageId in this table, to its target table EjMessageTableInfo.

Declaration
public TargetedInnerJoin<EjMessageTableInfo> MessageId_InnerJoin_EjMessage { get; }
Property Value
Type Description
TargetedInnerJoin<EjMessageTableInfo>
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 TablesInfo.GetInvoiceEntryInfo().

PricePrUnit

Field 'price_pr_unit' in table 'invoice_entry': Dictionary type Int, .NET type: int

Price per unit. This is copied from the invoice_type when created so that changes to the price in the future does not affect this one.
Declaration
public Int32FieldInfo PricePrUnit { get; }
Property Value
Type Description
Int32FieldInfo
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 TablesInfo.GetInvoiceEntryInfo().

Quantity

Field 'quantity' in table 'invoice_entry': Dictionary type Double, .NET type: double

Number of units
Declaration
public DoubleFieldInfo Quantity { get; }
Property Value
Type Description
DoubleFieldInfo
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 TablesInfo.GetInvoiceEntryInfo().

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
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 TablesInfo.GetInvoiceEntryInfo().

Type

Field 'type' in table 'invoice_entry': Dictionary type FK, target: InvoiceType, .NET type: int

The type of this invoice entry
Declaration
public Int32FieldInfo Type { get; }
Property Value
Type Description
Int32FieldInfo
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 TablesInfo.GetInvoiceEntryInfo().

Type_InnerJoin_InvoiceType

Generated join from the foreign key Type in this table, to its target table InvoiceTypeTableInfo.

Declaration
public TargetedInnerJoin<InvoiceTypeTableInfo> Type_InnerJoin_InvoiceType { get; }
Property Value
Type Description
TargetedInnerJoin<InvoiceTypeTableInfo>
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 TablesInfo.GetInvoiceEntryInfo().

Implements

ICloneable

Extension Methods

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