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)