> For the complete documentation index, see [llms.txt](https://kb.bevica.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.bevica.com/documentation/integration/bevica_website_integration/web_integration_-_job_queues.md).

# Web Integration - Job Queues

Schedule website sync routines using job queues.

Depending on your setup, the following **Job Queue Entries** may need to be set up. Standard documentation can be found here: [Admin job queues schedule tasks](https://docs.microsoft.com/en-GB/dynamics365/business-central/admin-job-queues-schedule-tasks)

Set the Codeunit to run number 71952 '**TVTWS Web Run from Job queue**' then one of the following parameters:

| Job Queue Entry Parameter | Usage                                                                                                                                                               |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ORDERSVALIDATE            | To Validate orders (see later section)                                                                                                                              |
| ORDERSPROCESS             | To Process Orders (see later section)                                                                                                                               |
| ORDERSVAL+PRO             | To Validate and Process Orders (see later section)                                                                                                                  |
| PRICESUPDATEDT            | Checks whether price changes will happen based on date filters and forces a modification date/time stamp on Sales Prices so the website can pick up only new prices |
| PAYMPROCESS               | Process Payments in staging                                                                                                                                         |
| PAYMPOST                  | Post Payments in staging                                                                                                                                            |
| STOCKUPDATE               | Updates the background stock table                                                                                                                                  |

### Standard Job Queue Setup

The **PRICESUPDATEDT** should be scheduled to run each night before the website is scheduled to pull new data.

The **STOCKUPDATE** should be run periodically, for example twice a day, to force a stock update if required (see ‘Inventory/Stock’ section).

### Optional Job Queue Setup

The other job queues can be set up to run to automate the relevant processes.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://kb.bevica.com/documentation/integration/bevica_website_integration/web_integration_-_job_queues.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
