Notifications
Announcements
No record found.
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?
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.
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
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.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 646 Most Valuable Professional
André Arnaud de Cal... 529 Super User 2025 Season 2
Sohaib Cheema 285 User Group Leader