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