PCDataSourceEventNotify.onLeave Method [AX 2012]

Executes when the active record of the attached data source loses focus on any of the visible fields.

protected boolean onLeave(FormObjectSet _sender)

Run On

Client

Parameters

_sender
Type: FormObjectSet Class
The attached data source.

Return Value

Type: boolean
true if validation and update succeeded; otherwise, false.

To add a handler to this method, implement a method on the listener class by using the following declaration: public void onLeave(Boolean _ret, FormObjectSet _sender).

Community Additions

ADD
Show: