Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Seting filled auto field Approved By at Invoice Journal Creation Process

(0) ShareShare
ReportReport
Posted on by 2,065

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

  • Suggested answer
    benjamin84 Profile Picture
    benjamin84 2,065 on at
    RE: Seting filled auto field Approved By at Invoice Journal Creation Process

    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

  • benjamin84 Profile Picture
    benjamin84 2,065 on at
    RE: Seting filled auto field Approved By at Invoice Journal Creation Process

    Hi Mahmoud,

    work as a charm,

    Thank you very much

  • Verified answer
    startax Profile Picture
    startax 1,845 on at
    RE: Seting filled auto field Approved By at Invoice Journal Creation Process

    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,

  • Verified answer
    Mahmoud Hakim Profile Picture
    Mahmoud Hakim 17,887 on at
    RE: Seting filled auto field Approved By at Invoice Journal Creation Process

    You can see this link , it will fix your issue

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

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,622 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans