Skip to main content
Answer

Process and Process all buttons not showing

  • July 2, 2025
  • 3 replies
  • 86 views

I can not get process and process all to show up on this graph:

 

    public class RecycleSeries : PXGraph<RecycleSeries>
    {

        [PXProcessButton]
        public PXProcessing<Series> SeriesRecords;


        public PXSelect<
            SeriesDetail,
            Where<SeriesDetail.seriesID, Equal<Current<Series.bookSeriesID>>>>
            SeriesDetailRecords;

        

        public RecycleSeries()
        {
            SeriesRecords.SetSelected<Series.selected>(); 
            SeriesRecords.SetProcessDelegate(Process); 
            SeriesRecords.SetProcessAllVisible(true); 
            SeriesRecords.SetProcessVisible(true); 
        }

Removed Process handler for clarity.

Could the aspx be messed up?

I have this for the aspx:
 

  <CallbackCommands>
<px:PXDSCallbackCommand Visible="True" Name="Process" ></px:PXDSCallbackCommand>
<px:PXDSCallbackCommand Visible="True" Name="ProcessAll" ></px:PXDSCallbackCommand></CallbackCommands>

Not sure if it’s needed.

 

Could it just be an issue with the toolbar?”
It doesn’t look like any actions are showing up.

Best answer by Patrick Chen

@Eberen You shouldn’t add the Process commands to the ASPX.  Is your process function static?  It should look like this   

public static void Process(List<Series> list)

3 replies

Forum|alt.badge.img+7
  • Captain II
  • July 2, 2025

I don’t have a [PXProcessButton] attribute. Just my PXProcessing line to declare the Processing View:

public PXProcessing<INItemSite,
Where<INItemSiteExt.usrMyCustomField.IsNotEqual<INItemSite.lastCost>>> ItemsToUpdate;

Have you set the PrimaryView in the aspx to match your processing view, SeriesRecords?


Forum|alt.badge.img+1
  • Semi-Pro III
  • July 3, 2025

@Eberen 

Below is the sample code for Process & Process All button

        public PXProcessing<Customer, Where<Customer.statementCycleId, Equal<Current<ARStateRegisterFilter.statementCycleId>>>> ARStatementReg;


public ARStatementRegister()
{
ARStateRegisterFilter currentFilter = ObjFilter.Current;
ARStatementReg.SetProcessCaption("Process");
ARStatementReg.SetProcessAllCaption("Process All");
ARStatementReg.SetProcessDelegate(
delegate (List<Customer> list)
{
ExportARReport(list, currentFilter);
});
}

Hope this helps!


Patrick Chen
Varsity II
Forum|alt.badge.img+2
  • Varsity II
  • Answer
  • July 3, 2025

@Eberen You shouldn’t add the Process commands to the ASPX.  Is your process function static?  It should look like this   

public static void Process(List<Series> list)