web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans