Product: SetScreeningResult

Called to set the current screening result for the product item

Function

void SetScreeningResult(value: integer);

Parameters

Name Type Description
value integer The value to set as the current result

Return Value

None

Example

Reading the current screening result

var screeningResult = 0;
var array = product.ScreeningData;
if (array.length > 0) { // get the result from the results array
    screeningResult = array[array.length - 1];
}