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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

The dimension values in the employee setup updating the PR

(0) ShareShare
ReportReport
Posted on by 137

Dears

i hope everyone is ok,

kindly i have an issue in the PR, the financial dimension in the PR while i am adding the PR comes from the Employee setup directly, so i have to remove it manully then to add the correct one, i don't want the FD in the PR updating from the employee setup

how can i do that

thanks 

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    RE: The dimension values in the employee setup updating the PR

    Hi, I don't know if it can be done by configuration but this can be achieved by customization. You can write code in insert method of PurchReqLine table using pre event handler or Chain of Command and empty DefaultDimension value.

    And if you want you can add code to change DefaultDimension in code, so it shouldn't be changed manually every time.

  • Suggested answer
    Charlotte X Profile Picture
    on at
    RE: The dimension values in the employee setup updating the PR

    Hi Karim,

    On the Worker, a record-id (reference) is stored in table HcmEmployment, field DefaultDimension.

    Please have a look at the following posts that can give you some hints where to get started.

    HcmWorker.getDefaultDimension Method | Microsoft Learn

    Replace a Financial Dimension in Default Dimensions [AX 2012] – Sumit Loya (wordpress.com)

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans