Solved

report designer - filter statement

  • 16 March 2023
  • 4 replies
  • 91 views

Userlevel 3
Badge +1

Hi all,

what do I put in my filter condition to get the results of task created by this createdbyID?

Say I only have this CRActivity table, I have nothing in relationships or parameters.

Thank you!

icon

Best answer by aaghaei 18 March 2023, 02:47

View original

4 replies

Userlevel 4
Badge +1

This answer may be too simplistic, but have you tried using an or statement? 

“DisplayName” Equals “CRActivity.Owner” OR “DisplayName” Equals “LoginTracer.Username”

Userlevel 7
Badge +8

Your best bet is to Add AccessInfo to the report Tables and in the report Relationships

 join 

CRActivity-Inner-AccessInfo

on

CRActivity.CreatedByID-Equal-AccessInfo.UserID

Considering AccessInfo always has ONLY the CURRENT user info, by joining it with CRActivity, automatically report will filter those records created by the current user.

Userlevel 3
Badge +1

I managed to get the logged in username which is the highlighted, so what I want in filter is to show the task only if username is equal to the names below which are the owners

Userlevel 3
Badge +1

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved