Class TargetGroup
Target Group carrier
Carrier object for TargetGroup. Services for the TargetGroup 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.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
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
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
TargetAssignments
Collection of target values
Declaration
[DataMember]
public virtual TargetAssignment[] TargetAssignments { get; set; }
Property Value
Type | Description |
---|---|
TargetAssignment[] |
See Also
TargetDimension
Info about the target dimensions
Declaration
[DataMember]
public virtual TargetDimension TargetDimension { get; set; }
Property Value
Type | Description |
---|---|
TargetDimension |
See Also
TargetGroupId
Primary key
Declaration
[DataMember]
public virtual int TargetGroupId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
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
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. |