why can't I close a WO that is in built status? Th...
# ask-stanley-ai
a
why can't I close a WO that is in built status? The option doesn't even come up
c
AI generated answer (using internal Slack threads):
In NetSuite, a Work Order (WO) that is in 'Built' status cannot be closed directly because it is expected that all the line items in the WO are completed. The 'Close' option will not appear unless all the line items in the WO are marked as 'Closed'. To close a WO, you need to set the 'isclosed' flag for each line item in the WO. This can be done via a script or a workflow. In a script, you can use the
rec.setFieldValue('isclosed', true)
method for each line item. In a workflow, you can create a workflow action to set the 'isclosed' flag for each line item. If you have multiple assembly builds per work order and the work order was abandoned halfway through, you can still mark it as 'closed' by using the 'Close' button in the UI. This is a manual process and requires user intervention. Please note that if you do not use the WIP (Work In Process) feature, you need to complete the assembly build to close the WO. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.821609259
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812402904
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812004209
Please provide your feedback on this answer.