Home / SAP Business One SDK (page 4)

SAP Business One SDK

(BR) Utilizando DI API 9.0 em ambiente IIS

As etapas abaixo norteiam para a configuração correto da DI API v9.0 em ambiente: Microsoft Windows 2012 Data Center Microsoft SQL Server 2012 IIS 8 PHP 5.x SAP 9.0 A instalação de Operação e Banco de Dados será separada, dando mais flexibilidade e segurança para a aplicação. No ambiente 1 …

Read More »

Various SDK tests

While answering to some questions on the forum, it appers that most newcomers are lost with the samples provided with the SDK. Besides that some needs to be refreshed a bit, they don’t necessarily depicts all the API and by the way how they are used by some of the …

Read More »

Checking and removing UDF before updating

While upgrading some databases, we sometimes encounter checks stating that differences exists between UDT – UDF defined at the SQL-Server level and what is configured Inside Business One. One of the “bad side” of these messages is that they don’t tell what are the faulty objects, relying on the administrator …

Read More »

Connecting an add-on to SAP Business One

Presentation Connecting a program to SAP Business One is the first thing every developer has to do and the (not so easy) answer dépends on to which part of the Platform the program has to connect. Basically, the options are: Connect to the Data Interface (DI-API), Connect to the User …

Read More »

Set Default Layout DI API

    Public Sub setDefaultLayout(_LayoutCode As String, _ReportCode As String, _UserID As Integer)         Dim oCmpSrv As SAPbobsCOM.CompanyService         Dim oReportLayoutService As ReportLayoutsService         Dim oDefaultReportParams As DefaultReportParams         ‘Get report layout service         oCmpSrv = B1Connections.diCompany.GetCompanyService         oReportLayoutService = oCmpSrv.GetBusinessService(ServiceTypes.ReportLayoutsService)         ‘Set parameters         oDefaultReportParams = oReportLayoutService.GetDataInterface(ReportLayoutsServiceDataInterfaces.rlsdiDefaultReportParams)         oDefaultReportParams.LayoutCode = …

Read More »

List Object types of SBO Objects.

Hi, I’ve seen some posts asking question  on what does this/that Object Types code represents in SBO objects. Well, if you installed the SDK you can find a list of all the object types. Have a look in  this file : ..SAPSAP Business One SDKSamplesUDOIncludeVS2005\_AppObjects.h This is actually an include …

Read More »

SAP Business One Development Environment

Hi everyone, Here you’ll find the community maintained B1DE version. The source code is hosted on Sourceforge: SAP Business One Development Environment Note that no changes were done to it, other than the strictly necessary for it to compile under the new DLLs. You can download the installers using the links …

Read More »

The secrets of SRF

Most of Sap Business One SDK developers are familiar with the Screen Painter Add-On and its capabilities of creating and configuring new forms in order to implement them later in custom add-ons. It is also well known that the form’s definitions are saved into a XML file (with a default …

Read More »

SAP Business One Table

Dear All, I herewith to share this link of User Defined Tables(UDT) for SAP Business One . This will be helpful which includes Back end Query table, User Queries table so on. The below link http://wiki.sdn.sap.com/wiki/display/B1/SAP+Business+One+Tables Thanks& Regards, Bowya S S

Read More »

DIY Business One automation

DIY Business One automation Automation of SAP Business One with the help of the SDK can be quite simple, but for a lot of not-full-time developers (that means mostly customers wanting to build their own functionality and such), it seems to be quite a nightmare. Judging from a lot of …

Read More »

True Modal form with UI API!

User input screen class Ever needed to get information from your user with a true modal form?  If you try to create an input screen using the UI api, you call “Application.form.Add(……..)” but the code continues to run behind the form. It is impossible to request information from the user …

Read More »

B1WizardBase : LayoutKeyEvent

In the new ver, SBO SDK supports the LayoutKeyEvent. The event allows us to open our crystal report attached to our user form. However, this event is not supported by the B1DE 2.2(which is the latest version available as of this writing.) I have modified the B1Wizardbase.dll to support for …

Read More »

Action Stopped By Add-On–How to handle this type of Error

Hi Brother,              I have customized the Quality Control (QC) Screen , In this Screen have Posting .(Inventory Transfer from QC warehouse to Accepted warehouse) when i add the Record  some time show the following Error Message at Red color in  SAP B1 Status Bar.                                              Action Stopped By …

Read More »

Encryption/Decryption of Password

Hi,      I just want to share my simple Class to Encrypt and Decrypt your text or password. I usually used this when saving as Password in my UDT.      You can download this DLL here. The file password is “SAP”      This class is compatible in any platform, platform …

Read More »

Memory Leak on Form DataTable

The other day, I was developing an add on for one of our customer. The customization requires me to load a considerable amount of data into a datatable bound to a matrix. I noticed on my computer memory usage that each time I open the form, the SBO (not the …

Read More »