SAP Business One SDK

Inventory Counting in SAP Business SDK

About Inventory Counting: Inventory counting (also known as Stock Taking/Stock Counting) helps you to keep track of your inventory. Inventory counting is crucial to any company that manages an inventory, be it perpetual or periodic. By matching the actual inventory to the quantities saved in the database, companies can adjust existing inventory records, detect unusual or unacceptable discrepancies, and improve inventory management. After creating an Inventory Counting document to record …

Read More »

Using DI API Global Transactions

Definition: When a data operation is performed on a business object, a transaction is started. If the operation is successful, then a Commit is issued and the data is saved. If the operation fails, then a Rollback is issued and the data is discarded. This kind of transaction handling is sufficient as long as only one business object is being modified. If you want to perform a consistent transaction that …

Read More »

How to use ‘RecurringTransactionService’ Object?

Starting from SAP Business One Version 9.2 PL05, you should be able to use “RecurringTransactionService” Object in order to perform the following: Get list of all available recurring transactions. Get information about particular recurring transaction. Remove set of recurring transactions. Execute set of recurring transactions. This can be done following ways: protected SAPbobsCOM.Company Comp = null; protected SAPbobsCOM.CompanyService SrvCompany = null; protected SAPbobsCOM.RecurringTransactionService SrvRecurringTransaction = null; 1. Get List of …

Read More »

DI API and UI API Change List

Here, I am sharing the DLL change document which shows the differences in DLLs between two patches. Use the link below to access this document: Access Change List Document It will provide you the following information: Contents removed in a patch. Contents added in a patch. Contents modified in a patch. Document contains the information as below: Namespace: It will tell you a scope that contains a set of related objects. …

Read More »

B1 Assistant – Retire your keyboard with SAP Business One and Alexa

You’ve probably heard about a prototype we demo at the ASUG Summit in Miami. The proposal was to present how easy companies can embrace the digital economy transforming their business on daily tasks (if you haven’t seen that before, you are probably not following the right people on twitter). A bit different from what some of you asked me, this is not a core feature of SAP Business One (I …

Read More »

While deploying extension on Cloud, you find that the add-on stays in ‘To Install’ status in Cloud Control Center

While deploying the extension on Cloud, you find that the add-on stays in ‘To Install’ status in Cloud Control Center. Below are the possible solution and troubleshooting steps: Restart SAP Business One Client Agent service on presentation server. If this add-on was deployed before, then clear this add-on from Cloud Control Center and presentation server. (CCC) Recommended steps: Unassign add-on from the Tenants. Undeploy add-on from service units times. Remove …

Read More »

Script Engine – new Service Layer feature!

With SAP Business One 9.2 PL04, version for SAP HANA the Service Layer has been enhanced with a new feature called Script Engine!   This new feature allows partners and customers to develop their own script extensions that can be embeded and executed by Service Layer. The script engine feature give a powerfull opportunity to build complex transactions in a single oData request being handled by the Service Layer Script …

Read More »

How to Programmatically Open a System Form

UPDATE: The code posted below is not the best way to accomplish this task. Instead use the OpenForm method in the Application object. (Pedro Magueija points this out in the comments section below.) My add-on needed the ability to programmatically open a related form just the way the LinkedButton object does. In my case, my users will be editing a Sales Order form, and they need to pop open a …

Read More »

SAP Business One Service Layer – TypeScript autogeneration

In a previous blog SAP Business One Service Layer HANA XS sample I shared with you a sample we have developed in HANA XS (Java Script) connecting to SAP Business One Service Layer. In this blog I’ll like to give you some details about the TypeScript auto generation source code that was used to create the client side proxy class “B1SLReference.js”.   The auto generation source code includes two C# …

Read More »

SAP Business One Service Layer HANA XS sample

I’ll like to share with you a sample we have developed in HANA XS (Java Script) connecting to SAP Business One Service Layer. This sample uses a proxy class in order not to directly call SAP Business One Service Layer from the client side but from the server side. This option allows you to encapsulate your own business logic on the server side. The sample provided contains a HANA XS …

Read More »