HandleAscOrderAborted

Code Extension Type: WORKFLOW_CODE_EXTENSION (on page 1)

Purpose: This code extension gets called within the workflow engine when an ASC operation is aborted. By default, it initiates the following behavior, depending on when the ASC aborts the operation:

When the CHE is re-dispatched and if the move was an outbound move but re-decked inside the block, N4 creates a new WI that precedes the original work instruction. N4 marks the original work instruction as SYSTEM_BYPASSED and reverts the move stage to Planned.

N4 reverts the WI's move stage to Planned only when the WI is not being carried by the CHE and is not part of a vessel discharge.

If a transport order is aborted with a problem type of ABORTED_BY_OPERATOR, the fields CRANE_ABORT_CODE and CRANE_ABORT_DESCRIPTION in the ASC_COMMANDS table typically include additional information provided by the ASC control system. For such situations, you can set up the HandleAscOrderAborted code extension to retrieve error details from the CRANE_ABORT_DESCRIPTION field by un-commenting the respective code snippet that is already included in the system-seeded code extension.