Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Internal error during fill matrix from recordset

Hi guys,

I have a problem with sdk, I'm a beginner... During fill data into matrix SAP give me thi error:

Internal error (4011) [131-183]

This is the code that I use to populate my matrix:

' Procedo con il caricamento delle scadenze trovate in archivio

Dim oRecINV6 As SAPbobsCOM.Recordset

oRecINV6 = m_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)

oRecINV6.DoQuery("SELECT DueDate, PaidToDate FROM INV6 WHERE DocEntry = " & EditText8.Value)

' Accedo ai dati


For iRec As Integer = 1 To oRecINV6.RecordCount

  Dim Scadenza As String = oRecINV6.Fields.Item("DueDate").Value

  Dim DaPagare As String = oRecINV6.Fields.Item("PaidToDate").Value

  'Matrix0.AddRow(iRec + 1, iRec)


  Matrix0.Columns.Item("dtScadenza").Cells.Item(iRec).Specific.Value = Scadenza

  Matrix0.Columns.Item("PaidToDate").Cells.Item(iRec).Specific.Value = DaPagare




I use SAP Business One Studio for Microsoft Visual Studio to create my Add On.

Thank's a lot for all!!!

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question