Class WorkOrderHeaderUpdateEvent


public class WorkOrderHeaderUpdateEvent extends UpdateEvent<BOWorkOrderHeader>
Event to update a BOWorkOrderHeader.

The launcher must provide a valid work order header in order to successfully call this event.

The listener update the BOWorkOrderHeader excluding the fields that must be updated via specific event

Since:
16.0
GCApi:
event
Reactors:
BTWorkOrderHeaderUpdate(0)
No Spouts
  • Field Details

    • history

      protected boolean history
  • Constructor Details

    • WorkOrderHeaderUpdateEvent

      public WorkOrderHeaderUpdateEvent(BOWorkOrderHeader workOrderHeader)
      Update the work order header.
      Parameters:
      workOrderHeader - the work order header to update
  • Method Details

    • isHistory

      public boolean isHistory()
      Checks if the update process must also call the history one.
      Returns:
      true if the history process is called, false otherwise
    • setHistory

      public void setHistory(boolean history)
      Sets the history process.
      Parameters:
      history - true if the history process must be called, false otherwise