How do you detect a SO being Closed in a Script; I...
# suitescript
n
How do you detect a SO being Closed in a Script; I'd like to set some field values when latter operation is executed
v
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!
n
v
My bad lol, I walked away midway through typing this and didn't see the other responses!