GateInspCommitCustomGroovyImpl

Main N4 Entity

RoadInspection

Functionality

Road Module 
This groovy hook is placed on last page (the page where user commits the Gate inspection record) of Mobile Gate Inspection UI, this groovy hook is executed when user clicks on Send button (the green arrow on your left) at this page.

Description

This groovy hook is placed on last page (the page where user commits the Gate inspection record) of Mobile Gate Inspection UI, this groovy hook is executed when user clicks on Send button (the green arrow on your left) at this page.

The use of this groovy hook is to do custom validations before submitting RoadInspection record from N4 Mobile application. The customer can log both overridable and non-overridable errors form this groovy hook plugin.

Interface Method(s) and Injected Data

public void validateChanges(FieldChanges inChanges) { ....}

Parameters

inChanges : This parameter carries the current field changes for RoadInspection being submitted in N4 Mobile Application.

Exception/Transaction Handling

User may register overridable or non-overridable business errors from here.

Example URL(s)

Road Inspection submit action using N4 Mobile Application (../../../../../../../display/sn4o/road+inspection+submit+action+using+n4+mobile+application)

Availability

2.4.beta1 +