Show / Hide Table of Contents

Class InvoiceTableInfo

Table 'invoice': This table contains invoice entries, normally created when an invoice is sent to a customer, and we want to update the balance.

Inheritance
Object
TableInfo
InvoiceTableInfo
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")]
public class InvoiceTableInfo : 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 Invoice in the database dictionary: invoice

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

Properties

CompanyId

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

The reference to 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>

CreatedAt

Field 'created_at' in table 'invoice': Dictionary type DateTime, .NET type: DateTime

When the invoice entry was created.

Declaration
public DateTimeFieldInfo CreatedAt { get; }
Property Value
Type Description
DateTimeFieldInfo

CustomerId

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

The reference to 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

Description

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

A string describing the invoice entry.

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

DictionaryTableNumber

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

InvoiceId

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

The primary key (auto-incremented)

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

PriceCharged

Field 'price_charged' in table 'invoice': Dictionary type Double, .NET type: Double

The amount (money) charged.

Declaration
public DoubleFieldInfo PriceCharged { 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

TimeCharged

Field 'time_charged' in table 'invoice': Dictionary type Int, .NET type: Int32

The amount of time (minutes) charged. From version 2.8 this field is no longer in use

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

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