retrieve data for the object, which defined before
getbykey=value
getbykey=value1=value2
setvar=ll_docentry=3000
// Declare the object "SalesOrder"
declare d=ue_api_sbo
d.getbusinessobject=oOrders
// getbykey - for sales order we need only the document entry
d.getbykey=<ll_docentry>
// now you can change the object
// ...
// at end you update the document
d.update
// and destroy
destroy d
let ll_docentry=3000
let d=ue_api_sbo;
Note:
for numeric values use
getbynum=valueAsNumber