I think maybe you'd have to get at the document status (in the case where the SOs are already closed) or after the isclosed field on the line item sublist value changes to true. When all lines isClosed are set to true the SO document status changes to Closed. IDK if that's exactly what you were asking for but I hope it helps!