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 :
Microsoft Dynamics AX (Archived)
Answered

Dimension code combination error message

(0) ShareShare
ReportReport
Posted on by

Can anyone tell me what this error message means?

Function DimensionStorage.setSegment has been incorrectly called.
Unable to find a unique Dimension code combination record corresponding to the entered values.

I am trying to add data in several tables/areas of AX, and I get this error message in multiple places (e.g. Cash discounts, Charge codes for shipping carriers). The error message pops up when I specify the main account to which postings are made in the cash discounts table or charge codes table.

Any help would be appreciated.

Thanks!

*This post is locked for comments

I have the same question (0)
  • Weaveriski Profile Picture
    23,620 Moderator on at

    Looks like a development issue to me, I would get a developer to debug it.

  • Verified answer
    Community Member Profile Picture
    on at

    Make sure you have overridden your form data source "resolveReference" method.

    See example here:

    \Forms\LedgerAllocationRule\Data Sources\LedgerAllocationRule\Fields\OffsetLedgerDimension\Methods\resolveReference

  • Suggested answer
    Community Member Profile Picture
    on at

    Thanks, this solved my issue.

  • Weaveriski Profile Picture
    23,620 Moderator on at

    What was it?

  • Community Member Profile Picture
    on at

    The original issue was getting the error "Unable to find a unique Dimension code combination record corresponding to the entered values."  My form got this message after typing a valid value in the field. I thought I had followed all the steps for implementing the segmented entry but as Ser's response suggested, I had missed implementing the override for the resolve reference method of the appropriate field on my form datasource. The problem with missing this step is that the message is very difficult to track down or figuring out by stepping into with debug. If the resolve reference overrrid is missing, validation runs fine and then this message just appears in info log.

  • Ahmed Muhammad Alam Profile Picture
    3,089 on at

    Dear Brother,

    Thanks it resolves my problem.

    I have another problem, can you please suggest me.

    community.dynamics.com/.../259042.aspx

    Best Regards,

    Ahmed

  • Mohamed Hathout Profile Picture
    645 on at

    this error comes to me in the default LedgerTrans form !!

    I dint apply any customization . it was working fine , before I copied data from another database using Export data wizard !!

    I cannot find any clue !!

  • Mohamed Hathout Profile Picture
    645 on at

    I receive this error from the default Ax R3 Ledger Form

    !!! "Unable to find a unique Dimension code combination record corresponding to the entered values."

    Any Clue  ?

  • Brian Kinser Profile Picture
    815 on at

    have you ever figured this out? I get the same error in standard R3, no customizations made to the posting profile forms

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans