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(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.Item[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 .

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

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

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

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

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
Int32

Discount

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

Discount for this invoice entry

Declaration
public Int32FieldInfo Discount { get; }
Property Value
Type Description
Int32FieldInfo

DiscountMoney

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

Discount for this invoice entry in money

Declaration
public Int32FieldInfo DiscountMoney { get; }
Property Value
Type Description
Int32FieldInfo

IeSum

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

The sum of the invoice entry

Declaration
public Int32FieldInfo IeSum { get; }
Property Value
Type Description
Int32FieldInfo

InvoiceEntryId

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

Primary key

Declaration
public Int32FieldInfo InvoiceEntryId { get; }
Property Value
Type Description
Int32FieldInfo

MessageId

Field 'message_id' in table 'invoice_entry': Dictionary type FK, .NET type: Int32

The message.id this invoice entry is connected to.

Declaration
public Int32FieldInfo MessageId { get; }
Property Value
Type Description
Int32FieldInfo

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>

PricePrUnit

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

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

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

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

Type

Field 'type' in table 'invoice_entry': Dictionary type FK, .NET type: Int32

The type of this invoice entry

Declaration
public Int32FieldInfo Type { get; }
Property Value
Type Description
Int32FieldInfo

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>

Implements

System.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