Class TargetDimension
Target Dimension carrier
Carrier object for TargetDimension. Services for the TargetDimension Carrier is available from the Targets Agent.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
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
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
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
DimensionListLabel
list label (list column name)
Declaration
[DataMember]
public virtual string DimensionListLabel { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
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
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
MeasurementUnit
What to measure (Amount, Count, Profit...
Declaration
[DataMember]
public virtual TargetMeasurementUnit MeasurementUnit { get; set; }
Property Value
Type | Description |
---|---|
TargetMeasurementUnit |
See Also
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
TargetDimensionId
Primary key
Declaration
[DataMember]
public virtual int TargetDimensionId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
See Also
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. |