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.
Setting up the job queue
Section titled “Setting up the job queue”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:
- Search for Job Queue Entries and choose New.
- Set Object Type to Run to Codeunit and Object ID to Run to 84701. The caption fills in as XINV Transfer Job.
- Mark it as a Recurring Job and set the run interval.
- Choose Set Status to Ready.
