Skip to main content
Solved

adding filter settings to a form.

  • February 14, 2023
  • 5 replies
  • 921 views
  • Translate All

Michael Ndungipartnerhold
Varsity I
Forum|alt.badge.img

hello everyone,

kindly assist, would like to add filter settings on the form below in the specified area.

this will enable me to save my filters and also share the filters.

 

filter settings:

 

 

kindly assist please

Best answer by andriikravetskyi35

Hello,

you need add PXFilterable attribute to the View object, like this:


        [PXFilterable]
        public SelectFrom<INCompliance>

.Where<INCompliance.inventoryID.IsEqual<InventoryItem.inventoryID.FromCurrent»

.View ComplianceView;

View original

5 replies

andriikravetskyi35
Jr Varsity I
Forum|alt.badge.img+1

Hello,

you need add PXFilterable attribute to the View object, like this:


        [PXFilterable]
        public SelectFrom<INCompliance>

.Where<INCompliance.inventoryID.IsEqual<InventoryItem.inventoryID.FromCurrent»

.View ComplianceView;

Translate

Michael Ndungipartnerhold
Varsity I
Forum|alt.badge.img

Hello,

you need add PXFilterable attribute to the View object, like this:


        [PXFilterable]
        public SelectFrom<INCompliance>

.Where<INCompliance.inventoryID.IsEqual<InventoryItem.inventoryID.FromCurrent»

.View ComplianceView;

 

 

Sorry, where exactly should I add this?

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20

Hi @development93  In your screen GRID VIEW should be decorated with [PXFilterable] like below.

 

 [PXFilterable]

public PXSelect<GRIDDAC> ViewName;

Translate

andriikravetskyi35
Jr Varsity I
Forum|alt.badge.img+1

Michael Ndungipartnerhold
Varsity I
Forum|alt.badge.img

Thank you all, Everyone here’s right.✅

Translate