cancel
Showing results for 
Search instead for 
Did you mean: 

How to click on Last Data Record Menu button - 1291 - programmatically in SAP B1 addon

kinyanjuikamau
Explorer
0 Kudos

Hello,

I have an addon and I am trying to simulate the "Add and View" feature in SAP B1 Version 10. I have a UDO form and want to "click" on the last record programmatically so a user can see what they have added instead of pressing on the button themselves. How does one do that?

Regards,

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi kinyanjuikamau,

ActivateMenuItem() method simulates a user click on a menu item.

You can use the same.

Hope it helps!

Kind regards,

ANKIT CHAUHAN

SAP Business One Support