web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Flowfield + flowfilter + UserID

(0) ShareShare
ReportReport
Posted on by

Hello All

Hope someone can give me some pointer's
I'm fairly new to Nav and learning all the time.

Trying to create a new tile on the role centre.

This tile is to show the number of approval's the current logged in user has currently.

the Calcfield is as follows.

Count("Approval Entry" WHERE (Document Type=CONST(Order),Status=CONST(Open),Approver ID=FIELD(UserIDFilter)))

Trying to get UserIDFilter to be the current logged in user.

My Code to get the current user is as follows for

GetUserID := USERID;
IF GetUserID <> '' THEN BEGIN
SETRANGE(UserIDFilter,GetUserID); 
END;

Doesn't seem to want to show my current approval count. Just can't see what I'm missing.

Cheers

Rizzo25





*This post is locked for comments

I have the same question (0)
  • Suggested answer
    keoma Profile Picture
    32,729 on at

    best you check the cue tables: table no. >= 9050

    and the role centers: page no. >= 9000

    especially check table 9150 MyCustomer (used e.g. in page 9006)

  • Community Member Profile Picture
    on at

    Hello Jonathan

    Thanks for your reply, I have been checking out those table but could see anything to assist, I will go and take another look though.

    Many thanks

    Rizzo25

  • Verified answer
    Suresh Kulla Profile Picture
    50,247 Super User 2025 Season 2 on at

    Where did you add the above code, i hope you added that in the open page

    Also change the above calcformulae as below

    Count("Approval Entry" WHERE (Document Type=FILTER(Order),Status=FILTER(Open),Approver ID=FILTER(UserIDFilter)))

    Change everything to FILTER.

  • Community Member Profile Picture
    on at

    Hello Suresh

    You are correct I didn't put the code in open page, got caught up with trying to see the result of the flow field directly in the table.(Still wondering though if it is possible to see results directly in the table rather than the page but that is for another time).

    Anyway

    Many Thanks

    Rizzo25

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans