Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Seting filled auto field Approved By at Invoice Journal Creation Process

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans