Skip to main content

Hello Everyone,

We have a specific requirement to add side panels to the default Acumatica Processing screen (Prepare Replinishment -IN508000)? Is this possible?

Hey Naveen,

It’s not perfect, but you should be able to open side panels from the graph with the following code:

throw new PXRedirectToGIRequiredException("Component Inventory", parameters) { Mode = PXBaseRedirectException.WindowMode.Layer };

This for example, will open the “Component Inventory” GI in a side panel because it’s window mode is set to Layer.

Unfortunately however, I cannot figure out how to house this logic in a nice way that creates the side panel buttons like you would see when you create side panels on GIs or other screens via the project browser wizard. As far as I know, you’d have to house this logic in a standard button, which when pressed would then open the side panel which feels kind of clunky in my opinion, especially if you need multiple side panels. If you or anyone else figures out how to do this more elegantly, I’d love to know as well.


As a side note for general information for the curious, if you use this code segment on a screen that already has side panels configured, this code will simply redirect your current side panel according to your Redirect Exception.​​​​​​​ When used in conjunction with a javascript script to identify which panel is currently open, this can be very useful to update side panels automatically! This also allows for side panels to accept detail level parameters. Very Handy!


Hi, @jknauf Thanks a lot for the response.

I just checked this and able to open the side panel but it is different from the default Acumatica side panel behavior (Not able to close the side panel).. Please find the screenshot for reference.

I would like to add around 6 side panels for this screen. When I add from the customization project, the Side Panel option is NOT showing for this “Prepare Replenishment” screen.

 




 

 


@Naveen B Yeah, that’s what I meant by it being clunky. As far as I know you’d have to make a menu folder for all your side panel actions, and users could change the side panel with those buttons, but I don’t even know how you’d hide the side panel with this kind of method.

I imagine it’s possible to make a nice looking side panel from code considering we can get this far, but I couldn’t figure it out. figured I’d share as far as I got.


Hi @jknauf  Understood and thanks a lot for sharing this info.

However, I have raised a support ticket with Acumatica on this and will share the info once I get the response from Acumatica.


Hey @Naveen B I’ve actually been digging around myself and found some interesting information. I think we may be able to find a creative solution with this. Anyway, I tried creating a side panel navigation action by directly editing the XML through the customization project browser. When I did this, I got a side panel to appear properly with all the buttons as it would be  when you create the action with a wizard. The issue is the buttons were dead, they didn’t do anything.

But here is where things get interesting. This is the same functionality that these buttons have on any other screen when creating a new record, but once the record is saved the side panel button behave as expected. This leads me to believe the side panel buttons require a reference to an instance of the screen’s graph’s primary DAC. Without one the code probably receives and catches a null reference exception, which would explain why the buttons are dead while creating a new record. And that’s why the processing screens likely have side panel navigation disabled, since their primary DAC’s are always filters.

Knowing this I have a few ideas that might make this functional.

first, we could try to find and directly override the logic that catches the null exception (if that is what’s actually happening)

or we could use javascript to listen for side panel actions to be called and run the code snippet I showed earlier to force a redirect with custom logic. Since I now know we can create the buttons for the side panels with the XML, this solution seems a lot more viable to me.


Hi @jknauf ,

Yes, after some R&D I found this info that Side Panel will be only will work for data entry with Primary DAC view.


For this, I have changed the “Prepare Replenishment” processing screen to the normal “Form Details” screen, where I can add some dummy Primary DAC and View but still NOT working. :( 


Hi @jknauf ,

Yes, after some R&D I found this info that Side Panel will be only will work for data entry with Primary DAC view.


For this, I have changed the “Prepare Replenishment” processing screen to the normal “Form Details” screen, where I can add some dummy Primary DAC and View but still NOT working. :( 

 

I’m sorry Naveen, my company doesn’t actually use Replenishments so I’m not even familiar with this screen.

Also, my javascript solution doesn’t seem to work either / :
I build a mock-proof of concept project. I am able to get the side panel with buttons, and the side panel even opens, but only for a brief second. It then automatically closes itself and gets stuck that way. Sorry I wasn’t able to help more


Hi @Naveen B - curious to know what information you’re wanting to include as a side panel in this processing screen and why?  What is the business requirement that you’re needing to solve?

Thanks,

-Dana


@Dana Moffat, I would like to do this as well.  It would be beneficial to have this on the “Dead Stock” and “Prepare Replenishment” processing screens so that the user does not have to bounce around to see open and historical transactions while reviewing the item data on these screens.


This would be useful for a couple of my customers as well. As they review the Prepare Replenishment screen, they would like to be able to make adjustments right then, to the replenishment parameters on the Stock Item.


Hi @Naveen Boga  were you able to find a solution? Thank you!


Hi community followers of this thread.  Side panels are not currently supported on the processing screens. 

 

 


@Dana Moffat 

Is Acumatica planning to add functionality to pass parameters from form details to side panels? I know its possible with some messy mix of C# and JS workaround but I am asking for out-of-box possibility if is in the road map.


Hi @aaghaei , this is a common request from community members.  It would require a platform change to support the ability to pass parameters from a transactional detail line to a side panel that would then use that parameter.  Some members, such as @jknauf have devised clever customization solutions to accomplish this.  I invite you to watch this Community Meetup that we did last year featuring Acumatica Community members who explain and show their creative solutions.

-Dana


@Dana Moffat 

I was in this meet-up session last year which is why I mentioned in my previous comment “mix of JS and C#”. Acumatica really needs to take something like this seriously with all these demands and needs raised from multiple sources.


I would like to explore business requirements/needs with posters on this thread. 

Let’s talk about why you think Side Panels are the answer to the business requirement.

If you’re interested in meeting me, indicate your interest here.

 


Hello is this possilbe yet?

It would be very very very helpful if it was possilbe.

Example scerario:

In the Process Shipments screen. Rather than the warehouse person having to fully open every shipment on their screen to see what work they have, they can instead quickly check it on the side panel.


Hi @dan_00 side panels for processing screens to pass the line-level values to the side panel is on the product roadmap.


@Dana Moffat Are you able to share an ETA for this features from your last comment?


@Dana Moffat  I’m also interested in this. When this functionality is added for the processing screens, will side panels also be available for regular Inquiry screens? 


@Naveen Boga  How can we close this side panel is there any option with out refreshing the screen

 

 


@Dana Moffat - Hello Dana, I am quite late on reading this post. I actually stumbled across it when I went to see if we could add side panels to processing screen. In fact, the Prepare Replenishment screen happens to also be the screen to which I hoped to add a Side Panel.

For what it is worth, I will give you our customer’s Business need.

For a multi-warehouse environment, when a user in a particular warehouse uses the Prepare Replenishment screen to plan out transfers from other warehouses, they only have visibility of the default source warehouse for the transfer. The remote warehouse is not able to see on this screen whether the source warehouse has enough stock for a transfer, and they also can not see if any other warehouses have stock available. The customer would like to see how many are available in each of the warehouses, so they may want to transfer from a different warehouse than the default source warehouse, based on the quantities in each of the other warehouses. (They are not centrally purchasing and distributing from a main warehouse.)

I built out a quick Generic Inquiry to use as a Side Panel, but then realized I could not add a side panel to the processing screen.

 

Envisioned as a side panel for selected row on Prepare Replenishment:

I am just reporting the additional business need for functionality on Prepare Replenishment.

 

Thank you.


Hi @gbrazelton14,

Thank you for providing the business use case to this community post.

Dana


Reply