Skip to Content
author's profile photo Former Member
Former Member

How to organize the code for an Add-on

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 25, 2016 at 01:07 AM

    Hi Massicilia,

    Did you install the B1Studio for Visual Studio ?

    Install it and try to create a project using the provided VS template.

    It should get you up and running.

    Regards

    Edy

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.