Bring Current UserID into RDD

I would like to be able for Current Epicor Session User email address to be available in SSRS Breaking/Routing.

OrderAck form is being emailed to a customer through SSRS Breaking/Routing.

If I can find a table to include in RDD that contains information about current session UserID, I can create a relationship of that table and UserFile table to get an email address.

Which table available for RDD contains this information and how can I link it with OrderHed?

I’ve tried SysAgent, SysRptLst, SysTask, and UserComp. Does not seem to be working.

CallContextClientData table can bring CurrentUserID into RDL but how do you make it available in Routing?

You should be able to use the UserComp table with the criteria DcdUderID = BAQ Constant and choose CurrentUserID. You can then link that to UserFile DcdUserID = DcdUserID and pull the EMailAddress field from UserFile

1 Like

You need to link on the UserFile or UserFileList to Calc_RptUserID

1 Like

I believe they were asking about APR not a BAQ, but good info here :slight_smile:

I want this too. Have never yet been able to figure out a way to do it in a table based RDD.

If you pull it into the BAQ Report, you can then use a report style to break on it and email to it

Order ack is not a baq report.

I gave the answer as I just did this about 2 months ago for AR Form…

My reading comprehension is obviously not back from the weekend.

1 Like

I don’t know if that field exists in order ack rdd, interesting idea.

I’m not seeing it anywhere.

That’s a new trick for me. How do you get the Calc_RptUserID on the Customer Table?

It’s a black box, if Epicor hasn’t put it as part of the base rdd you can’t add it.

without that, Clint’s solution will not work

Exactly.

Should be able to use ChangedBy linked to UserFile.

That is not necessarily the same as the person printing it though. Can also use entered by. But sometimes that isn’t the requirement.

No such Links available

Agree I’m looking now to see if that information exists.

I found out that sometimes different people enter orders, and different contact the customer. that’s why I would like to have the current session user to get a copy of an order, not necessarily a person who entered it.

1 Like

this solution works perfectly in ARForm, Thank YOU!!! (that’s next on my list and it’s solved already :sparkler:
unfortunately it doesn’t work the same in OrderAck :worried:

1 Like