Quantcast
Channel: Microsoft Dynamics NAV Forum - Recent Threads
Viewing all articles
Browse latest Browse all 18803

How to filter the Account Schedule page 103

$
0
0

The requirement is to restrict access to account schedule whereby users will be granted access to specific account schedule.

Hence, a new table (Acc Shedule By User) was designed with the following fields

Now, we want to filter the Page 103 - Account Schedule Names so that only the list where the user have accessed is displayed.

We have put the following code on both onOpenPage and OnAfterGetrecord but unfortunately no filtering is being done:

 

IF AccSchedulebyUser."Acc. Schedule Name" <>'' THEN

AccSchedulebyUser.SETRANGE(AccSchedulebyUser."User ID",USERID);
SETRANGE(Name, AccSchedulebyUser."Acc. Schedule Name")

Would you please inform how the filtering can be done?  Thanks for you input


Viewing all articles
Browse latest Browse all 18803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>