Matrix row editable
SeKo
Hi all,on the Order form I would like to make some rows in the matrix non-editable. Is there a way to do it? I could catch the Click event but maybe there is a better way? (like there is for columns)
grtz,
Sebastiaan
Paolo Manfrin
Hi Sebastian,here the code you need to make a matrix column non editable
For my test I used a sales order, matrix 38, column itemcode
[CODE]
SAPbouiCOM.Form oSAPForm = SwissAddonFramework.B1Connector.GetB1Connector().Application.Forms.ActiveForm;
SAPbouiCOM.Item oItem = oSAPForm.Items.Item("38");
SAPbouiCOM.Matrix oMatrix = (SAPbouiCOM.Matrix) oItem.Specific;
SAPbouiCOM.Column itemCodeColumn = oMatrix.Columns.Item("1");
itemCodeColumn.Editable = false;
oSAPForm.Update();
[/CODE]
hth
paolo
SeKo
Hi Paolo,I knew how to change the column but in the meantime I learned it's not possible to do it on a row level.
thanks!
0
Please sign in to leave a comment.
Comments
0 comments