# Job Queue Entries

In this section we will create 2 different Job Queue Entries, 'GEDIQUEUE' & 'GEDIDELETE'.

1. **GEDIQUEUE**: will be set on a 5min schedule, each workday between 07:00 & 20:00, and will process all new messages to the Cloud Service
2. **GEDIDELETE**: will be set once a day schedule, at 04:00, and will clean up old GEDI data no longer needed.

{% hint style="danger" %}
If you have multiple Golden EDI solutions combined in your Business Central Company, and you already have Job Queue Entries configured, you don't need to create new identical once!\
e.g. if 'GEDIDELETE' already exist, don't create another one.
{% endhint %}

* In Business Central, search and go to the page 'Job Queue Entries'

### GEDIQUEUE - Job Queue Entry Card&#x20;

* Click new to create a new 'Job Queue Entry Card'

![](https://777361828-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2ldF5Ogu5xZEyXimzB%2F-M2mrsFA37I2pbfhWChH%2F-M2n1UZnki_OC_Gkr7Mz%2Fbild.png?alt=media\&token=22095b25-7ece-4e49-a1fa-4bdc0d0d9950)

* To the right of the 'General' Section, click 'Show more' to make sure you see all needed fields.
* Fill in the 'Job Queue Entry Card' for 'GEDIQUEUE' as per screenshot or list bellow.

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2ldF5Ogu5xZEyXimzB%2Fuploads%2FDST0lNcNLwwM8LBBWdq1%2Ffile.jpeg?alt=media)

#### General Section:

| Field                   | Value         |
| ----------------------- | ------------- |
| Object Type to Run      | **Codeunit**  |
| Object ID to Run        | **70019001**  |
| Job Queue Category Code | **GEDIQUEUE** |

#### Recurrence Section:

| Field                       | Value   |
| --------------------------- | ------- |
| Run on Mondays              | Checked |
| Run on Tuesdays             | Checked |
| Run on Wednesdays           | Checked |
| Run on Thursdays            | Checked |
| Run on Fridays              | Checked |
| Starting Time               | 0700    |
| Ending Time                 | 2000    |
| No. Of Minutes between Runs | 5       |

* The 'GEDIQUEUE' 'Job Queue Entry' is now setup to processing the EDI messages automatically every 5min, each workday between 07:00 and 20:00
* Close the Pop-up and **don't restart the job queue yet.**

### GEDIDELETE - Job Queue Entry Car

* Click new to create a new 'Job Queue Entry Card'

![](https://777361828-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2ldF5Ogu5xZEyXimzB%2F-M2mrsFA37I2pbfhWChH%2F-M2n1UZnki_OC_Gkr7Mz%2Fbild.png?alt=media\&token=22095b25-7ece-4e49-a1fa-4bdc0d0d9950)

* To the right of the 'General' Section, click 'Show more' to make sure you see all needed fields.
* Fill in the 'Job Queue Entry Card' for 'GEDIDELETE' as Screenshot or list  bellow.

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2ldF5Ogu5xZEyXimzB%2Fuploads%2FjyzTray2N1rVvKuAHtNP%2Ffile.jpeg?alt=media)

#### General Section:

| Field                   | Value          |
| ----------------------- | -------------- |
| Object Type to Run      | **Codeunit**   |
| Object ID to Run        | **70019006**   |
| Job Queue Category Code | **GEDIDELETE** |

#### Recurrence Section:

| Field             | Value   |
| ----------------- | ------- |
| Run on Mondays    | Checked |
| Run on Tuesdays   | Checked |
| Run on Wednesdays | Checked |
| Run on Thursdays  | Checked |
| Run on Fridays    | Checked |
| Starting Time     | 0400    |

* The 'GEDIDELETE' 'Job Queue Entry' is now now setup to clean up old GEDI data no longer used once a day at 04:00.
* Close the Pop-up and **don't restart the job queue yet.**

{% hint style="success" %}
Golden EDI - Basic Invoice are now configured in your Business Central!
{% endhint %}

The next step will be to update the relevant customers with the 'GEDI Profile' and the correct e-invoice configurations. More on how to do this under **User Guide - Customers**.

{% content-ref url="../user-guide/customer-settings" %}
[customer-settings](https://docs.goldenedi.com/basic-invoice/user-guide/customer-settings)
{% endcontent-ref %}

Once you have went thru the **User Guide - Customers** to understand how to correctly configure them for e-invoicing, you can also use our assisted setup for batch updating the relevant customers much faster.

{% content-ref url="batch-update-customers" %}
[batch-update-customers](https://docs.goldenedi.com/basic-invoice/installation-guide/batch-update-customers)
{% endcontent-ref %}
