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)
Answered

Seting filled auto field Approved By at Invoice Journal Creation Process

(0) ShareShare
ReportReport
Posted on by 2,075

Dear All,

I need help for my user request.

my user do invoice journal creation at AP module.

at lines, especially at tab invoice, there are field approved by.

my question is : how to make its filled automatically with user id which user logged-in, for example, if john currently login and do invoice journal creation, its will filled automatically 'John'

need your help.

thanks in advance.

Appreciate.

Invoice-Journal-Approved-By.png

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    You can see this link , it will fix your issue

    vsdynamicsfinance.wordpress.com/.../vendor-invoice-employee-to-approve

  • Verified answer
    startax Profile Picture
    1,845 on at

    Hi Benjamin,

    You can set property of that control Autodeclaration = Yes

    And in form init you can write code 

    table.field = curuserID();

    Also check the datatype of table field you may get error of assignment because most of the time table store RecId of HCM worker table,

    You can also check the control property on form you can see it store hcmworker recid . 

    Thanks,

  • benjamin84 Profile Picture
    2,075 on at

    Hi Mahmoud,

    work as a charm,

    Thank you very much

  • Suggested answer
    benjamin84 Profile Picture
    2,075 on at

    Hi Dinkar,

    thank you very much for your effort.

    I don't do development yet, so I can't tried your suggestion.

    2 solution above has solved my issue,

    btw , thank for help

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans