Get a Column Value in system matrix(SAPbouiCOM.Matrix) in SAP Busines One
To get the column value you can code like below
public void SBO_Application_ItemEvent(string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent) { if ((pVal.ItemUID == "Matrix1") & (pVal.EventType != BoEventTypes.et_CLICK)) { try { SAPbouiCOM.Form oForm1 = SBO_Application.Forms.ActiveForm; Item oItemmatrix = oForm1.Items.Item("Matrix1"); Matrix oMatrix = ((SAPbouiCOM.Matrix)(oItemmatrix.Specific)); string COLVALUE = Convert.ToInt32(((SAPbouiCOM.EditText)oMatrix.Columns.Item("COLID").Cells.Item(pVal.Row).Specific).Value.ToString()); oMatrix.SelectionMode = BoMatrixSelect.ms_Auto; oMatrix.SelectRow(pVal.Row, true, false); } catch(Exception ex) { } } }