Why didn't the post invoice jobs complete

Modified on Mon, Feb 3 at 3:53 PM


Post processing invoice jobs run based on the billing contract automation fields for auto-sync, auto-charge, generate PDF, and auto-send.

These jobs are initiated from Dynamics CRM through a Workflow called "Work 365 Start Job"

 

Ensure that the Work 365 Start Job is active and running. It must be assigned to a Service user

 

If there is a post invoicing process which has not completed successfully, like the auto-sync to an accounting system, or the auto-charge of a payment profile take the following steps to learn why this failed:

  • Go into the Work 365 invoice. Make sure the loaded form is the Work 365 Invoice form
  • Click on the jobs tab
  • Open the job which failed to complete
  • Click on the Parameters tab of the job
  • The job results will detail an error message as to why it failed. In this example the error is related to the invoicing sync process. Also, since the first process in job failed, there is a cascade effect where the system does not complete the other processes on the same job. 
  • This is identified by look on the left hand side which jobs are enabled, and well as understanding the error message itself.
    • Auto-Sync - True = enabled
    • Auto-Charge - True = enabled
    • Generate PDF - true = enabled
    • Auto-Send - false = not enabled
  • These are fields from the billing contract billing automation section which determine which processes are run automatically at the time the invoice is generated. 
  • The error message is related to accounting integration and product catalog mapping. If an invoice fails to sync with this error message, it typically means the system detects there is an existing production in the accounting system with the same product name, however, the product id does not match and then this error populates. 
  • Resolution steps:
    • In this particular example the resolution would involve looking at the product mapping of the skus to make sure the product ids match the equivalent field in the accounting system 
    • Note that other types of errors could also result here depending on the issue. Before moving on, this would need to be resolved.
    • Once the issue is resolved the job can be rerun to complete the processes on the job.
      • start by activating the job which failed. 
      • Update the time on the scheduled for date to a few minutes in the future. Then hit run now. The system should automatically reprocess the job.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article