SuspendTruckVisitGroovyImpl

Main N4 Entity

TruckVisitDetails

Functionality

Road Module 
Suspend Button

Description

On Pressing "Suspend" button on gate screen.

Interface Method(s) and Injected Data

void execute(Long inVisitkey, String inActionCommand)

inVisitkey: Truck Visit Gkey 
inActionCommand : The argument inActionCommand brings the action this button is doing now as this suspend button is used for cancel (when truck visit is not created yet) or suspend (when truck visit is already created) using gate screen.The values for inActionCommand are "Cancel" and "Suspend Stage"

Exception/Transaction Handling

Exceptions raised will be displayed in a message dialog.

Availability

2.1.0a+ 
2.2.A+