RequestE3Info.getE3Info Method
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.
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.