Skip to Content
avatar image
Former Member

How to create authorization thru SDK..?

Hi all,

I want to block this item description so users do not change this item description. Besides, how to block on discount column so user does not change it, too.

But if users know to choose Form Setting menu and they are able to changing this menu. Users can tick and untick into menus.

How to create or restrict Form Setting Menu so users do not change this menu? I do not want to hide this menu because if we clicked right click on mouse so this menu appear on menu bar. This is no good solution.

How to create authorization thru SDK..? I think this a good solution and users never know this thing about.

Please help me about this matter...

Regards,

Agung

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 02, 2008 at 06:30 AM

    Hi,

    If the requirement is on a small scale and u have only a few no of users (To Restrict) and only a few forms, what i did was

    1.Get the curently logged in user.

    2.Check if he is a restricted user.

    3.Check if the form opened is a restricted form for the user.

    4.Then on the form load or on the ITEM (UID 1) make bubble event to FALSE and show msg that the user is not supposed to make the changes.

    This is what i did as mine was limited to only some forms...:)

    Hope this helps u..

    Vasu Natari.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 02, 2008 at 07:24 AM

    Hi,

    when you want the user to add the document but some columns or items are restricted

    use the GOT_FOCUS event and set the cursor the a other column/item.

    alternative you can catch the KEY_DOWN event.

    lg David

    Add comment
    10|10000 characters needed characters exceeded

    • Hi 😊

      the SDK installation should be on the SAP Installation Disk or in the Zip from the lastest patch.

      when you install it you get a new directory in your SAP installation folder.

      example:

      C:\Programme\SAP\SAP Business One SDK

      there you have the whole documentation for all objects, events, etc.

      and also sample which should help you to start developing.

      lg David