Skip to main content

I’m triggering an action on multiple EPEmployee rows on GI ScreenId=EP2030PL.  The PXAdapter TotalRows = 0 on each action call, and for each Base.Employee.Current is obviously a single employee.  I would like to either get the row count on how many where triggered so that I can make an API call on the last one, or get an indicator when the last action is being called.

I’d prefer to get all of the selected Employee objects in a single Action on PXGraphExtension<EmployeeMaint> without creating a custom DAC and custom MassProcessing screen.  Is there a way to do this?

I don’t have much experience using Mass Actions on GIs but I suspect the answer is no or at least not easily.

Is there a particular reason you don’t want to create a custom processing screen? Going that route would make it much easier to run any necessary code after the completion. 


I agree with @markusray17 .

Going through the GI mass actions is not an easy path for that requirement.

 

However, let me challenge your requirement a little bit as well. What is your goal here? Do you want to sync employees to some other system? 


I need to send the selected employee records to an API as a group.  I’ll make a custom processing screen. I realized after posting that the selection was likely to be 100% front end, so grouping the selections was going to be difficult at best.


Reply