GateCustomActionGroovyImpl

Main N4 Entity

TruckVisitDetails
TruckTransaction

Functionality

Road Module 
Gate Form 
Custom action

Description

Implementation of the "Custom Action" gate form button.

Interface Method(s) and Injected Data

Map<MetafieldId, Object) execute( 
    String    inStageId, 
    Long     inLaneGkey, 
    Long     inTvdtlsGkey, 
    Long     inTranGkey,
    FieldChanges inChanges
)

inStageId       the current gate stage 
inLaneGkey   the gkey of the lane associated 
                    with the current console 
inTvdtlsGkey  the truck visit gkey 
inTranGkey    the transaction gkey 
inChanges      truck visit form field changes

Response - field Id's and values to be shown on the gate form (if defined on form)

If user wants to reload the truck visit, please set the following field to true in the return Map.

RoadBizMetafield.RELOAD_TRUCK_VISIT

Exception/Transaction Handling

Exceptions are shown to the user in a dialog box

Availability

2.1.3+