Class InvoiceRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the invoice table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class InvoiceRecordData
Remarks
Please use this class instead of a full InvoiceRow 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 InvoiceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
InvoiceRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the invoice table.
Declaration
public InvoiceRecordData()
Remarks
Please use this class instead of a full InvoiceRow 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 InvoiceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
CompanyId
The reference to the company entry this entry is connected to. NULL or -1 if not connected.
Declaration
public int CompanyId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full InvoiceRow 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 InvoiceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
CreatedAt
When the invoice entry was created.
Declaration
public DateTime CreatedAt
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full InvoiceRow 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 InvoiceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
CustomerId
The reference to the customer entry this entry is connected to. NULL or -1 if not connected.
Declaration
public int CustomerId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full InvoiceRow 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 InvoiceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Description
A string describing the invoice entry.
Declaration
public string Description
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full InvoiceRow 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 InvoiceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
InvoiceId
The primary key (auto-incremented)
Declaration
public int InvoiceId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full InvoiceRow 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 InvoiceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
PriceCharged
The amount (money) charged.
Declaration
public double PriceCharged
Field Value
Type | Description |
---|---|
double |
Remarks
Please use this class instead of a full InvoiceRow 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 InvoiceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
TimeCharged
The amount of time (minutes) charged. From version 2.8 this field is no longer in use
Declaration
public int TimeCharged
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full InvoiceRow 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 InvoiceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.