Questions tagged [sap-business-one-di-api]
74 questions
1
vote
1 answer
Compiler seems to evaluate every if statement even if conditions not met in SQL
I have a stored procedure of a bit over 300,000 lines, and this is my first time working on something of this size.
here is an example of the code I'm writing :
IF (@type = 'commande client')
AND @etat = 'ouvert'
BEGIN
IF (@tiersd = '')
AND…

Hamza El Alamy
- 21
- 5
1
vote
1 answer
SAP B1 DI-API replaces character on save
I wrote a small c# service importing tracking numbers to a single UDF separated by a , character (comma). The problem is that occasionally (maybe every 200th document) a comma is saved as a semi-colon.
A kind of similar issue I have is with the…

Phil
- 135
- 9
1
vote
1 answer
Creating a module in SAP Business One SDK
I'm trying to create a new module in SAP B1 SDK with visual studio (C#), and I have those variables inside the main class :
public static SAPbouiCOM.Application oApplication = null;
public static SAPbobsCOM.Company oCompany = null;
public static…

Siham
- 89
- 1
- 1
- 4
1
vote
2 answers
Cannot save some fields like 'Telephone', 'Email', 'Tax',.. of Sales Employee using DI API
I want to add (or update) sale employee (database table: OSLP) using DI API. The object to use is SalesPerson, but in its public properties I dont see 'Telephone', 'Mobile', 'Fax',... I just added successfully a record without these properties, it…

NULL
- 13
- 1
- 4
1
vote
4 answers
SAPB1 and django integration
im working on a new project where by i wish to be able to build a django project around an existing SAPB1 application that is in production. My goal of doing so is to be able to extract certain information from SAP database and sync them with my…

neowenshun
- 860
- 1
- 7
- 21
1
vote
1 answer
SAP Business One Add BP Campaign Using C#
I want to generate a campaign of Business Partner in SAP B1 using DIAPI. Can anyone helpme with this.
user9273506
1
vote
0 answers
IIS Web API Connection Was Reset
I've web API hosted on IIS.
I've been getting "Connection Was Reset" on random times as a response to my API Calls. and after several retrial my request gets a proper response
I've checked HTTPERR and found a lot of…

Bilal Sultan Al-Tamimi
- 13
- 1
- 5
1
vote
1 answer
SAP Business One DI API at item creation should inherit some fields from item group
In SAP Business One client, imagine you want to add a new item. You set code, name and group. When you set the group SAP proposes to inherit some fields from such item group. You can choose yes or no.
If you do the same thing with DI API, of course…

bluish
- 26,356
- 27
- 122
- 180
1
vote
1 answer
Error R6025 on add Line on Invoice Document - SAP DiApi
While integrating invoices into SAP in my Java application on Windows, I am having the following error "R6025 - Pure virtual function call".
However, my application runs on multiple clients in a single version and I have no problems with any of the…

Vitor G. Delgallo
- 27
- 4
1
vote
0 answers
I try to add SEZ Invoice in intrastate using interstate tax code using DI API in SAP B1, but i am getting error select tax code for intrastate B1
I am trying to add invoice using DI/API for SEZ unit , As per SAP it takes IGST taxcode (Interstate) but when i am going to add through DI/API with above Showing in code but SAP throws error for Select (SGST+CGST) taxcode.
Code is available here …

Shubham Todkar
- 11
- 3
1
vote
1 answer
Class not registered COM DI API PHP
I'm trying to use SAP DI API for SAP B1 with PHP.
I'm using COM object like this :
server = "193.0.0.241\SAP";
$CompDI->CompanyDB = "Company_Test";
$CompDI->username =…

Thomas Rollet
- 1,573
- 4
- 19
- 33
1
vote
1 answer
How to get all orders?
I am using SOAP UI to use the B1WS/WebReferences WSDL's and was wondering if there is a way to get all orders back from it.
I am using SAP Business One and need to get all orders back as a request in that, I have found a method called getBPlist()…

Kieron Martin Peters
- 195
- 1
- 13
1
vote
1 answer
How to get a list of all company accounts?
I'm trying to get list of all company accounts using SAP Business One (B1 or BO) Data Interface API (DI API) for .NET.
An account is represented as ChartOfAccounts SDK's type.
I can't figure out if there is a way to do something like this (it's how…

Alexander Abakumov
- 13,617
- 16
- 88
- 129
1
vote
1 answer
How to connect SAP B1 9.0 or 9.1 with PHP 5.5.30?
I have a problem related to SAP B1 and PHP 5.5.30 connection.
Actually I know how I can connect PHP direct to SAP B1 Database but that is not good way of connection and it's not supported. So what I need to do is to connect PHP with SAP B1 but not…

Schadrack Rurangwa
- 413
- 12
- 28
0
votes
0 answers
when Export to pdf from SAP font Size decreased
My problem is very simple, I designed a crystal report (2013) and then put it on SAP business one, but when I extract report as pdf from SAP, the font size decreases from as usual,
I tried the changes in registry key, i.e. **HKey_Local_Machine, **…