Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

How can I get the dimensions from job

(0) ShareShare
ReportReport
Posted on by 90

I am creating an action in Job planning Lines to create transfer order but I can not figure out how to get the dimensions from job planning lines to insert them in transfer order, I did not find dimension set Id in job, there is dimension set Id in job tasks and job planning line but it is 0 all the time and i am getting error when validating on the global dimensions from job.

Can anyone help me in this, it would be appreciated 

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,036 Super User 2024 Season 2 on at
    RE: How can I get the dimensions from job

    Hi, you need to use codeunit 408 DimensionManagement.

    pastedimage1648777628618v1.png

    Here are some similar questions for reference.

       

    https://forum.mibuso.com/discussion/58477/how-to-dynamically-generate-dimension-set-id-using-cal-code

    Hope this will help.

    Thanks.

    ZHU

  • Suggested answer
    Andy Sather Profile Picture
    Andy Sather on at
    RE: How can I get the dimensions from job

    Hello  - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    I will open this up to the community in case they have something to add.

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans