web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Get the Dimension Set ID for Integration

(0) ShareShare
ReportReport
Posted on by 70

Hi Experts,

We have a third party software from which the purchase and sales data will be pushed into business central. Along with the other details a the third party software will also try to push a bunch of dimensions related to a purchase or sale.  For the same I need to know the Dimension Set ID so that correct combination of dimensions will be pushed by the integration of the third party software and the business central

Any thoughts or suggestions on how to get/calculate the Dimension Set ID in the third party software will be immense help as we have completed everything for integration but stuck except inserting correct combination (about set of six dimension values).

Eagerly awaiting for your suggestions.

Thanks 

I have the same question (0)
  • JAngle Profile Picture
    150 on at

    Are any of the 6 not set as shortcut dimensions?

  • SelfStarter Profile Picture
    70 on at

    Hi Josh,

    Thanks for replying.

    So sorry for replying late, was in the middle of a meeting. Yeah all of the dimensions are set as shortcut dimensions.

    Thanks

  • SelfStarter Profile Picture
    70 on at

    Also just to add, we are using SOAP service for integration...

  • Suggested answer
    JAngle Profile Picture
    150 on at

    If it is SOAP are you not using web services already? Sales Line, Purchase Line, General Journal Line all have fields for the 8 shortcut dimensions. Can you not just use those:

    pastedimage1630675950088v1.png

  • SelfStarter Profile Picture
    70 on at

    Hi Josh,

    Thansk for replying!

    Yup that works for the sales line part. But we are stuck on how to put the dimensions for Sales Header

    Thanks

  • SelfStarter Profile Picture
    70 on at

    Hi Josh,

    Sorry for nagging you...

    But any suggestion on how to insert multiple dimension in the header portion or getting/calculating the dimension set id would of great great help...

    Thanks a lot

  • Suggested answer
    JAngle Profile Picture
    150 on at

    Worth trying the dimension set entry table procedure of GetDimensionSetID. It expects a parameter of the dimension set entry. Which means you would need to pass data via something else to build it up as required. Perhaps a stand alone codeunit. I build on that concept here: joshanglesea.wordpress.com/.../

    You would need to pass a different data type as you’d need all the dimension codes that will eventually make up the dimension set. I think the mentioned function takes care of sets that don’t currently exist too

  • Guy McKenzie Profile Picture
    1,340 on at

    New dimension Set ID's are dynamically generated every time a never before used combination of dimensions is used. Therefore, you could only add these to the data export if you were using sets known to be recurring that would have an existing Dimension Set ID.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,986 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,071 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 975 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans