Connectors / Service / SAP Business One

SAP Business One

SAP Business One

SAP Business One is one of SAP's enterprise resource planning (ERP) services.

Overview

SAP Business One is one of SAP's enterprise resource planning (ERP) services designed for small and medium-sized enterprises. With flexibility and scalability in mind, SAP Business One helps you to connect and streamline your business needs.

Authentication

Within the workflow builder, highlight the SAP Business One connector.

In the SAP Business One connector properties panel to the right of the builder, click on the Authenticate tab and the 'Add new authentication' button.

This will result in a Tray.io authentication pop-up modal. The first page will ask you to name your authentication and select the type of authentication you wish to create ('Personal' or 'Organisational').

The next page asks you for your SAP Business One instance details and authentication credentials as you can see in the below image:

In order to get these fields, please consult your SAP Business One service provider guides as the process may differ based on your cloud service provider.

PLEASE NOTE: The `Instance URL` is the full public URL of your SAP Business One server instance (e.g. `https://your-server.region.cloud-service-proivder.com`).

Once you have added these fields to your Tray.io authentication popup window, click the 'Create authentication' button.

Go back to your settings authentication field (within the workflow builder properties panel), and select the recently added authentication from the dropdown options now available.

Your connector authentication setup should now be complete.

Available Operations

The examples below show one or two of the available connector operations in use.

Please see the Full Operations Reference at the end of this page for details on all available operations for this connector.

Notes on using SAP Business One

Add object and Update object

Add object and Update object operations accept an XML request shaped as a JSON object.

The following XML request:

<BOM>
<BO>
<AdmInfo>
<Object>
oBusinessPartners
</Object>
</AdmInfo>
<BusinessPartners>
<row>
<CardCode>
000
</CardCode>
</row>
</BusinessPartners>
</BO>
</BOM>

becomes the following JSON object:

{
"BOM": {
"BO": {
"AdmInfo": {
"Object": "oBusinessPartners"
},
"BusinessPartners": {
"row": {
"CardCode": 000
}
}
}
}
}

For further examples and XML structures please consult the SAP Business One documentation or use the Get business object template operation to get a JSON formatted example.

BEST PRACTICES: Whenever you do decide to create your own workflow, please make sure you take a look at our Managing data best practices guide.