setRelease

release the measurement position (4 eyes concept)

 

QCOrderMeasurement.setRelease(DocEntry/i,SampleId/c,LineNumber2/i)

 

Only possible if ok flag is released (correct value inside and / or ok-flag released

See

setOK() and setValue()

 

You need to execute this only if releaseManual is not activated.

if releaseManual is not activated, only another personnel can activate this (4-eye concept).

 

jbscript-logo-small

let DocEntry=1024;
let Sample=1;
let Position=10;
let result=bsl.get("QCOrderMeasurement/setRelease(:DocEntry,:Sample,:Position)");

if (result.returnCode != 200)   alert("Release not possible: "+result.returnText);