Skip to Content
0
Former Member
Jul 22, 2016 at 09:53 AM

How to organize the code for an Add-on

47 Views

Hello !

I am trying to create an add-on with as a main function a research in a userdefined table .

I created a user form in SAP Business One Studio . And then , I created a SAP Business One

project with the form imported as b1s file in SAP B1 Studio for MS Visual Studio .

In this project , i have three files : menu , module1 and the form file .

But now , i am confused : where can i write my code ? If a create a new class , where should i make the call ?

For me , it seems that all i can do is handling the event of the form directly ..

Also , the ui api is already connected to the client but i don't know how to connect the DI API ?

SAP B1 9.1 PL5

Visual Studio 2013

SQL Server 2012

Regards ,

Massicilia Nedir