Skip to main content

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.

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.

 


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?
 

 


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


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?


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.

 


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