RequestE3Info.getE3Sums Method

Retrieve the sums of each E3 code associated with the current search result in a dictionary.
Public Function getE3Sums( _ 
Optional ByVal removeZeroValues As Boolean = False _ 
) As Dictionary(Of String, Double)
This language is not supported or no code example is available.
public Dictionary<string, double> getE3Sums( 
bool removeZeroValues = False 
)
This language is not supported or no code example is available.

Parameters

removeZeroValues
bool

Default Value False. 
Turn this variable to true, and the entries with a zero (0.0) amount will be excluded.

Return Value

Dictionary<string, double>
Remarks
 
If removeZeroValues is False, then the result will be like: 

{E3_561_001, 500} 
{E3_561_003, 157.39} 
... 
{, 0} 
{E3_585_006, 1257.61} 

 
If removeZeroValues is True, then the result will be like: 

{E3_561_001, 500} 
{E3_561_003, 157.39} 
... 
{E3_585_006, 1257.61} 
}
Example
 
 Dictionary<string, object> result = rei.getCodeSums();
 
 // Retrived dictionary mask [<category>-<E3Field>], <amount>]
 // The result of the above is a list containing data like:
 // [E3_561_001, 500]
 // [E3_561_003, 157.39]
 // [, 0]
 // [E3_585_006, 1257.61]
 					
This language is not supported or no code example is available.
 Dim result As Dictionary(Of String, Object) = rei.getValidCategoryNames()
 
 'Retrived dictionary mask [<category>-<E3Field>], <amount>]
 'The result of the above is a list containing data like:
 '[E3_561_001, 500]
 '[E3_561_003, 157.39]
 '[, 0]
 '[E3_585_006, 1257.61]
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition