The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.
Specifies whether global variables in the object that contains the event publisher method are accessible to event subscriber methods that subscribe to the published event.
True to allow access from event subscriber methods to global variables in the object that contains the event publisher method; otherwise, false. The default value is false.
When you set the GlobalVarAccess property to true, event subscriber methods that subscribe to an event can call the global variable parameters in the object that is specified by the EventPublisherObject Property, which contains the event publisher method that declares the event. You must add variable parameters to the event subscriber methods manually and use a name and type that matches the variable declaration in the event publisher object.