cancel
Showing results for 
Search instead for 
Did you mean: 

how to obtain system form's type and count?

Former Member
0 Kudos

Hi all

i wish to open a system form by calling the GetForm method of the Forms collection.

My question is how do i know the form's type and count in order to get it?

appreciate the help

Yoav

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

you cannot open a system form directly. You have to simulate a click on the menu.

oApplication.ActivateMenuItem("2561") - to open BP system form

Former Member
0 Kudos

Hi

thanx for the reply. question is how do i konw which number opens the form. in my case i want to open the Activity form how do i know which number corrosponds to this form?

appreciate the help

Yoav

Former Member
0 Kudos

To open Activity form, you need to have the menuUID.

in order to get it , Click on View of the toolbar, and then System Information

(or CtrlShiftD)

Now I guess you know you have more information about items in forms and menu on the bottom left corner of Business One.

Then in the toolbar, click on Modules, Business Partnet, and put the mouse on the menu Activty.

You will see in the bottom left corner the value:Menu Uid = 2563

HTH

Sebastien

Former Member
0 Kudos

thanx again

Message was edited by:

YECHIEL SCHUSSEIM

Answers (0)