Business Functions
Business Functions provides special features for business use cases. Each Function has an individual set of parameters plus some parameters that are valid for all 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
let result = await app.businessFunction({
//Common Parameters for all functions
functionName: "DhlShiping",
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 (_connect.BRAIN)
GetConnectInfo -> Get information about the connected devices
GetConnectVersion -> Get the version of _connect.BRAIN
SendMessage -> Send a BxNet command to a device
ReceiveMessage -> Receive the asked information from a device
SendCommand -> Send a IxNet command directly to a device
CreateShipment → Creates a DHL Shipping Label.
GetLabel → Shows the shipment Label again.
CreateShipment → Create a DPD Shipping Label.
CreateShipment → Create a UPS Shipping Label.
CancelShipment → Removes existing Shipment
GetLabel → Shows the shipment Label again.
Inventory Movement → Does Inventory Movements within an ERP Setup
Currency Conveter → Converts a currency to another currency.
GS1 Code Splitter → Splits a barcode (or 2d code) into its GS1 AIs an Values.
Last updated
Was this helpful?