Solved

Adding a new Data Member

  • 4 January 2023
  • 6 replies
  • 203 views

Userlevel 6
Badge +3

Hello experts,
I’ve been trying to add a new grid under a new tab in the Stock Items (IN202500) screen. But upon checking out it came to know that we have to add a new Data member property first in order to set the grid and its fields. Can anyone please let me know how can we define a new Data member/View for such a case in detail procedure?

Thanks a lot in advance.

icon

Best answer by MoulaliShaik79 4 January 2023, 07:45

View original

6 replies

Userlevel 4
Badge +1

Hi @Harshita,

You need to create a DataView inside Graph and then set that DataView to the DataMember property on layout properties.

For Example:

 Dataview creation:

  public SelectFrom<YourDacName>.View DataViewName;

 

select the screen where you want to add a new grid. After adding the Grid to the required Tab, select Layout properties and then assign your DataView to the DataMember property.

 

 

 

I hope this may help you!

Moulali Shaik.

 

Userlevel 6
Badge +3

Thank you so much @MoulaliShaik79 . I wanted to know whether InventoryItemMaint is the required graph in my case.

 

 

If yes, then where shall I need to create the new DataView in the graph?
 

 

Userlevel 4
Badge +1

Hi @Harshita,

You can create DataViews in the graph, like the below one:

public class InventoryItemMaint _Extensions : PXGraphExtension<InventoryItemMaint>
{
        #region DataViews
            public SelectFrom<YourDacName>.View YourDataViewName;
        #endregion
        
        #region EventHanlders
            // your event handlers
        #endregion

      …..etc
}

 

Thanks,

Moulali Shaik

Userlevel 6
Badge +3

Hi @Harshita,

You can create DataViews in the graph, like the below one:

public class InventoryItemMaint _Extensions : PXGraphExtension<InventoryItemMaint>
{
        #region DataViews
            public SelectFrom<YourDacName>.View YourDataViewName;
        #endregion
        
        #region EventHanlders
            // your event handlers
        #endregion

      …..etc
}

 

Thanks,

Moulali Shaik

Thanks a lot @MoulaliShaik79 . It worked.
One last query if i could get references of some documentations/videos for knowledge on DACs, graphs etc. apart from the T200 and other guides?

Userlevel 4
Badge +1

Hi @Harshita 

Please check the below links:

https://openuni.acumatica.com/learning-paths/developer-learning-paths/development/

or

https://help-2021r2.acumatica.com/(W(20))/Help

 

I hope this may help you!

Thanks,

Moulali Shaik.

 

Userlevel 6
Badge +3

Hi @Harshita 

Please check the below links:

https://openuni.acumatica.com/learning-paths/developer-learning-paths/development/

or

https://help-2021r2.acumatica.com/(W(20))/Help

 

I hope this may help you!

Thanks,

Moulali Shaik.

 

Thank you so much once again!!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved