Skip to main content

Notifications

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

  • Community Member Profile Picture
    on at
    RE: Flowfield + flowfilter + UserID

    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

  • Verified answer
    Suresh Kulla Profile Picture
    47,789 on at
    RE: Flowfield + flowfilter + UserID

    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
    RE: Flowfield + flowfilter + UserID

    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

  • Suggested answer
    keoma Profile Picture
    32,727 on at
    RE: Flowfield + flowfilter + UserID

    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)

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans