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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Adding field in DimensionValueDetails form and depending on it changing in salesorder!! (working in financial dimensions)

(0) ShareShare
ReportReport
Posted on by

Hi all

I was working on financial dimensions in Custtable,salestable,i came to know that they have used the class DimensionDefaultingController and used the tab controller and filling it in custtable and selected values is default showing in salesorder(Salestableform) using the method initfromcusttableIL METHOD IN salestable(.What my requirement is actually is  i need to add one field in DimensionValueDetails (right click and view details any financial dimensions u will see that form ) and if that dimensions is checked i need to make my the default filling to stop in salestable....How can i relate  DimensionValueDetails  form to salestable or custtable...any idea how to approach this problem!!

thanks in advance

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    239,660 Most Valuable Professional on at

    CustTable and SalesTable have DefaultDimension field, which contains a RecId of DimensionAttributeValueSet table. You can even use it to go directly to DimensionAttributeValueSetItem table, which contains actual references to DimensionAttibuteValue table.

  • Suggested answer
    5400 Profile Picture
    7,162 on at

    See default dimension is getting populated through DimensionAttributeValueSet  and DimensionAttributeValueSet Item table combination value.

    Make sure same dimension combination can exist in different master like PO/Vendor etc. Do you need global logic as per your setup or need only on SO UI.

    If you need only SO UI please mapped your default dimension with your custom code

    like \Classes\DMFDimensionHelper\generateDefaultDimension

    So if particular dimension is marked as true don't pass it to create a combination recid. It should be empty.

    Data Model:

    https://community.dynamics.com/ax/f/33/p/170985/423393#423393

  • Community Member Profile Picture
    on at

    Thanks martin

    So i can add my  field for my checkbox  in DimensionAttributeValue table and do my validations for showing in salestable there itself right?

  • Community Member Profile Picture
    on at

    thanks Bhaskar I am checking it out , it is  only for SO UI and not for whole system setup.

  • Martin Dráb Profile Picture
    239,660 Most Valuable Professional on at

    Technically you can add fields to DimensionAttributeValue table. Whether it's the right thing to do depends on your actual requirements.

    In either case, you should be careful with changing these things and because you're obviously not familiar with the framework, you probably shouldn't do it in this moment. For example, are you aware of company-specific overrides of dimension values?

  • Community Member Profile Picture
    on at

    No martin i have no info on company-specific overrides of dimension values so how can i proceed? if i should not touch the "DimensionAttributeValue" table !!  Thanks for your valuable input

  • Martin Dráb Profile Picture
    239,660 Most Valuable Professional on at

    If you want some additional information without change the table, you can create a new table.

    Nevertheless I would have to know much more about your requirements and restrictions to be able to suggest specific architecture. This is not a place such details.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dekion Profile Picture

dekion 4

#2
Virginia99 Profile Picture

Virginia99 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans