Skip to main content

Notifications

Microsoft Dynamics AX forum

Segmented entry control just for entering Default dimensions

Posted on by 11,627

Hi All,

Is there a possibility to add the segmented entry control which can just allow me to enter the financial dimensions for specific purchase order line? On PO details form, the financial dimension can only be entered from Financial dimension tab. One of my client requested to have the ability to enter financial dimension on PO line grid, so that he don't need to click on Line details fast tab, and then go to financial dimension tab to edit the financial dimensions. 

The LedgerDimensionDefaultAccountController class only shows the Main account in segmented entry control when used, but there is no class which provides the functionality I described above.  As per my investigation up till now, I concluded that it is not possible. But just wanted to throw this question here, so that I can be sure that my conclusion is correct or do let me know if there is a possibility to achieve this functionality.

Thanks,

SB.

*This post is locked for comments

  • syed baber Profile Picture
    syed baber 11,627 on at
    RE: Segmented entry control just for entering Default dimensions

    Hi Alok,

    I didn't find any solution to show just the financial dimensions on segmented entry control, so I ended up adding the individual financial dimensions on preview pane. Unfortunately, I don't have access to client environment anymore, otherwise I would have provided you the source code for this.

    I recall adding the code under Info or form parts.

    Please let me know if you need further help.

    Thanks,

    Baber.

  • AlokShrestha Profile Picture
    AlokShrestha 1,643 on at
    RE: Segmented entry control just for entering Default dimensions

    Hi Baber,

                 Did you find the solution to this? I have similar requirement. Please let me know.

    Thanks

  • syed baber Profile Picture
    syed baber 11,627 on at
    RE: Segmented entry control just for entering Default dimensions

    Nitesh,

    Segmented entry control cannot be used with DefaultDimension field. It can only be used with LedgerDimension field. This is by Design.

    Thanks,

    SB.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Segmented entry control just for entering Default dimensions

    Consider creating segmented entry control using DefaultDimension field in PurchLine table

    You need to implement segmented entry control using following class

    LedgerDimensionController

    Please verify if this helps you

  • syed baber Profile Picture
    syed baber 11,627 on at
    RE: Segmented entry control just for entering Default dimensions

    Hi Andre,

    In Budgeting module, for this purpose there is a separate class BudgetLedgerDimensionController which performs this task but it is using the field LedgerDimension and there is no Default Dimension. Is it possible by any means to have the segmented entry control just for entering financial dimension referring to field Default dimensions?

  • syed baber Profile Picture
    syed baber 11,627 on at
    RE: Segmented entry control just for entering Default dimensions

    Hi Andre,

    You are right. When main account is not selected, only financial dimensions displayed on Budget transaction line, but for this there is a separate class BudgetLedgerDimensionController which is doing this logic I guess. Looks complex, but thanks for your suggestion. I will look into this in detail to see if this can be implemented.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,818 Super User 2024 Season 2 on at
    RE: Segmented entry control just for entering Default dimensions

    Hi Syed,

    Have a look at the budgetting module. If you setup to use department and cost centers and not main accounts to do your budgetting, you have the segmented entry control without the main account. The setup can be done in Budgeting > Setup > Basic budgeting > Dimensions for budgetting.

    You can have a look then at the Budget entries to see how this is implemented.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,818 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,147 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans