Thursday, November 7, 2013

Unable to find a unique Dimension code combination record corresponding to the entered values. error in dimension AX 2012

Recently I found an error when I build a SegmentedEntry in another customize form just like LedgerJournalTransDaily form.

"Unable to find a unique Dimension code combination record corresponding to the entered values." (can't find this error in label too)
When I try to debug the error I can't find any clue because this error send the notification after the modified event of the control. (I might miss some of the call stack that lead to this modified event). I tried to look again the standard function and found that I miss something in the "LedgerDimension" datasource field method, the method name is "resolveReference".
Here is the sample method code:
public Common resolveReference(FormReferenceControl _formReferenceControl)
{
    Common common = offsetLedgerDimensionController.resolveReference();

    return common;
}


5 comments:

  1. I can see the same error in the default form !! in R3 do u have a clue

    ReplyDelete
  2. I can see the same error in the default form Payment Journal !! in R3 do u have a clue

    ReplyDelete
    Replies
    1. I wonder is there any customization on that form ?
      If not then most likely there was a data issue.

      Delete