TruckVisitCancelInterceptor/TruckVisitCloseInterceptor

Implementation

Code extension

Extension type:  ROAD_ACTION_INTERCEPTOR

extends AbstractRoadActionInterceptor implements IRoadActionInterceptor

Functionality

Road Module 
Cancellation/Closure of a Truck Visit

Description

Intercepts before and after cancellation/closure of a Truck Visit

Interface Method(s) and Injected Data

boolean preProcess ( 
    TruckVisitDetails inTvdtls
)

Called before the truck visit is cancelled/closed

boolean postProcess( 
    TruckVisitDetails inTvdtls
)

Called after the truck visit is cancelled/closed

Exception/Transaction Handling

Exceptions will return an error to the caller

Returning false from either method will prevent further execution and exit with whatever is the current status (OK or ERROR).

Availability

2.5+