Due to the volume of Subcontract Shipment Entry items, we are looking to semi-automate the process. Using a dashboard we collect the relevant upcoming shipments, sent to Excel, update, copy to Lines>List tab.
We are finding that it will work 90% of the time then gets cranky and throws an invalid job number error constantly (re: the error is constant for an extended period of time).
We have verified that the columns match (between Excel and Lines>List tab). Even more odd - jobs that worked previously no longer work (re: when there are multiple subcontract operations).
Anybody experience this previously? How did you avoid this “random” error?
I haven’t tried traces yet. It doesn’t matter how many rows 1 or 15. I’ve had as many as 18 rows upload no problem! But once the error triggers it doesn’t matter.
I will see what the log tells me when it shows up again.
While it may appear to be random, does a record it failed on work, if pasted by itself?
To be clear, say you have 20 records (20 rows in Excel), and when you use Paste Insert, it errors out at row 13.
Try the following:
Delete the incomplete row that was created. Usually, the Paste Insert first makes a new blank row, then copies the clipboard to it. If it fails, it will leave that “incomplete” row in the grid.
Copy just record 13 from the Excel file
Paste Insert into the grid
If that works, then I’d say that there is something happening in the background that gets out of whack with the newly added records.
Perhaps try doing the Copy and Paste Insert in small batches (like 10 records at a time).
Scrub the data in the excel file to make sure it is free of control characters (char 0 - 31), “web” chars (likem em-dashes), and others. Also do a replace Non-breaking spaces (CHAR 160) ) with regular ones (CHAR 32) .