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 :
Microsoft Dynamics AX (Archived)

get Createdby name from table to Report

(0) ShareShare
ReportReport
Posted on by

i have to show who created the Record in a table to show in my report.

Table: VendReceiptsListJour

i tried:

in processreport:

myTmp.CreatedName          = this.getName(vendReceiptsListJour.createdBy);

getName Method:

public Name getName(NetworkAlias _alias)
{
UserInfo userInfo;

select * from userInfo where userInfo.networkAlias == _alias;

return UserInfo.name;
}

it didn't work, can you help me, thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at

    where userInfo.id== _vendReceiptsListJour.createdBy;

  • Verified answer
    Community Member Profile Picture
    on at

    Hi RenSonozaki,

    Go to the table properties and change CreatedBy to yes.

  • Verified answer
    Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at

    also kindly remove * from your query.

    you can specify filed name after select such as select FieldName from TableName;

    this has nothing to do with your question but it will result in better processing.

  • Verified answer
    Kanagaraj A Profile Picture
    1,254 on at

    try this,

    This may help you before testing this ensure Createdby property should be YES in your table property.

    UserInfo userInfo;

       select networkAlias,name from UserInfo

           where userInfo.id == purchtable::find("000043").createdBy;

       info(strFmt("Name %1 Network alias-%2 Created by : %3", UserInfo.name,UserInfo.networkAlias,purchtable::find("000043").createdBy));

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans