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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Advanced Rule error

(0) ShareShare
ReportReport
Posted on by

I'm getting a strange error.  I put in a purchase req and when I try to submit the draft it comes up with the advanced rule error.

Purchase Requisition:  xxxxxxx : Distribution errors

You must select a value in the Location field in combination with the following dimensions values that are valid

Main Account 6680

The combination was not validated beyond the Location financial dimension

Dimension values were validated with this advance rule structure:  1 Location, All without blank

 


Now, it seems simple enough, right?  No location on the PReq.  But I check and there is a location.  And now to the strange part.  If I wait 10 minutes or more (I don't have exact times) and bring it up and try it again, it submits and no error comes up.  

Any idea what the cause of this strange behavior is?

*This post is locked for comments

I have the same question (0)
  • alperakan Profile Picture
    29 on at

    This was logged in lcs as "Issue 2459193". Looks like we gotta fix that one for Microsoft as it is already marked as "will not be fixed". I will submit it as a bug and then ask for an open vote for it to be fixed and see where it goes...

    fix.lcs.dynamics.com/.../NotFixed;qc=a451f5fd780a99c951d599ee557d6e3e5e02ac15dc068264d4506adf21f1e073

  • alperakan Profile Picture
    29 on at

    Did you resolve this problem? I got a similar issue. are you using an advanced rule in your account structure as well? This seems to not occur when account structure doesnt have advanced rules...

  • Community Member Profile Picture
    on at

    We've tried it both ways.  We've tried keeping the req on the screen and hitting refresh and submit until it will and we've tried just waiting form 5-10-20 minutes and then hitting refresh.   Interestingly it also does not appear to be consistent, so it isn't like I can depend on waiting 7 minutes and it'll work.  I thought maybe some delay in an update or a batch but that would mean it should be consistent.

  • André Arnaud de Calavon Profile Picture
    301,741 Super User 2025 Season 2 on at

    Hi Brian,

    I have not seen this before. What happens if you put in the requisition and waits for the 10 minutes and then submit it to the workflow? You mentioned you have to wait for about 10 minutes. Can you indicate if you tried it several times before the 10 minutes and then also fails?

  • Community Member Profile Picture
    on at

    The rule that it refers to above "1 Location, All without blank" is set up with "<all values>".  The only variation on it is that this one does not allow blanks.

    If your explanation was correct, though the secondary behavior would not happen.  Why does waiting 10-15 minutes and refreshing it solve the problem?  If there were an error in a setting or combination of data it would fail each time.  But it fails, you wait 15 min or more and pull the REQ back up and then submit it again and it flows through.

  • Jonathan  Halland Profile Picture
    11,310 on at

    Hi Brian.

    The error seems to refer more to invalid values selected rather than reporting empty values. Try and check your chart of account structures advanced rules to determine whether the values are valid.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Volodya Profile Picture

Volodya 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans