📚 SAP Business One SDK Help

GetAutoManagedAttribute Method
See Also 
AttrType
Specify the item attribute for which you want to get the behavior.
Mode
Specify the form mode.

Description

Returns the behavior of an item attribute for forms with automatic management of modes.

You can set the behavior of an item attribute in Item.SetAutoManagedAttribute.

Syntax

Visual Basic
Public Function GetAutoManagedAttribute( _
   ByVal AttrType As BoAutoManagedAttr, _
   ByVal Mode As BoAutoFormMode _
) As BoModeVisualBehavior

Parameters

AttrType
ValueDescription
ama_VisibleSelects the visible item attribute.
ama_EditableSelects the editable item attribute.
Specify the item attribute for which you want to get the behavior.
Mode
ValueDescription
afm_AllAll modes
afm_OkOK mode
afm_AddAdd mode
afm_FindFind mode
afm_ViewView mode
Specify the form mode.

Return Type

The method returns a BoModeVisualBehavior value:

Member Description Value
mvb_False The setting in AttrType parameter is false. mvb_ False
mvb_True The setting in AttrType parameter is true. mvb_ True
mvb_Default The item attribute behaves according to the attribute default in the specified form mode. mvb_ Default

See Also