📚 SAP Business One SDK Help

AutoManaged Property
See Also 

Description

Indicates whether the application manages your add-on form modes automatically.

When set to true, the application controls the form mode when the form is loaded and manages the status of items and menus (relevant to a specific mode) in mode changes.

Specify the modes that are to be managed on the form with the SupportedModes property.

Property type

Read-write property

Syntax

Visual Basic
Public Property AutoManaged() As Boolean

Remarks

In SAP Business One, forms can appear in several modes, which determine the actions users can perform on the form. For example, the Add mode is used to add records to a form, while the OK mode is used to display the form information.

Changes between modes are triggered by click events on specific items. Use the AffectsFormMode property to enable items to trigger a mode change.

For system forms, an add-on can either manage modes itself or let the application manage modes.  Use Form.AutoManaged to determine who manages modes.

See Also