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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

create modified method on Business unit filed in financial dimension tab

(0) ShareShare
ReportReport
Posted on by 304

Hi,

In sales table form when I edit sales order, I can't find the financial dimension tab and design, to be more specific the fields displayed in the form doesn't exist as fields in the design from inside.. I need to control this fields to make a modified method on Business Unit filed.

any thoughts?

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Kareem,

    The financial dimensions are derived from SalesTable\DefaultDimension field for header and SalesLine\DefaultDimension for lines.

    You will need to write your logic on the modified method for this field either at the form level or modify the SalesTable\modifiedField for executing your logic.

  • KareemTaima Profile Picture
    304 on at

    Finaincial dimension tab doesn't have default dimension filed so there's no modification happen on this field

    I tried the modified method on the data source for Default Dimension no thing happen

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    My mistake.

    Changing dimensions is taken care of by this code in SalesTable/DataSources/SalesTable/write -

    dimensionDefaultingControllerTable.writing();

    You can try to put your code here checking if DefaultDimension value has changed.

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi KareemTaima,

    If you want to catch a moment when a certain dimension value was changed on a form:

    You can try to create a delegate in DimensionDefaultControllerBase.setDimensionAttributeValue and subscribe to it in the form dynamically, so you will be notified when the value in dimension control was changed.

    http://axhelper.com/?p=1932

    Or

    You can create a child class from DimensionDefaultingController and use it in the form instead of DimensionDefaultingController. In child class, you can override method setDimensionAttributeValue and call methods from caller form via (formRun.myMethod).

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 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans