XL2CL
4.77.2
8/18/2021

This change is related to SCN 4356 where B0002 Task Errors would occur with Asynchronous printing.

SCN 4356 prevented the Task Error with Asynchronous Printing by Testing for the suspected error condition.

This SCN prevents the Error condition from occurring in the first case.

The ultimate cause, which also affects Bundle Ticket printing, was that Items and Orders were able to be permanently deleted even though they were still referenced by the Part Printer Queue or the Bundle Ticket Cutlist. There was a bug in the tests intended to catch and prevent the problem.

The error would occur if any item other than the first item was referenced by either Queue. When an order or item is deleted it is hidden from view and only actually deleted when safe to do so. There are two different methods of navigating records. One method includes the hidden records and one does not.

The test for records being in the queue was using the correct method when checking for the first item record but the wrong one when looking for the next records.