I tried to show Full Name of User in General Journal line but it only shows ID
Great.
Thank Nitin
Your code is correct. It can show Full Name of User
Hi,
yes, it will show you always ID if you do like this, Do as per below
trigger OnAfterGetRecord()
var
User: Record User;
begin
if User.Get(rec.SystemCreatedBy) then
userFullName := user."Full Name";
end;
addafter("PR Approval Status")
{ field(Userfullname;userfullname) { ApplicationArea = all; ToolTip = 'Created by'; Editable = false; } } |
you can use userfullName Global varilable as Text , and show it on page.
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156