myDATATools.getAllCategories Method

Get all the categories, no matter the invoice Type. 
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. 
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 getAllCategories( _ 
ByVal checkType As Integer
) As String()
This language is not supported or no code example is available.
public string[] getAllCategories( 
int checkType 
)
This language is not supported or no code example is available.

Parameters

checkType
int

Check Type (Income/Expenses). 
1 is for Income 
2 is for Expenses

Return Value

string[]
Example
 
 myDATATools mdt = new myDATATools("Arbitrans User", "Arbitrans Key");
 string[] incCat = mdt.getAllCategories(1); // income categories
 string[] expCat = mdt.getAllCategories(2); // expenses categories
 					
This language is not supported or no code example is available.
 Dim mdt as myDATATools = new myDATATools("Arbitrans User", "Arbitrans Key")
 Dim incCat as String() = mdt.getAllCategories(1) 'income categories
 Dim expCat as String() = mdt.getAllCategories(2) 'expenses categories
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition