RequestE3Info.getE3Info Method

Get all E3 information into a data table, ready to be displayed in a grid. 
Returns a data table containing the MARKS, the Category and the E3 Field and the corresponding amount. 
The returned data are those that will be included in the annual E3 document of the entity, so the end user will know the document will be pre-filled.
Public Function getE3Info() As DataTable
This language is not supported or no code example is available.
public DataTable getE3Info()
This language is not supported or no code example is available.

Return Value

DataTable
Example
 
 DataTable dt = rei.getE3Info();
 DataGridView1.DataSource = dt; // Load DataTable directly to a DataGridView
 
 For (var i = 0; i <= dt.Rows.Count - 1; i++) // GO THROUGH ALL OF THE DATATABLE'S ROWS
 {
     int index = dt.Rows(i).Item("index");
     string mark = dt.Rows(i).Item("mark");
     string vatNumber = dt.Rows(i).Item("vatNumber");
     DateTime issueDate = dt.Rows(i).Item("issueDate);
     string category = dt.Rows(i).Item("category");
     string E3Field = dt.Rows(i).Item("type");
     double amount = dt.Rows(i).Item("amount");
 }
 					
This language is not supported or no code example is available.
 Dim dt As DataTable = rei.getE3Info()
 DataGridView1.DataSource = dt 'Load DataTable directly to a DataGridView
 
 For i = 0 To dt.Rows.Count - 1 'GO THROUGH ALL OF THE DATATABLE'S ROWS
     DataGridView1.DataSource = dt
     Dim index As Integer = dt.Rows(i).Item("index")
     Dim mark As String = dt.Rows(i).Item("mark")
     Dim vatNumber As String = dt.Rows(i).Item("vatNumber")
     Dim issueDate As DateTime = dt.Rows(i).Item("issueDate")
     Dim category As String = dt.Rows(i).Item("category")
     Dim E3Field As String = dt.Rows(i).Item("type")
     Dim amount As Double = dt.Rows(i).Item("amount")
 Next
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition