Skip to main content
Dynamics 365 Community / Forums / Finance forum / Invoice unable to dele...
Finance forum
Suggested answer

Invoice unable to delete due to workflow error

editSubscribe (0) ShareShare
ReportReport
Posted on by 16
All, 
I have a pending invoice that failed 3 times the workflow, and now we are unable to do any edits or delete the invoice from the system. We decided just to create a new one and post the invoice. However, the original one is still in the system because the delete option is /Greyed out/.
Categories:
Attachments
  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    Frank Hamelly | MVP... 3,442 Super User on at
    Invoice unable to delete due to workflow error
    You mention Supplier.  Is this an invoice submitted via Vendor collaboration portal?
  • Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... 283,183 Super User on at
    Invoice unable to delete due to workflow error
    Hi,
     
    As the invoice has the status 'In review', the delete option is not available. Are you sure all running workflow instances are canceled?
     
    If there is no running instance, you can ask the partner to create a custom script to update the status. Thereafter the pending invoice should be possible to be deleted.
  • Community member Profile Picture
    Community member 16 on at
    Invoice unable to delete due to workflow error
    Hi Frank, Yes I  have system adm rights. I even asked the supplier to check on their site if they were able to delete the invoice or do something about it, but they can't either delete or recall the workflow, and on their site is showing as "In Review". 
     
    Screenshot from supplier's site:
  • Suggested answer
    Frank Hamelly | MVP, MCP, CSA Profile Picture
    Frank Hamelly | MVP... 3,442 Super User on at
    Invoice unable to delete due to workflow error
    Do you have System admin rights?  A System admin should see a Cancel button as well in Workflow history.
     
  • Community member Profile Picture
    Community member 16 on at
    Invoice unable to delete due to workflow error
    The cancel or recall option in the workflow is greyed out, the same with the delete option. Screenshots:
     
     
  • Suggested answer
    Abhishek Verma Profile Picture
    Abhishek Verma 53 on at
    Invoice unable to delete due to workflow error
    Hi, 
     
    If you have issue in workflow, restart the AOS services and validate your batches set for workflow. if workflow batches are good then recall your record and try to delete it. 
     
    I too agree when you encounter with this kind of issue, it is better to attached the screen in reported issue
     
    Best Regards, 
    Abhishek V
  • Suggested answer
    Bharath jain Profile Picture
    Bharath jain 448 on at
    Invoice unable to delete due to workflow error
    Hi,
     
    If there is a issue in workflow, you can recall the workflow and delete the transaction.
     
    Regards,
    Bharath Jain
  • Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... 283,183 Super User on at
    Invoice unable to delete due to workflow error
    Hi,
     
    In addition to the question from Frank, can you also share the error details for this workflow instance?
  • Suggested answer
    Frank Hamelly | MVP, MCP, CSA Profile Picture
    Frank Hamelly | MVP... 3,442 Super User on at
    Invoice unable to delete due to workflow error
    Can you cancel or recall the workflow?  If so, you should be able to delete the invoice afterward.

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,183 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,733 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans