Hello,
I made a Custom Screen that has two Action Buttons
I want that these Action Buttons appear into my GI screen in Mass Actions but I dont know how
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/83ee8e72-a511-4d7e-9723-6b998a700593.png)
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/cbea9edf-13ac-4bfd-a0af-7325c52fd408.png)
Both buttons have the same structure
#region Actions
public PXAction<USRCBVCVacations> Approve;
[PXButton(CommitChanges = true, Category = "Processing")]
[PXUIField(DisplayName = "Approve")]
protected virtual IEnumerable approve(PXAdapter adapter)
{
USRCBVCVacations vacations = Vacation.Current;
USRCBVCVacationsEntry graph = PXGraph.CreateInstance<USRCBVCVacationsEntry>();
PXLongOperation.StartOperation(this, delegate ()
{
vacations.Status = Vacations.Helper.Constants.Status.Approved;
graph.Vacation.Update(vacations);
graph.Actions.PressSave();
});
return adapter.Get();
}
#endregion
Best answer by davidnavasardyan
View original