myDATATools.getValidCategory (String) Method

Retrieve all valid categories of a specific Classification Type. 
This function works in reverse and returns all the acceptable categories for a specific E3 code. 
You can use this function when the use knows the E3 Code and he is not sure which category should select. 
Categories are used in invoice classification for the field classification.Category or the field classifications.classificationCategory 
The responsibility for selecting the appropriate category lies with the end user.
Public Function getValidCategory( _ 
ByVal classificationType As String
) As String()
This language is not supported or no code example is available.
public string[] getValidCategory( 
string classificationType 
)
This language is not supported or no code example is available.

Parameters

classificationType
string

This parameter refers to the E3 code, example E3_106

Return Value

string[]
Example
 
 myDATATools mdt = new myDATATools("Arbitrans User", "Arbitrans Key");
 string[] result = mdt.getValidCategory("E3_106");
 
 // The result of the above is a list containing:
 // category2_10
 // category2_11
 // category2_12
 					
This language is not supported or no code example is available.
 Dim mdt as myDATATools = new myDATATools("Arbitrans User", "Arbitrans Key")
 Dim result As String() = mdt.getValidCategory("E3_106")
 
 ' The result of the above is a list containing:
 ' category2_10
 ' category2_11
 ' category2_12
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition