myDATATools.getValidCategoryNames (String, Int32) Method

Get a list of all valid Categories with full descriptions for a specific InvoiceType and ClassificationCategory combination. 
This function can be used to get all the categories supported by AADE for a specific invoice type, whether it is income or expense. 
This way, you can limit the end user's options and lead him to select the correct category. 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 getValidCategoryNames( _ 
ByVal InvoiceType As String, _ 
ByVal checkType As Integer
) As Dictionary(Of String, Object)
This language is not supported or no code example is available.
public Dictionary<string, object> getValidCategoryNames( 
string InvoiceType
int checkType 
)
This language is not supported or no code example is available.

Parameters

InvoiceType
string

Invoice Type (1.1, 1.2, 1.3, etc)

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>
Example
 
 myDATATools mdt = new myDATATools("Arbitrans User", "Arbitrans Key");
 Dictionary<string, object> result = mdt.getValidCategoryNames("1.1", 1);
 
 // The result of the above is a list containing:
 // [category1_1, Έσοδα από Πώληση Εμπορευμάτων]
 // [category1_2, Έσοδα από Πώληση Προϊόντων]
 // [category1_3, Έσοδα από Παροχή Υπηρεσιών]
 // [category1_4, Έσοδα από Πώληση Παγίων]
 // [category1_5, Λοιπά Έσοδα και Κέρδη]
 // [category1_7, Έσοδα για Λογαριασμό Τρίτων]
 // [category1_8, Έσοδα Προηγούμενων Χρήσεων]
 // [category1_9, Έσοδα Επομένων Χρήσεων]
 // [category1_95, Λοιπά Πληροφοριακά Στοιχεία Εσόδων]
 					
This language is not supported or no code example is available.
 Dim mdt as myDATATools = new myDATATools("Arbitrans User", "Arbitrans Key")
 Dim result As Dictionary(Of String, Object) = mdt.getValidCategoryNames("1.1", 1)
 
 ' The result of the above is a list containing:
 ' [category1_1, Έσοδα από Πώληση Εμπορευμάτων]
 ' [category1_2, Έσοδα από Πώληση Προϊόντων]
 ' [category1_3, Έσοδα από Παροχή Υπηρεσιών]
 ' [category1_4, Έσοδα από Πώληση Παγίων]
 ' [category1_5, Λοιπά Έσοδα και Κέρδη]
 ' [category1_7, Έσοδα για Λογαριασμό Τρίτων]
 ' [category1_8, Έσοδα Προηγούμενων Χρήσεων]
 ' [category1_9, Έσοδα Επομένων Χρήσεων]
 ' [category1_95, Λοιπά Πληροφοριακά Στοιχεία Εσόδων]
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition