Does Acumatica have a built-in button to undo changes in Data Entry Grids?
Solved
How to Undo in Data Entry grids?
Best answer by aaghaei
Considering it wasn’t an urgent need I was postponing it. I just gave it another try as follows and made it work.
protected virtual void PMCostProjectionLine_RowDeleting(PXCache cache, PXRowDeletingEventArgs e, PXRowDeleting BaseHandler)
{
var row = e.Row as PMCostProjectionLine;
if (row == null) return;
if (Base.Details.Ask(PMMessages.DeleteCostProjectionLine, MessageButtons.YesNo) != WebDialogResult.Yes)
{
e.Cancel = true;
return;
}
else
{
BaseHandler?.Invoke(cache, e);
}
}
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.