Skip to main content
Answer

How filter tasks in Project task selector

  • December 4, 2023
  • 1 reply
  • 129 views

param2022
Jr Varsity II
Forum|alt.badge.img

I am trying to filter the results of ProjectTaskAttribute for one particular screen. I need to show only tasks which contain a particular string.

 

Any leads on how that can be achieved.

 

Thanks

Best answer by aaghaei

create a graph extension for the business logic you want to modify

create a CacheAttached event handler for the task field you want to filter and add a PXRestrictor attribute to the field properties using MergeMethod = Merge

add the desired condition to the restrictor attribute Where parameter.

 

you can find plenty of examples in the community or Acumatica’s source code

1 reply

aaghaei
Captain II
Forum|alt.badge.img+10
  • Captain II
  • Answer
  • December 5, 2023

create a graph extension for the business logic you want to modify

create a CacheAttached event handler for the task field you want to filter and add a PXRestrictor attribute to the field properties using MergeMethod = Merge

add the desired condition to the restrictor attribute Where parameter.

 

you can find plenty of examples in the community or Acumatica’s source code