Skip to main content
Solved

Add new field as filter on screen IN401000

  • 9 November 2021
  • 6 replies
  • 539 views

SadokHanini
Freshman II

Hello,

 

is It possible to add other field on the screen IN401000 as new filter that doesn't exist in the list of fields proposed in customization?


 Thanks.

Best answer by Naveen Boga

Hello @SadokHanini  Yes, you can add new customized filters on this screen by extending the InventorySummaryEnqFilter DAC.

In this screen, there are many calculated fields, while filtering with new parameters we need to be careful to do not break anything.

Just FYI, you can see the base logic code in this file - InventorySummaryEnq.cs

View original
Did this topic help you find an answer to your question?

6 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3381 replies
  • Answer
  • November 9, 2021

Hello @SadokHanini  Yes, you can add new customized filters on this screen by extending the InventorySummaryEnqFilter DAC.

In this screen, there are many calculated fields, while filtering with new parameters we need to be careful to do not break anything.

Just FYI, you can see the base logic code in this file - InventorySummaryEnq.cs


SadokHanini
Freshman II
  • Author
  • Freshman II
  • 42 replies
  • November 12, 2021

Thanks @Naveen B 
After adding a custom field how can i apply the filter ?

AppendFilter?

 

Thanks for your feedback


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3381 replies
  • November 14, 2021

Hi @SadokHanini  You need to override the AppendFilter  method from the InventorySummaryEnq graph.

By default, we have InventoryID, Location, and Warehouse filters, you can your customized  filters here and verify.

Hope this will helps!

 

Here is the screenshot for your reference.

 


SadokHanini
Freshman II
  • Author
  • Freshman II
  • 42 replies
  • November 15, 2021

Thanks @Naveen B  
i tried to override the AppendFilter but the got an error doesn't recognize the variable T

 


mvolshteyn
Acumatica Moderator
Forum|alt.badge.img+3
  • Technical Account Manager in the ISV Team
  • 109 replies
  • November 15, 2021

@SadokHanini , you can’t override methods with generic type parameters

the only option here is to override (fuly overload) the big calling method protected virtual IEnumerable iSERecordsFetch()

Though this is doable, I would recommend to review the original requirement and do without this modification. BTW, how are these filters supposed to work? The  InventorySummaryEnqFilter DAC is supposed to contain only those fields for the filter which are present in all 4 input tables used for totals calculations. Are custom fields which you intend to use as filters present in all these tables?

 


Forum|alt.badge.img

Hi @SadokHanini. Did you manage to get the filtering to work? I added the warehouse location to the screen and I am also struggling with the filtering.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings