Show / Hide Table of Contents

Class InvoiceEntryRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the invoice_entry table.

Inheritance
System.Object
InvoiceEntryRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class InvoiceEntryRecordData : Object
Remarks

Please use this class instead of a full InvoiceEntryRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding InvoiceEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

InvoiceEntryRecordData()

Declaration
public InvoiceEntryRecordData()

Fields

DateInvoiced

The date for the invoice entry

Declaration
public DateTime DateInvoiced
Field Value
Type Description
System.DateTime

Description

A description of the invoice entry

Declaration
public string Description
Field Value
Type Description
System.String

Discount

Discount for this invoice entry

Declaration
public int Discount
Field Value
Type Description
System.Int32

DiscountMoney

Discount for this invoice entry in money

Declaration
public int DiscountMoney
Field Value
Type Description
System.Int32

IeSum

The sum of the invoice entry

Declaration
public int IeSum
Field Value
Type Description
System.Int32

InvoiceEntryId

Primary key

Declaration
public int InvoiceEntryId
Field Value
Type Description
System.Int32

MessageId

The message.id this invoice entry is connected to.

Declaration
public int MessageId
Field Value
Type Description
System.Int32

PricePrUnit

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 int PricePrUnit
Field Value
Type Description
System.Int32

Quantity

Number of units

Declaration
public double Quantity
Field Value
Type Description
System.Double

Type

The type of this invoice entry

Declaration
public int Type
Field Value
Type Description
System.Int32

Extension Methods

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