Show / Hide Table of Contents

Class InvoiceSumTableInfo

Table 'invoice_sum': This table is used temporarily when listing invoice statistics. It is used because we need to sort balances from both customers and companies.

Inheritance
Object
TableInfo
InvoiceSumTableInfo
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_sum")]
public class InvoiceSumTableInfo : 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 InvoiceSum in the database dictionary: invoice_sum

Declaration
public const string DictionaryTableName = "invoice_sum"
Field Value
Type Description
String

Properties

Balance

Field 'balance' in table 'invoice_sum': Dictionary type Int, .NET type: Int32

The balance for the given customer or company.

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

CompanyId

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

The reference of the company entry this entry is connected to. NULL or -1 if not connected.

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

CompanyId_InnerJoin_Contact

Generated join from the foreign key CompanyId in this table, to its target table ContactTableInfo.

Declaration
public TargetedInnerJoin<ContactTableInfo> CompanyId_InnerJoin_Contact { get; }
Property Value
Type Description
TargetedInnerJoin<ContactTableInfo>

CustomerId

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

The reference of the customer entry this entry is connected to. NULL or -1 if not connected.

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

CustomerId_InnerJoin_Person

Generated join from the foreign key CustomerId in this table, to its target table PersonTableInfo.

Declaration
public TargetedInnerJoin<PersonTableInfo> CustomerId_InnerJoin_Person { get; }
Property Value
Type Description
TargetedInnerJoin<PersonTableInfo>

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

DictionaryTableNumber

Table number for table InvoiceSum 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

InvoiceSumId

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

The primary key (auto-incremented)

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

LoginId

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

The id of the user using the table.

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

LoginId_InnerJoin_Login

Generated join from the foreign key LoginId in this table, to its target table LoginTableInfo.

Declaration
public TargetedInnerJoin<LoginTableInfo> LoginId_InnerJoin_Login { get; }
Property Value
Type Description
TargetedInnerJoin<LoginTableInfo>

Name

Field 'name' in table 'invoice_sum': Dictionary type String[256], .NET type: String

The name of the entry.

Declaration
public StringFieldInfo Name { get; }
Property Value
Type Description
StringFieldInfo

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

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