Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Suggested answer

Stability of Agreement Invoicing functionality - Invoices frequently not generating

Posted on by 719

Hi all, 

We've been been having frequent issues with our Agreement Invoicing and I wanted to see if other users are experiencing the same thing. 

We find that after we set an Agreement to Active the Agreement Invoice Dates are generated as expected but the issues start occuring when it tries to generate Invoices. Usually it will generate the first invoice in the recurrence without issue, but then the system jobs fail and invoices are no longer automatically generated.

System Jobs:

Field Service - Generate Agreement Invoice Dates 

  • This system job works when we Activate the Agreement, but then it inevitably fails. We've had a few different errors but the most common one now is "This workflow job was canceled because the workflow that started it included an infinite loop. Correct the workflow logic and try again. For information about workflow logic, see Help" (NOTE - I have also raised this specific error in a Microsoft Support Ticket)

Field Service - Generate Invoice for Agreement Invoice Date 

  • This system job works for the first Invoice, but then never gets triggered to create an Invoice for the remaining scheduled Agreement Invoice Dates. There's not even a failed background process to try and analyse.

We have approximately 200 Agreements and a few of them have multiple Agreement Invoice Setups (sometimes up to 4), and I would think that these numbers are too low to have an impact on the system in terms of volume or the number of system jobs being triggered. 

Has anyone else experience this sort of behaving in Agreement Invoicing?

  • Latis Profile Picture
    Latis 5 on at
    RE: Stability of Agreement Invoicing functionality - Invoices frequently not generating

    Hi,

    Did you get a fix for this ?

    I have the same issue and get this error "Maximum Async operation retries completed. ErrorMessage: Failed with unknown error"

  • RE: Stability of Agreement Invoicing functionality - Invoices frequently not generating

    community.dynamics.com/.../agreement-invoice-with-multiple-work-orders

  • Suggested answer
    RE: Stability of Agreement Invoicing functionality - Invoices frequently not generating

    Thank you for using the Dynamics communities. I would recommend that you have the latest version of Field Service installed docs.microsoft.com/.../version-history.  These updates can fix a variety of issues.

    Or if you continue to experience issues please submit a Support Request and Microsoft will help investigate the issue.

  • SyedM Profile Picture
    SyedM on at
    RE: Stability of Agreement Invoicing functionality - Invoices frequently not generating

    Do you have any custom workflow that is triggering Field Service Workflows multiple times.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,302 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans