4.5. Production
4.5.1. Workflow AfterQuantity problem
Issue
When producing, after The items are produced screen you get this error message:
Parameter 'System.Collections.ObjectModel.Collection`1[System.String] ListOfSerialNumbers' is not known or multiples found in 'WorkflowScript_AfterQuantityProducedHookScript'
Solution
On the Workflows tab of the Organizational Structre, select the AfterQuantityProducedHookScript. Click on the ’Edit script’ button.
On the opening Workflow script editor screen click on the ’Empty script’ button then validate the script by clicking on the ’Validate’ button. Then click OK to save the changes.