Skip to content

Commit 8a962c6

Browse files
authored
Merge pull request #8183 from MicrosoftDocs/Deliverable982241
AB#3835: Added the new page
2 parents 7d64f4a + 0b504cb commit 8a962c6

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

support/dynamics-365/supply-chain/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@
302302
href: warehousing/load-weight-positive-numbers.md
303303
- name: Location profile disallows negative inventory, but negative on-hand is permitted
304304
href: warehousing/location-profile-set.md
305+
- name: Many printing jobs are queued in the Document Routing Agent (DRA)
306+
href: warehousing/clear-document-rounting-agent-printing-queue.md
305307
- name: Multiple SKU option doesn't evaluate multiple location directive actions
306308
href: warehousing/evaluate-multiple-location-directive-actions.md
307309
- name: Mixed license plate receiving doesn't work for any disposition code but Credit
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: Many Printing Jobs Are Queued in Document Routing Agent
3+
description: Provides resolutions on how to clear the printing queue within the Document Routing Agent (DRA) in Microsoft Dynamics 365 Supply Chain Management.
4+
ms.date: 02/25/2025
5+
# ms.search.form:
6+
audience: Application User
7+
ms.reviewer: kamaybac, ivanma
8+
ms.search.region: Global
9+
ms.author: mirzaab
10+
ms.search.validFrom: 2025-02-10
11+
ms.dyn365.ops.version: 10.0.39
12+
ms.custom: sap:Warehouse management
13+
---
14+
# Many printing jobs might be queued in the Document Routing Agent (DRA)
15+
16+
This article provides resolutions on how to clear the printing queue within the Document Routing Agent (DRA) used in Microsoft Dynamics 365 Supply Chain Management.
17+
18+
## Symptoms
19+
20+
You might notice that many printing jobs are queued in the [Document Routing Agent (DRA)](/dynamics365/fin-ops-core/dev-itpro/analytics/install-document-routing-agent), causing delays or preventing new print jobs from being processed.
21+
22+
## Solution 1 - Clean up printing queue for one printer
23+
24+
Starting from [Dynamics 365 for Finance and Operations platform update 23](/dynamics365/fin-ops-core/dev-itpro/get-started/whats-new-platform-update-23#manage-access-to-network-printers-across-legal-entities), you can manually clear the printing queue for a specific printer by deleting it from the **System network printers** page. This action removes all pending documents for that printer. Follow these steps to delete and re-register the printer from the DRA client:
25+
26+
1. Navigate to the **Manage Network Printers** page by selecting **Organization administration** > **Setup** > **Network printers**.
27+
2. Expand the **Options** menu and select the **System network printers** button in the **Preview** section.
28+
3. Select the network printer and select the **Delete** button.
29+
30+
4. After deletion, pending printing jobs remain in the document routing status list for auditing purposes. However, the actual printing queue is already cleared for that printer.
31+
32+
5. [Re-register the same printer from the DRA client](/dynamics365/fin-ops-core/dev-itpro/analytics/install-document-routing-agent#register-network-printers), and try to print some documents.
33+
34+
> [!NOTE]
35+
>
36+
> - Except for the first document, the rest should be printed responsively. The first document might be slow due to a one-time 3-minute cache refresh interval after a new printer is registered.
37+
> - If the same printer name is used again, there is no need to set up the document routing again.
38+
> - If a new printer name is used, you should set up the document routing with the new printer name for all relevant work order types. For more information, see [Set up license plate label routing](/dynamics365/supply-chain/warehousing/print-license-plate-labels-using-label-layouts#routing).
39+
40+
## Solution 2 - Clean up printing queue and job status for all printers
41+
42+
The [Document routing history cleanup](/dynamics365/fin-ops-core/dev-itpro/analytics/install-document-routing-agent#adjust-the-document-routing-history-cleanup-batch-job) batch job can be used to delete all the document routing jobs older than seven days (168 hours). By default, this batch job runs daily and is first created when a document is sent to the DRA.
43+
44+
Follow these steps to use the **Document routing history cleanup** batch job:
45+
46+
1. Change the document routing job history retention period length from seven days to one hour to delete all printing jobs older than one hour.
47+
1. Copy the **Document routing history cleanup** batch job to a new batch job, and then update the copied batch job recurrence to run immediately.
48+
1. Wait for the copied batch to complete, and then delete the copied batch job.
49+
1. Restore the retention period from one hour to seven days.

0 commit comments

Comments
 (0)