BeforeOpen event

Examples


The BeforeOpen event occurs when a window opens. It occurs before the Microsoft Dynamics GP window open event.

Syntax

window_BeforeOpen(OpenVisible As Boolean)

Parameters

window – A window object.

OpenVisible As Boolean – If True, the window opens invisibly.

Comments

Microsoft Dynamics GP typically uses the window open event to set default field values in the window, such as a default document date or a sort list selection. You can use this event to set default field values in the window, while still allowing default values set by the accounting system to override your defaults.


Documentation Feedback