Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Dimension

Posted on by 82
Hello , 
 
i woulid like to make validation in Purchase Line . i have Subscribed to event 
[EventSubscriber(ObjectType::Codeunit, Codeunit::/Approvals Mgmt./, 'OnAfterCheckPurchaseApprovalPossible', '', true, true)]
 
 
 
Sous-project Code , Departement Code , Localisation Code , Produit Code , Marche Code , Groupe Client Code : Are Dimension.
 
i have found Purchase Line./Shortcut Dimension 1 Code/ is Sous-project Code and  Purchase Line./Shortcut Dimension 2 Code/ is Departement Code  in Purchase Line.
 
My question is where  Localisation Code , Produit Code , Marche Code , Groupe Client Code where are stored ?  how i can get this values? how the linked was done between Dimension Value and Purchase Line?
 
Thanks. 
 
 
 
 
 
 
 
Categories:
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    Dimension
    Please watch a detailed video explaining your scenario in this video - https://youtu.be/OrsoPStGQ8E
     
    Regards,
    Saurav Dhyani
     
  • Verified answer
    Mounir M Profile Picture
    Mounir M 82 on at
    Dimension
    Thanks Guys , 

    the links is done between "Dimension Set Entry" and "Purchase Line"  via "Dimension Set ID"
     

  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    Dimension
    Hello,
     
    The purchase line table will only have fields for Shortcut Dimension 1 and Shortcut Dimension 2 (Which is same as of Global Dimension 1 and Global Dimension 2).
     
    All dimensions are stored against a unique number for the combination. The field is called Dimension Set ID. 
     
    Please provide scenario here to understand what you want to achieve. Do you need to verify values for certain dimension codes if yes which Dimensions you would like to check like Dimension 1 to 8 or any other dimension not set in General Ledger Setup. 
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,559 Super User 2024 Season 2 on at
    Dimension
    Hi @Mounir,
     
    I think the fields have just been added.
    I suggest you check the extension tables of "Purchase Line".
     
    Best regards,
    Mohamed Amine MAHMOUDI

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans