- Print
- PDF
Error Message: 'Function ProdRouteCardController.setRange Has Been Called with the Wrong Table'
Users may receive the following error when printing the ProdRouteCard report from Lasernet > Common > Reports:
Error
Function ProdRouteCardController.setRange has been called with the wrong table.
This error is a standard Dynamics error that is caused by the ProdRouteCardController class not finding the Production order origin.
To resolve this issue, follow these steps:
Navigate to Lasernet > Common > Reports.
Ensure that ProdRouteCard in the Report name field is displayed.
Expand the Archive tab and locate the Resend menu item dropdown.
Click the Editor button next to the dropdown menu, click Delete all, and then Clear.
Run the Report
The report should be running normally when the record itself is run in Dynamics 365. To run this report from the record in Dynamics 365, follow these steps:
Navigate to Production control > Production orders > All production orders.
Select the record and then click the Release option from the Action pane.
Click General, toggle the Print route card button to Yes, and select Setup to set options for your output distribution method.