Skip to main content

Notifications

Microsoft Dynamics AX forum
Answered

Error message before submitting to workflow

Posted on by 22
Hi, 
 
I want to see an error message before I submit PR, PO, Invoice etc to the workflow. I have an accounting structure set up, however, the error message related to it does not show up until after the workflow has been submitted...
Is there a configuration update I can do to have the error message on financial dimensions show up before workflow (perhaps when draft is saved)?
 
Thank you in advance
Categories:
  • Verified answer
    CU24051716-1 Profile Picture
    CU24051716-1 22 on at
    Error message before submitting to workflow
    disabling feature: Purchase order workflow submission and approval performance enhancement
  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,364 Super User on at
    Error message before submitting to workflow
    Based on your explanation, there seems to be some custom code in your environment. Please get a developer to check the logic and condition needed for the error to show up.
  • CU24051716-1 Profile Picture
    CU24051716-1 22 on at
    Error message before submitting to workflow
    @Judy 
     
    Thanks for the reply! Is it weird that this used to work before, but stopped working all the sudden?
    When the vendor invoice is submitted, it works and throws an error; except for validating one financial dimension (D2/department code). But when it's a PO it doesn't work all together.
  • Judy Profile Picture
    Judy Microsoft Employee on at
    Error message before submitting to workflow
    Hi, if you want to show the error message when draft is saved.
    I think you need to do some customization. 
    Hope other experts can suggest on this.
     
    Best Regards,
    Judy

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,682 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,000 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans