Class WorkOrderInsertEvent


public class WorkOrderInsertEvent extends SimpleBusinessEvent<WorkOrder,Long>
Event to save a WorkOrder. The launcher must provide both a valid WorkOrder and valid WorkOrderSaveEventOptions in order to successfully call this event. The listener saves all the WorkOrder components starting from the event input, i.e. the given WorkOrder and the WorkOrderSaveEventOptions.
Since:
9.2
GCApi:
event
Reactors:
BTWorkOrderInsert(0)
No Spouts
  • Constructor Details

    • WorkOrderInsertEvent

      public WorkOrderInsertEvent(WorkOrder workOrder, WorkOrderSaveEventOptions options)
      Instantiates a new work order save event.
      Parameters:
      workOrder - the work order
      options - the saving options
  • Method Details

    • getOptions

      public WorkOrderSaveEventOptions getOptions()
      Returns the options used to guide the saving process behavior .
      Returns:
      the options