Class BTWorkCyclePermitsSaveRel

All Implemented Interfaces:
Serializable, Tool, ValidExecution

@Event(WorkCyclePermitsSaveRelEvent.class) public class BTWorkCyclePermitsSaveRel extends BTPermit<WorkCyclePermitsSaveRelEvent>
Business task in order to delete the old relationships and insert the new relationships, relationships between work cycle and type of permit BOWorkCyclePermitTypeRel.

When the WorkCyclePermitsSaveRelEvent is launched the BT notices the call and aligns the BOWorkCyclePermitTypeRel basing on the event's input.

Required fields:

  • work cycle id
  • list of permit type ids
Since:
14.0
See Also:
GCApi:
task