Show / Hide Table of Contents

Class PriceListRecordData

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

Inheritance
object
PriceListRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class PriceListRecordData
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

PriceListRecordData()

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

Declaration
public PriceListRecordData()
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

CurrencyId

What is the currency for this pricelist

Declaration
public int CurrencyId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Description

Description of this pricelist , will be used as tool-tip in the user interface.

Declaration
public string Description
Field Value
Type Description
string
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ERPPriceListKey

The key that uniquely identifies this pricelist in the ERP system

Declaration
public string ERPPriceListKey
Field Value
Type Description
string
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

IsActive

Is the list active (as opposed to being worked on, suddenly canceled, etc.

Declaration
public short IsActive
Field Value
Type Description
short
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

IsERPCopy

If true, then this pricelist is a cache/copy and cannot be edited by users in CRM

Declaration
public short IsERPCopy
Field Value
Type Description
short
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Name

Name of this pricelist to use in the user interface.

Declaration
public string Name
Field Value
Type Description
string
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PriceListId

Primary key

Declaration
public int PriceListId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

QuoteConnectionId

(Reserved for future use) The connection to the ERP system used for this pricelist

Declaration
public int QuoteConnectionId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ValidFrom

The date (inclusive) the pricelist start to be valid. This can be DateTime.MinValue to signal that it doesn't have a specific start date.

Declaration
public DateTime ValidFrom
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ValidTo

The date (inclusive) the pricelist ends to be valid. This can be DateTime.MaxValue to signal that it doesn't have a specific end date.

Declaration
public DateTime ValidTo
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full PriceListRow 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 PriceListTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Extension Methods

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