Skip to main content

Notifications

Announcements

No record found.

Business Central forum
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 14,611 User Group Leader 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 14,611 User Group Leader 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 7,292 User Group Leader 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans