Show / Hide Table of Contents

Class TargetDimensionRecordData

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

Inheritance
object
TargetDimensionRecordData
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 TargetDimensionRecordData
Remarks

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

Constructors

TargetDimensionRecordData()

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

Declaration
public TargetDimensionRecordData()
Remarks

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

Fields

AssignmentLevel

What level this dimension can be assigned to (Company, Group, Associate)

Declaration
public TargetAssignementLevel AssignmentLevel
Field Value
Type Description
TargetAssignementLevel
Remarks

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

DimensionListField

List that defines the dimensions for this target matrix (ex: Sale type, source, partner, business, udef or extrafield lists...)

Declaration
public string DimensionListField
Field Value
Type Description
string
Remarks

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

EntityType

Entity type for this set of targets (Sale, Project, Selection, Appointment...)

Declaration
public TargetEntityType EntityType
Field Value
Type Description
TargetEntityType
Remarks

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

MeasurementUnit

What to measure (Amount, Count, Profit...

Declaration
public TargetMeasurementUnit MeasurementUnit
Field Value
Type Description
TargetMeasurementUnit
Remarks

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

SelectedDimensions

id's of the selected/wanted dimensions (what sale types or udef list lines that should be target dimensions)

Declaration
public int[] SelectedDimensions
Field Value
Type Description
int[]
Remarks

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

TargetDimensionId

Primary key

Declaration
public int TargetDimensionId
Field Value
Type Description
int
Remarks

Please use this class instead of a full TargetDimensionRow 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 TargetDimensionTableInfo 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 TargetDimensionRow 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 TargetDimensionTableInfo 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 TargetDimensionRow 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 TargetDimensionTableInfo 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 TargetDimensionRow 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 TargetDimensionTableInfo 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)
TargetDimensionRecordDataExtensions.ToInsertAsync(TargetDimensionRecordData, 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