Class CurrencyAggregation
This aggregator expects two fields, first is the amount (without currency), the second the currency to convert to. Use like this: CurrencyConvert(valueField;currencyIdField):Own
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists.Aggregation
Assembly: SoDataBase.dll
Syntax
[AggregationPlugin("CurrencyConvert")]
public class CurrencyAggregation : AggregationPluginBase, IAggregationScalarPlugin, IAggregationPlugin, IPlugin
Constructors
CurrencyAggregation()
This aggregator expects two fields, first is the amount (without currency), the second the currency to convert to. Use like this: CurrencyConvert(valueField;currencyIdField):Own
Declaration
public CurrencyAggregation()
Fields
PluginName
This aggregator expects two fields, first is the amount (without currency), the second the currency to convert to. Use like this: CurrencyConvert(valueField;currencyIdField):Own
Declaration
public const string PluginName = "CurrencyConvert"
Field Value
Type | Description |
---|---|
String |
Methods
AddItem(ArchiveColumnData)
This aggregator expects two fields, first is the amount (without currency), the second the currency to convert to. Use like this: CurrencyConvert(valueField;currencyIdField):Own
Declaration
public override ArchiveColumnData AddItem(ArchiveColumnData item)
Parameters
Type | Name | Description |
---|---|---|
ArchiveColumnData | item |
Returns
Type | Description |
---|---|
ArchiveColumnData |
Overrides
AddItem(ArchiveColumnData[])
This aggregator expects two fields, first is the amount (without currency), the second the currency to convert to. Use like this: CurrencyConvert(valueField;currencyIdField):Own
Declaration
public override ArchiveColumnData AddItem(ArchiveColumnData[] items)
Parameters
Type | Name | Description |
---|---|---|
ArchiveColumnData[] | items |
Returns
Type | Description |
---|---|
ArchiveColumnData |
Overrides
GetAggregatedValue()
This aggregator expects two fields, first is the amount (without currency), the second the currency to convert to. Use like this: CurrencyConvert(valueField;currencyIdField):Own
Declaration
public override ArchiveColumnData GetAggregatedValue()
Returns
Type | Description |
---|---|
ArchiveColumnData |
Overrides
ToString()
This aggregator expects two fields, first is the amount (without currency), the second the currency to convert to. Use like this: CurrencyConvert(valueField;currencyIdField):Own
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |