I’ve created a Data Directive against a UD table that when an Order number is added to the UD table, the order’s pick list is Autoprinted. To accompany a web app dashboard for our shipping department:
When I do the same with AutoPrint, nothing happens and in the server log, I see a ‘no records selected’ error.
If I leave the OrderList field empty, the AutoPrint works and I get a report printed, but of course gives me all the orders in the date range.
Here is my report parameters screen
I assume that I must be entering the OrderList in an incorrect format. But everything else I’ve tried gives me an error on the server of “The input string ‘[173170]’ was not in a correct format.”
I eventually will replace the constant order number with the one tapped from the dashboard, but if I can’t even get a static one to autoprint…
Has anyone had a similar issue with AutoPrint and a filter like this?
did you try creating an array and putting a single order in the array? If it’s expecting a list, it may be looking for an array object instead of a text or number.
"173172~" fails silently
173172~ gives the error : The input string ‘’ was not in a correct format. Which is odd because it thinks the string constant is empty.
There are several issues that were contributing to this problem. I redid the Autoprint call with code and got it to print (or at least send it as an email). I am going to open another thread about the remaining issues.