At Warehouse management -> Setup -> Work -> Work status change codes, you can define something called a Work status change code. You can run a Select query on the Work & Work lines tables on each code that you set.
On a Work template line, I can set a Work type of 'Status change', against which I can set one of the codes I created above.
Is anyone able to explain how this functionality can be used? I can't seem to add a Work template line of type 'Status change' to a Work template that also results in a Work template that passes Validation ('Invalid - The last line cannot be a Status Change line' or 'Invalid - Status Change lines must come after Put lines').