Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

How to filter a record in ProjTable form in AX 2009?

$
0
0

Hi all,

          I have a small doubt about displaying only a selected record in ProjTable form.

          args.record(CustTable::find('CUS00009'));
          new MenuFunction(MenuItemDisplayStr(CustTable),MenuItemType::Display).run(args);     

         When a write the above code to display or open the form, CustTable form opens by displaying only CUS00009 details.

          But when i do the same thing for ProjTable form, the ProjTable form doesnt open with a particular record selected and hence simply opens the form normally by displaying all the records present in it. I just dont understand why is it happening?

Can anybody please help me on this? I wrote the following code to open ProjTable form by selecting only a particular record

args.record(ProjTable::find('PROJ0009'));
new MenuFunction(MenuItemDisplayStr(ProjTableMain),MenuItemType::Display).run(args);

but this code is not opening the form by just selecting that record. ProjTable form is simply opening as usual

 

Thanks & regards

Karan.

 


Viewing all articles
Browse latest Browse all 15740

Latest Images

Trending Articles



Latest Images