AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Report De...
User field for Prin...
 
Notifications
Clear all

Questions User field for Print Output

 
Acumatica Report Designer
Last Post by Tim Rodman 6 years ago
7 Posts
4 Users
1 Reactions
3,183 Views
RSS
Netesh Gohil
Posts: 10
 Netesh Gohil
Topic starter
September 5, 2019 10:18 am
(@netesh-gohil)
Active Member
Joined: 6 years ago

Has anyone had success adding a variable to report designer to output when printing the user name and email address of the user generating the report? We're trying to create an output for a sales quotation and variables for the customer and such, but in the footer we want to include the specific user who initiated the report. This may be different than the person who created or last modified the report. Any ideas? My first question so please take that into consideration... 😀 


Topic Tags
#ReportDesigner
6 Replies
Dianne A
Posts: 23
 Dianne A
September 5, 2019 1:03 pm
(@dianne-a)
Eminent Member
Joined: 6 years ago

Hi, Netesh.  We use =Report.GetDefUI('AccessInfo.DisplayName') in a text box for the username of the logged-in user running the report.  I assume there is an analogous field for email address and other items but I haven't looked that up.

Dianne


Reply
Netesh Gohil
 Netesh Gohil
(@netesh-gohil)
Joined: 6 years ago

Active Member
Posts: 10
September 5, 2019 1:38 pm
Reply toDianne ADianne A

@dianne

That worked! Hopefully we can tie the user records to this ID to extract email addresses as well. Thanks again! you rock!


Reply
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
October 16, 2019 9:51 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Looks like Email isn't one of the available fields unfortunately:

Good first question Netesh. Looking forward to seeing more 🙂


Reply
Netesh Gohil
 Netesh Gohil
(@netesh-gohil)
Joined: 6 years ago

Active Member
Posts: 10
October 17, 2019 10:40 am
Reply toTim RodmanTim Rodman

@timrodman

Tim,

We've worked closely with our VAR and we figured this out! It works great as all output generated from our system always has use information specific to the person printing. I'm going to let my VAR respond to this and share their great find! Enjoy.


Reply
Posts: 1
 Tony Carita
October 17, 2019 12:09 pm
(@tony-carita)
Member
Joined: 6 years ago

Hey Tim,

After playing around with a few different ideas, we were able to figure out how to pull in the Users table to the report.  Once we did that, we opened the door for a couple pretty cool additions to our reports:

We started with creating a parameter that grabs the username of the person printing the document.  The AccessInfo table is limited to the fields available, but this at least gives us the username:

Next, we created a table “link” between the SOOrder table and the Users table.  This might sound odd, but if you look at the relationships, you can see I used the @username parameter as the Parent field and then linked it to the username field in the Users table.

This allows us to see the full Users table on the report that is linked to the user that PRINTS the document.  This is big because we can easily link the CreatedBy and LastModifiedBy field from the SOOrder, but sometimes a user will need to print a Quote, but they are not the last one to modified it.

Now that we have the Users table, I can add any field I need.  In the example below, I grabbed the Full Name and Email from the Users table.

Here is the printout showing my email address since I printed the document.  Another user is listed as the LastModifiedBy, so the AccessInfo parameter is properly pulling my username:

The other benefit that this created was the ability to add the email address to the Mail Settings on the report.  This lets us put the email in as the BCC or CC field and then it automatically pulls the email from the user printing the document

Here is the Email Activity box with my email as the BCC:


Reply
Rick Piester reacted
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
November 16, 2019 7:29 pm
(@timrodman)
Famed Member
Joined: 10 years ago

This is beautful. Awesome solution! I love learning clever tricks like this from others. Thanks so much for sharing Tony and Netesh! 


Reply
Forum Jump:
  Previous Topic
Next Topic  
Topic Tags:  #ReportDesigner (1) ,
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,528 Topics
  • 10.9 K Posts
  • 9 Online
  • 2,412 Members
Our newest member: Peter Paasch
Latest Post: Tax on Inventory Transfer
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

  • drustorm21
Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2026 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×