I want to display a GI on new tab in Stock Items screen.
For example, there is a new custom GI for QT by Inventory which I want to display on Stock Items screen on a new tab that will show the QT for a particular InventoryID only.
Can anyone suggest?
Thanks, Idrus
Page 1 / 1
.
Hi @Naveen B
The GI that I want to show is list of Quote for the particular InventoryID, and I already create the GI for this list. How to customize the additional Tab on Stock screen with GI.
Thanks
Hi @idrusm52 , This requirement you can achieve easily with Side Panel (Very cool feature), instead of customizing the Stock Items screen from code Level.
Please find the step by step details for your reference.
In Customization package, add existing screen (Stock Items screen)
Expand the IN202500, select the Actions and click on the New Action.
Provide the details same as below.
Destination screen→ Your custom GI screen
Action Type → Side Panel
Provide the Navigation parameters.
Hi @idrusm52 , This requirement you can achieve easily with Side Panel (Very cool feature), instead of customizing the Stock Items screen from Level.
Please find the step by step details for your reference.
In Customization package, add existing screen (Stock Items screen)
Expand the IN202500, select the Actions and click on the New Action.
Provide the details same as below.
Destination screen→ Your custom GI screen
Action Type → Side Panel
Provide the Navigation parameters.
Hi @Naveen B
Thank you for your suggestion, seems I have to pass your idea as we’re still using the old version (2019 R1).
I have implemented this feature in 20 R1, when I click on button I opened a GI by passing the required parameters, I did not check in 19 R1, and it may work. Please find the screenshot for your reference.
throw new PXRedirectToGIRequiredException("InventoryItem by Warehouse", parameters) { Mode = PXBaseRedirectException.WindowMode.Layer }; }
Hi @Naveen B That was an useful code for this community.
Hi @idrusm52 In addition, if you are just looking open the Generic Itself as a popup using Customization code in 2019R1, please use the below link that provides an example to open another screen as popup.
You can try this code to open the GI.
Please note to pass the parameter that you require on the GI.
Hi @idrusm52 If you still wanted to go with customization with tab, here is the details and hope this helps you.
Create a tab item in the design page.
Create a Grid control and grid columns in the tab item.
Create a View by passing the required parameters and add this view to the Tab as DataMember
I have created and shared, sample tab with Grid fields in the stock items in other ticket - And attaching the customization package.
Hope this helps!
Hi @Naveen B ,
Is it possible to combine below code or GI after create a tab item in the design page?
PXSiteMapNode node = PXSiteMap.Provider.FindSiteMapNodeByScreenID(“GI000009”); throw new PXRedirectRequiredException(node.Url, PXGenericInqGrph.CreateInstance(), PXBaseRedirectException.WindowMode.New, “Drilldown”);
HI @idrusm52 The above code will redirect and open a GI in separate window, so that we can not combine this in the new tab.
Hi @idrusm52 , This requirement you can achieve easily with Side Panel (Very cool feature), instead of customizing the Stock Items screen from code Level.
Please find the step by step details for your reference.
In Customization package, add existing screen (Stock Items screen)
Expand the IN202500, select the Actions and click on the New Action.
Provide the details same as below.
Destination screen→ Your custom GI screen
Action Type → Side Panel
Provide the Navigation parameters.
Hi @Naveen B
Thank you for your idea and I manage to create it.
Normally if we create a customization in main Tenant, automatically others Tenant will have the same customization, but in this new action side panel, it’s only working with the main Tenant.
Please advise.
Thanks, Idrus
Finally manage to publish the Customization to multiple tenants, case closed.