myDATATools.checkE3Class (String, String, Int32, Boolean) Method

Checks whether the E3 Code and Category combination is valid in general, regardless of invoice type. 
Use this function to see if a combination occurs in general.
Public Function checkE3Class( _ 
ByVal classificationType As String, _ 
ByVal classificationCategory As String, _ 
ByVal checkType As Integer, _ 
Optional ByVal force As Boolean = False _ 
) As Boolean
This language is not supported or no code example is available.
public bool checkE3Class( 
string classificationType
string classificationCategory
int checkType
bool force = False 
)
This language is not supported or no code example is available.

Parameters

classificationType
string

E3 Code.

classificationCategory
string

The Category.

checkType
int

Check Type (Income/Expenses). 
1 is for Income 
2 is for Expenses 
3 in General (Income or Expenses)

force
bool

Force the combination check directly from AADE. TIP: Send True once for the very first check. Then the dll will remember the combinations.

Return Value

bool

true if the combination exists, false otherwise.

Example
 
 myDATATools mdt = new myDATATools("Arbitrans User", "Arbitrans Key");
 bool exists = mdt.checkE3Class("E3_561_001", "category1_1", 1, true);
 					
This language is not supported or no code example is available.
 Dim mdt as myDATATools = new myDATATools("Arbitrans User", "Arbitrans Key")
 Dim exists As Boolean = mdt.checkE3Class("E3_561_001", "category1_1", 1, true)
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition