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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

User ID filter in a cue

(0) ShareShare
ReportReport
Posted on by

Hi,
I am trying to add a cue to table 9054 Finance cue that would show open purchase invoices|credit notes that have "Assigned User ID" of the logged in user. The CalcFormula is:

Count("Purchase Header" WHERE (Assigned User ID=FIELD(User ID Filter),Document Type=FILTER(Invoice|Credit Memo),Status=FILTER(Open)))

I then added the cue to page 9030 Account Manager Activities with DrillDown to Purchase List and it works perfectly except for the User ID filter. The cue shows all open documents not only those assigned to me.

What is missing? Thanks!

*This post is locked for comments

I have the same question (0)
  • Amol Salvi Profile Picture
    18,698 on at

    Maybe you can try USER ID instead of User ID Filter

    Count("Purchase Header" WHERE (Assigned User ID=FIELD(User ID),Document Type=FILTER(Invoice|Credit Memo),Status=FILTER(Open)))

  • Community Member Profile Picture
    on at

    Thanks, but that did not help. USER ID is not a possible choice here in drilldown.

  • Suggested answer
    Marcellus Profile Picture
    2,735 on at

    Hi Riina,

    Can you added a new field called "Current User" Code(50) FieldClass FlowFilter.

    In the calculation formula add Assigned User ID=FIELD(Current User).

    In the page OnOpenPage add SETRANGE("Current User", USERID);

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans