Class TargetAssignment
Target Period Assignment carrier
Carrier object for TargetAssignment. Services for the TargetAssignment 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.9.0.0")]
public class TargetAssignment : Carrier
Constructors
TargetAssignment()
Default constructor
Declaration
public TargetAssignment()
See Also
Properties
Currency
The currency of the target.
Use MDO List name "currency" to get list items.
Declaration
[DataMember]
public virtual Currency Currency { get; set; }
Property Value
| Type | Description |
|---|---|
| Currency |
See Also
DimensionListItem
Id of the dimension list item this assignement is for
Declaration
[DataMember]
public virtual int DimensionListItem { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
DimensionListItemDisplayName
Display name of the dimension list item this assignement is for.
Declaration
[DataMember]
public virtual string DimensionListItemDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Locked
Locked, should not be editable
Declaration
[DataMember]
public virtual bool Locked { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
TargetAssignmentInfoId
Primary key
Declaration
[DataMember]
public virtual int TargetAssignmentInfoId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
TargetAssociate
The associate this target is set for. Only one of TargetAssociate, TargetContact and TargetUserGroup will be set for a target.
Declaration
[DataMember]
public virtual Associate TargetAssociate { get; set; }
Property Value
| Type | Description |
|---|---|
| Associate |
See Also
TargetContact
The contact this target is set for. Only one of TargetAssociate, TargetContact and TargetUserGroup will be set for a target.
Declaration
[DataMember]
public virtual Contact TargetContact { get; set; }
Property Value
| Type | Description |
|---|---|
| Contact |
See Also
TargetUserGroup
The usergroup this target is set for. Only one of TargetAssociate, TargetContact and TargetUserGroup will be set for a target.
Declaration
[DataMember]
public virtual UserGroup TargetUserGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| UserGroup |
See Also
Values
Values of the target; all periods; in ascending order.
Declaration
[DataMember]
public virtual double[] Values { get; set; }
Property Value
| Type | Description |
|---|---|
| double[] |
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. |