myDATATools.getAllCategoriesNames Method
Get a list of all categories, regardless of invoice type, along with their entire descriptions.
Use this function to get all the supported categories, no matter of the invoice type.
This function is useful for invoices where there are no specific supported categories. These invoice types are 1.6, 2.4, and 5.1.
The advantage of this method is that you can also get the description of each supported category, so the end user knows exactly what he is going to 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.
This function is not available in the Trial Version.
Public Function getAllCategoriesNames( _ |
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
checkType
-
int
Check Type (Income/Expenses).
1 is for Income Categories
2 is for Expenses Categories
3 is for Income and Expenses Categories
Return Value
Dictionary<
string,
object>
myDATATools mdt = new myDATATools( "Arbitrans User" , "Arbitrans Key" ); |
Dictionary< string , object > cats = mdt.getAllCategoriesNames(1); |
Console.WriteLine( " Category Code: " & cat.Key); |
Console.WriteLine( "Category Description: " & cat.Value); |
This language is not supported or no code example is available.
Dim mdt as myDATATools = new myDATATools( "Arbitrans User" , "Arbitrans Key" ) |
Dim cats As Dictionary(Of String , Object ) = mdt.getAllCategoriesNames(1) |
Console.WriteLine( " Category Code: " & cat.Key) |
Console.WriteLine( "Category Description: " & cat.Value) |
This language is not supported or no code example is available.
.NET Framework
Supported in: 3.5 or newer