Hello and good Saturday everyone!
I am wondering if it is possible to hang a “print report” action inside a generic inquiry?
I noticed that you can export a GI to the Report Designer and build a report there, that you could upload back to acumatica and create a sitemap entry. But is there a way, like it is in normal screens, that i can hang a action to print the report inside of the inquiry?
Greetings
Hi,
If yes, we can enable the “Enable Mass Actions on Records” in the Entry Point tab, and as soon you select this checkbox a new tab will be shown i.e. Mass Actions, and in this tab, we can select the action.
I have created a simple GI for the SOOrder table, and I have added “Print Sales Orders” at the Mass Actions tab. Please find the details below.





Hello
this seems to go into the right direction, but i can’t find the Action i need inside of the Mass-Transaction Window.
Is there anything i specifically need to do before hand, so that i can select a custom made Report inside of that list? Our Entry-Screen is the Purchase Receipt.
I assume the Action you presented would print all lines seperately and there is no way to select two or more rows to combine them into one Report?
Greetings
Hi,
We cannot perform other than these actions.
Hi
To accomplish what you’re looking for you would need to modify the report to be able to run a range of receipts while still maintaining the look you’re going for (either multiple receipts or joining lines into one document).
Then once you have the report set you can try adding this to the Actions menu on the Purchase Receipt screen, then add the Mass Action to the GI and see if this can work.
This would be the only way to get the desired result of using a GI to print multiple receipts
Let me know if this helps,
thanks!
Then once you have the report set you can try adding this to the Actions menu on the Purchase Receipt screen, then add the Mass Action to the GI and see if this can work.
Hello Benjamin,
i am unsure about how i am able to get the Action to show into the “Mass Actions” tab on the GI.
I tried to create a Action within the Customization Project Editor with a Run Report Type, but i can’t find this action within the GI, although i did use the correct entry screen.
Hi
I was recommending to add the action of printing the report which can work with a range of receipts being added to the Actions menu of the screen it appears on, then checking the Mass Actions of the GI for this option to print.
The Mass Actions uses the Actions which appear on the screen it is acting as primary list of, so in order to see it in the options of the GI it would need to first be added the available drop-down of Actions on the entry screen.
Hej
This is actually exactly what I tried. I added the "run report" action to the Purchase Receipts Screen, so it is available in the drop-down of the entry screen. As I can select this action on the entry screen, I believe I have done it right. But in the generic inquiry mass-action tab it won't show, therefore I can't select it. That's where I am right now.
Hi
As said by Benjamin, yes, once added the report actions to the PO Receipts screen, those actions will shown in the Mass Actions tab,
Hi
Hi
I did it like described here under “Using Workflow Engine”.
Is this what you meant?
Anything new regards this topic?
Thank you!
Maybe if we have a developer advise on how to make sure the new Action is Mass Action ready
To make an Action mass action ready, one must code it to handle selected documents. e.g.
public PXAction<POReceipt> MassActionReady;
PXUIField(DisplayName = "Mass action ready Action")]
PXButton]
public IEnumerable massActionReady(PXAdapter a)
{
// list will contain selected records
List<POReceipt> list = a.Get<POReceipt>().ToList();
// do your thing with this list
return a.Get();
}
Now this action can be configured in Processing screens. The way processing screen works, it calls the action once by passing the selected records. However, the way GI works, it calls the action multiple times, once for each selected record.
Now, for what you are looking to do, which is printing multiple PRs does not work because it opens a new screen to display the report the first time GI calls it, interrupting the flow of GI. So, you end up seeing only one document in the report.
Thus in short, it is not possible to have such mass actions work as intended from GI.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.