Show / Hide Table of Contents

Class TargetDimension

Target Dimension carrier

Carrier object for TargetDimension. Services for the TargetDimension Carrier is available from the Targets Agent.
Inheritance
object
TargetDimension
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class TargetDimension : Carrier
Examples

Get TargetDimension 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new TargetsAgent();
   var targetDimension = agent.GetTargetDimension( 123 );
}

Constructors

TargetDimension()

Default constructor

Declaration
public TargetDimension()
See Also
ITargetsAgent

Properties

AssignmentLevel

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

Declaration
[DataMember]
public virtual TargetAssignementLevel AssignmentLevel { get; set; }
Property Value
Type Description
TargetAssignementLevel
See Also
ITargetsAgent

DimensionListField

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

Declaration
[DataMember]
public virtual string DimensionListField { get; set; }
Property Value
Type Description
string
See Also
ITargetsAgent

DimensionListId

List id (can be used by list provider system to get list items)

Declaration
[DataMember]
public virtual int DimensionListId { get; set; }
Property Value
Type Description
int
See Also
ITargetsAgent

DimensionListLabel

list label (list column name)

Declaration
[DataMember]
public virtual string DimensionListLabel { get; set; }
Property Value
Type Description
string
See Also
ITargetsAgent

DimensionListName

List name (can be used by list provider system to get list items)

Declaration
[DataMember]
public virtual string DimensionListName { get; set; }
Property Value
Type Description
string
See Also
ITargetsAgent

EntityType

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

Declaration
[DataMember]
public virtual TargetEntityType EntityType { get; set; }
Property Value
Type Description
TargetEntityType
See Also
ITargetsAgent

MeasurementUnit

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

Declaration
[DataMember]
public virtual TargetMeasurementUnit MeasurementUnit { get; set; }
Property Value
Type Description
TargetMeasurementUnit
See Also
ITargetsAgent

SelectedDimensions

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

Declaration
[DataMember]
public virtual int[] SelectedDimensions { get; set; }
Property Value
Type Description
int[]
See Also
ITargetsAgent

TargetDimensionId

Primary key

Declaration
[DataMember]
public virtual int TargetDimensionId { get; set; }
Property Value
Type Description
int
See Also
ITargetsAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
ITargetsAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
ITargetsAgent

See Also

ITargetsAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top