---
description: >-
  Business Functions provide special features for business use cases. Each
  function has an individual set of parameters plus some parameters that are
  valid for all business functions.
---

# Business Functions

## Parameters

```
 functionName - the name of the business module
 methodName - some business functions provide several operations
 silentMode - if you set this to true, the Gebra Suite will not show a message if something goes wrong. You will still get the errorMessage, to handle the error case in your event code.
```

## Example Usages

```javascript
let result = await app.businessFunction({
  //Common Parameters for all functions
  functionName: "DhlShipping",
  methodName: "GetLabel",
  silentMode: true, //false is default. If set to true, the Gebra Suite will not show an error message box. it is up to you to inform the user.

  //Individual paremeters for each business case. DHL Label as an example here.
  shipmentNumber: app.getFieldValue("cordShipmentNumber"), //We saved this number before and stored it to our Order
});
window.open(result.labelUrl, "_blank");
```

## Business Functions

* [Bizerba Soap](businessfunction/bizerba-soap) (\_connect.BRAIN)
  * [GetConnectInfo](businessfunction/bizerba-soap/getconnectinfo) -> Get information about the connected devices
  * [GetConnectVersion](businessfunction/bizerba-soap/getconnectversion) -> Get the version of \_connect.BRAIN
  * [SendMessage](businessfunction/bizerba-soap/sendmessage) -> Send a BxNet command to a device
  * [ReceiveMessage](businessfunction/bizerba-soap/receivemessage) -> Receive the asked information from a device
* [Bizerba TCP/IP](businessfunction/bizerba-tcp-ip)
  * [SendCommand](businessfunction/bizerba-tcp-ip/sendcommand) -> Send a IxNet command directly to a device
* [DhlShipping](businessfunction/dhl-shipping)
  * [CreateShipment](businessfunction/dhl-shipping/createshipment) → Creates a DHL Shipping Label.
  * [GetLabel](businessfunction/dhl-shipping/getlabel) → Shows the shipment Label again.
* [DhlExpressShipping](businessfunction/dhl-express-shipping)
* [DPDShipping](businessfunction/dpd-shiping)
  * [CreateShipment](businessfunction/dpd-shiping/createshipment) → Create a DPD Shipping Label.
* [UPS Shipping](businessfunction/ups-shiping)
  * CreateShipment → Create a UPS Shipping Label.
  * CancelShipment → Removes existing Shipment
  * GetLabel → Shows the shipment Label again.
* [Inventory Movement](businessfunction/inventory-movement) → Does Inventory Movements within an ERP Setup
* [Currency Conveter](businessfunction/currency-conveter) → Converts a currency to another currency.
* [Datev Export](businessfunction/datev-export)
  * [Datev Export SqlDataRead Example](businessfunction/datev-export/datev-export-sqldataread-example)
  * [Datev Export sqlMainData Example](businessfunction/datev-export/datev-export-sqlmaindata-example)
  * [Datev Export sqlGetCounter Example](businessfunction/datev-export/datev-export-sqlgetcounter-example)
* [GS1 Code Splitter](businessfunction/gs1-code-splitter) → Splits a barcode (or 2d code) into its GS1 AIs an Values.
* [Diamant API](businessfunction/diamant)
  * [Reading data](businessfunction/diamant/reading-data)
  * [Writing data](businessfunction/diamant/writing-data)
  * [Uploading files](businessfunction/diamant/uploading-files)
  * [Test connection](businessfunction/diamant/test-connection)
