Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Dimension

(0) ShareShare
ReportReport
Posted on by 37
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. 
 
 
 
 
 
 
 
  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,314 Super User 2025 Season 1 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
    37 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
    14,314 Super User 2025 Season 1 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
    22,253 Super User 2025 Season 1 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,281 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,019 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans