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 :
Business Central forum

xml assignments (word) for current user

(0) ShareShare
ReportReport
Posted on by

Hy,

I need the current user of BC (name, phone number, and mailadresse) in all reports like offer, order, purchasing, mailtext, ..... but I cannot find the correct XML-field in Word to create.

Btw. is there possibility to get other XML-fields - for example from order - in other reports - maybe order?

Many thanks for answering

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    The current user is given by the USERID system instruction in AL. You need to assign it to a variable and then use it in your report dataset. Other data must be retrieved via code from the User table.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans