Hi Rajesh,
You can use the Validate Event to perform the same. But you will have to make your scenario that how do you want to use it.
Like as follows:
if (pVal.ItemUID == "Matrix" && pVal.ColUID == "colRequest" && pVal.FormMode == 2 && pVal.EventType == BoEventTypes.et_VALIDATE)
{
SAPbouiCOM.Matrix oMatrix = (SAPbouiCOM.Matrix)oForm.Items.Item("Matrix").Specific;
int Row = pVal.Row;
SAPbouiCOM.EditText oEditIsUsed = (SAPbouiCOM.EditText)oMatrix.Columns.Item("Used").Cells.Item(Row).Specific;
if (oEditIsUsed.Value.Trim() == "Y")
{
ShowMessage("Invalid Action. Cannot make changes once the Item is used.", BoStatusBarMessageType.smt_Error);
BubbleEvent = false;
}
}
Hope it helps.
Thanks & Regards
Ankit Chauhan