Skip to content

Job queue

When invoices are posted without being sent, a job queue does two things in the background:

  • Sends posted invoices to the access point.
  • Fetches distribution status from the access point back into Business Central.

This makes unattended operation possible: users post, the queue distributes, and status arrives on its own. See Sending invoices for the user-facing side.

The extension uses one recurring job queue entry, XINV Transfer Job, which both sends posted invoices and fetches distribution status.

Field Value
Object Type to Run Codeunit
Object ID to Run 84701
Object Caption to Run XINV Transfer Job
Description XINV Transfer Job
Recurring Job Yes

To create it:

  1. Search for Job Queue Entries and choose New.
  2. Set Object Type to Run to Codeunit and Object ID to Run to 84701. The caption fills in as XINV Transfer Job.
  3. Mark it as a Recurring Job and set the run interval.
  4. Choose Set Status to Ready.