This topic contains 0 replies, has 0 voices, and was last updated by olopez 7 years, 11 months ago.

  • Author
    Posts
  • #10332

    olopez

    We have WIP manufacturing. I want to create a Scheduled workflow to close WO when the completed quantity equals the WO Quantity. So I defined an Transform action in a Workflow running as Administrator on a test WO.

    Regarding the Transform Record action parameters, the new record type is Word Order Close, storing the result in a Workflow field. I am also setting the Date field to Today since it is a mandatory field.

    When the action is executed I got this log:

    Running AFTERSUBMIT trigger (Event: EDIT; Context: USERINTERFACE)

    12/16/2016 – 13:21:28.452 TRANSFORMRECORD: Work Order Close (WORKORDERCLOSE)
    Failed
    12/16/2016 – 13:21:28.555

    Record type: Work Order Close (WORKORDERCLOSE)

    12/16/2016 – 13:21:28.563

    Save into field: CUSTWORKFLOW4

    12/16/2016 – 13:21:28.563

    Action execution FAILED: One of the following problems exists: You have an invalid work order 79952, the work order does not use WIP, or the work order is already closed.
    Error
    12/16/2016 – 13:21:28.572

    The error is misleading since the referred WO is valid. I can close this WO manually or by using the Mass Close WO page without errors. It uses WIP and obviously the WO is open. Does anyone knows how to workaround this error?

    Thanks in advance
    This is a cached copy. Click here to see the original post.

You must be logged in to reply to this topic.