BSL and JBScript

BSL Statement allow you to connect to the Beas internal

bsl Beas Service layer System

 

Note: The BSL Statement don't need a Rest service. The BSL is inside the framework and this object can connect directly to this service.

 

Function

Description

get(String Get)

Execute the get command and return a value or object

post(String Entity,String Body)

Execute the post command and return object with the result

 

put(String Entity ,String Body)

Execute odata put command

delete(String Delete)

Execute odata Delete command

update(String,Strong Body)

Execute odata update command

 

Funtion Call  by Object Name

Property

Description

ObjectName

Return the BSL object as bslObject

Here you can execute functions

Example

 

let UoM=bsl.UoMConversion;
let quantity=UoM.QtyConversion("Pcs","TPcs",10,10,10,1.5,0,4).quantity;

 

or short variant

let quantity=bsl.UoMConversion.QtyConversion("Pcs","TPcs",10,10,10,1.5,0,4).quantity;