Show / Hide Table of Contents

Class TargetGroup

Target Group carrier

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

Get TargetGroup 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

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

Constructors

TargetGroup()

Default constructor

Declaration
public TargetGroup()
See Also
ITargetsAgent

Properties

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

PeriodType

Period type for editing this set of targets (Year, Quarter...)

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

TargetAssignments

Collection of target values

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

TargetDimension

Info about the target dimensions

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

TargetGroupId

Primary key

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

Year

The year this set of targets are associated with (2020, 2021...)

Declaration
[DataMember]
public virtual int Year { 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