Skip to Content

How to change menu name in SAP B1 SDK?

Hi all,

I created addon (system form of Sales Blanket Agreement) which works fine in 64 and 32 bit, but I want to chenge the menu name from Sales Blanket Agreement to Investment in same addon

Which codes may I use to change from Sales Blanket Agreement Menu to Investment in SAP B1?

Please anyone can help me

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 17, 2017 at 12:35 PM

    Hi Rurangwa,

    A sample:

    SAPbouiCOM.MenuItem menu = SBO_Application.Menus.Item("2705");
    menu.String = "Investiment";
    

    2705 is the menu uid of sales blanket agreement, and string property is the menu description.

    Hope it helps.

    Kind Regards,

    Diego Lother

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 17, 2017 at 10:59 AM

    Hi,

    You can do it from SAP Business One Client itself:

    1. From the SAP Business One Main Menu, choose Administration → System Initialization → Document Numbering .
    2. Enter the new name in the 'Change Menu Names' column of the relevant row.

    Hope it helps!

    Kind regards,

    ANKIT CHAUHAN

    SAP SME Support

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ankit,

      Yes, but I want to set that menu new name to specific users that's why I need to code it in my addon

      What are the codes can I use to change that name?

      I tried to review in samples of SDK but there no example which explains to change menu name