Ejemplo n.º 1
0
 protected virtual void FARegister_RowSelected(PXCache sender, PXRowSelectedEventArgs e)
 {
     Docs.SetProcessCaption(Messages.DeleteProc);
     Docs.SetProcessAllCaption(Messages.DeleteAllProc);
     Docs.SetProcessDelegate(delegate(List <FARegister> list)
     {
         foreach (FARegister register in list)
         {
             FARegister copy = (FARegister)Docs.Cache.CreateCopy(register);
             Docs.Delete(copy);
         }
         Actions.PressSave();
     });
 }