Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

ShortcutDim Code/ adding dimension to a page

Posted on by Microsoft Employee

Hey guys!

I have a following problem. I have to make a new solution for Order planning, and i need to add our 8 dimensions to it, 2nd dimenssion which is budget code Works fine, but rest of them doesnt even fill. I checked other pages, and i noticed they are called (for example)"ShortCutDimCode[3] and they are added to page only, they do not have fields in actual tables... My question is how do i make them to automatically fill in the order planning page? Everything else is taking data from Requisition Line and unplanned demand, also Get unplanned demand code unit.

Or maybe somebody can just explain how to add these dimension fields to a page in general?

Basically they need to fill from Sales Order-->(Press calculate plan)Order planning(Make Orders)-->Planning Worksheets(Carry out action message)-->Purchase order

Thank you, i hope somebody can help me to solve this, cause the worst part is i didnt knew that u dont need to add dimension fields in a tables, so no on Order planning all those dimension fields from sales order are filled, but they dont show up when we press dimension button in ribbon and then obvioulsy they dont go any further.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: ShortcutDim Code/ adding dimension to a page

    Still no luck, it just seems like there is no connections btw both tables... but thank you so much for helping, i really appreciate it!

    EDIT - I found a solution, problem was in get unplanned demand codeunit, and reqline table had wrong function written.

  • ManishS Profile Picture
    ManishS 6,578 on at
    RE: ShortcutDim Code/ adding dimension to a page

    Have a look at page id 39 for dimension 3 to 8 as shown.

  • Suggested answer
    tpupko Profile Picture
    tpupko 2,048 on at
    RE: ShortcutDim Code/ adding dimension to a page

    Hi Linards,

    Dimension Set ID, yes, you need to copy field from one entry to another. If you check Dimension Set entries you will see dimension code and dimension values.

    Tatian

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: ShortcutDim Code/ adding dimension to a page

    You mean like just copy the field?

    But the page im trying to fill dimensions is before Planning worksheets, its the order planning page , which gets data from Requisition Line (246 table), but my sales lines are table 37, i need dimensions to fill there first, cause only after i can send it to Planning Worksheet... :/

    I added the fields on the page

    56858566858.PNG

  • Suggested answer
    tpupko Profile Picture
    tpupko 2,048 on at
    RE: ShortcutDim Code/ adding dimension to a page

    Hi Linards,

    To have the same dimension set as for Sale Order line - you can put dimension set ID from Sales Order line to Planning Worksheets line

    To make them visible you need to modify you page, create new fields for each dimensions and show dimension values from dimensions set.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: ShortcutDim Code/ adding dimension to a page

    Yes. But they have to be the same as sales order lines ones.

  • Suggested answer
    tpupko Profile Picture
    tpupko 2,048 on at
    RE: ShortcutDim Code/ adding dimension to a page

    Hi Linards,

    Is your task to show non global dimensions as fields on page?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: ShortcutDim Code/ adding dimension to a page

    But i need them to be displayed like this

    3333333333333.PNG

    Except, obviously, they need to be filled.

    I do get choose options for all of these fields,

    3333333333333.PNG

    but i need them to fill from sales orders, they look like this

    54444444444444.PNG

    All the marked are dimensions

  • Suggested answer
    tpupko Profile Picture
    tpupko 2,048 on at
    RE: ShortcutDim Code/ adding dimension to a page

    Hi Linards,

    You can assing for line Dimension set from Sales line for Planning Worksheets lines and use Page -  Edit Dimension Set Entries (480) to check dimensions.

    If you open Planing Worksheet and calculate plan you can check dimension set for line also.

  • ManishS Profile Picture
    ManishS 6,578 on at
    RE: ShortcutDim Code/ adding dimension to a page

    You need not get those field on the page, they are shown when you open dimension via order planning document page as you do for sales header.

    System creates a set id (i.e. parent child relation) and stored it in the dimension set table (480), so when ever you want to retrieve it you just need to search the set id.

    Check the page that is attached in sales order document page under control actions.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans