Error Message: 'Function ProdRouteCardController.setRange Has Been Called with the Wrong Table'
    • 07 Jan 2025
    • 1 Minute to read
    • Contributors
    • PDF

    Error Message: 'Function ProdRouteCardController.setRange Has Been Called with the Wrong Table'

    • PDF

    Article summary

    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:

    1. Navigate to Lasernet > Common > Reports.

    2. Ensure that ProdRouteCard in the Report name field is displayed.

    1. Expand the Archive tab and locate the Resend menu item dropdown.

    1. 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:

    1. Navigate to Production control > Production orders > All production orders.

    2. Select the record and then click the Release option from the Action pane.

    1. Click General, toggle the Print route card button to Yes, and select Setup to set options for your output distribution method.


    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.