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

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 

  • Guy McKenzie Profile Picture
    1,330 on at
    RE: Get the Dimension Set ID for Integration

    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.

  • Suggested answer
    JAngle Profile Picture
    89 on at
    RE: Get the Dimension Set ID for Integration

    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

  • SelfStarter Profile Picture
    70 on at
    RE: Get the Dimension Set ID for Integration

    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

  • SelfStarter Profile Picture
    70 on at
    RE: Get the Dimension Set ID for Integration

    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

  • Suggested answer
    JAngle Profile Picture
    89 on at
    RE: Get the Dimension Set ID for Integration

    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
    RE: Get the Dimension Set ID for Integration

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

  • SelfStarter Profile Picture
    70 on at
    RE: Get the Dimension Set ID for Integration

    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

  • JAngle Profile Picture
    89 on at
    RE: Get the Dimension Set ID for Integration

    Are any of the 6 not set as shortcut dimensions?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
YUN ZHU Profile Picture

YUN ZHU 290 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 196

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 156 Most Valuable Professional

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans