Skip to Content
0
Former Member
Jul 02, 2009 at 10:00 AM

Find the warehouse in Cell of system matrix

166 Views

I´m trying to find the warehouse code in each row of matrix with the following code:

 
oEditText = ((SAPbouiCOM.EditText)oMatrix.Columns.Item("24").Cells.Item(oMatrix.RowCount - 1).Specific); 

in the several sales documents as invoice, quotation... my add-on can get the warehouse code in column 24, in the Sales Order my code return the error: Row - Invalid index . The index in Sales Order is different?

Anyone can tell me the best way to find the warehouse code in matrix row?

thanks in advance.

Luis Duarte