biuan SAP® BUSINESS ONE SDK
DTW Others / MultiLanguageTranslations
API User Menu Service / Update Current User Menu

Description

Replace current User Menu with another User menu (UserMenuItems).

Syntax

Visual Basic
Public Sub UpdateCurrentUserMenu( _
   ByVal pIUserMenuItems As UserMenuItems _
) 

Parameters

pIUserMenuItems

The UserMenuItems data collection that defines the new user menu.

Example

Update Current User Menu
UpdateCurrentUserMenu (Visual Basic)
Dim oUserMenuItems As UserMenuItems Dim oUserMenuItem As UserMenuItem 'get Current User Menu oUserMenuItems = oUserMenuService.GetCurrentUserMenu() 'get the first menu item oUserMenuItem = oUserMenuItems.Item(0) 'set the menu item name oUserMenuItem.Name = "My Forms" 'update the User Menu oUserMenuService.UpdateCurrentUserMenu(oUserMenuItems)

See Also

Related information


User Menu Params UserMenuParams Object· Table: CUMI
The UserMenuParams specifies the identification key (UserID) for which the UserMenuService is related. Source table: CUMI.
   Parent: User Menu Service UserMenuService Service· Table: CUMI

User Menu Service Data Interfaces UserMenuServiceDataInterfaces Enumeration
UserMenuService data interfaces.
   Parent: User Menu Service UserMenuService Service· Table: CUMI

User Menu Service UserMenuService Service· Table: CUMI
UserMenuService manages the user menu. Source table: CUMI. The service maintains a collection of user menus, each identified by a specific value of UserMenuParams. It enables the user to: Get current user menu definition. Get any user...



SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates