📚 SAP Business One SDK Help

UserMenuService Object
See Also  Members 

Description

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 menu definition from the collection by it params identification key.
  • Update user menus in the collection.
  • Replace current user menu with user menu from the collection.

Object Model



Remarks

To use the service:

  1. Connect to a valid company.
  2. Call the CompanyService, which is the main DI service that you must call before using any other service.
  3. Call the method GetBusinessService for the required service.
  4. Create an empty data structure related to the required service.
    - or-
    You can create a data structure from an XML file or XML string.
  5. Set the required properties of the specified data structure.
  6. Call the required service method.

To display the form in the application:

  1. Select Main Menu--User Menu Tab

Example

See Also