A collection of the current menu items in the SAP Business One menu tree.
Use the Menus collection to access a menu item:
- By unique ID
- By index (0-based)
You can directly access any menu item in the application's menu tree by using its unique ID, or you can traverse the menu tree by using an index at each level, which returns the menu item at a specified position in the current level. This property (Application.Menus) returns the top-level menu items.