Wiki

Scale Your Enterprise

User Tools

Site Tools

mbstring extension must be loaded in order to run mPDF

bw:sending_data_to_the_service_layer

Working with the Service Layer

Transactions sent to the Service Layer for SAP Business One use a JSON data structure. The structures must be structured specifically as the Service Layer expects them to be. The DataBuilder tool is used to create these structures. Information on the DataBuilder tool is found here Introduction to DataBuilder.

In addition, some values must be sent as enumerators. These are specific values that represent other values in the SAP Business One database. A listing of common enumerators is found here SAP Business One Enumerators.

Samples of the JSON structures for key SAP Business One objects can be found in the links below. Data is sent to the Service Layer for SAP Business One using a web service call. This call sends the data to the Service Layer API in a JSON data structure.

JSON Samples

These samples are provided as a way to help understand the structure of the various SAP Business One objects. They are correct at the time they were created but you should always verify them with your version of SAP Business One.

To find further information, open a web browser and enter this will open the API reference for Service Layer.

 https://<YourServer>.<YourDomain>.com:50000/vs/b1

Sales Order

Sales Delivery

Sales Invoice

Business Partner

Purchase Order

bw/sending_data_to_the_service_layer.txt · Last modified: 2020/12/15 12:46 by akoehler