this function create a report in table BEAS_REPORTAUSWERTUNG
object=ue_chargenbuchung=tracerreport=[itemcode]=[distnumber]
or
object=ue_chargenbuchung=tracerreport=[itemcode]=[distnumber]=[sysnumber]
This create the report and return variable "id"
 
object=ue_chargenbuchung=tracerreport=[itemcode]=[distnumber]=[distnumber]
 
// Display only all Batch/Serial inside this product 
select "BATCH_SERIAL_TRACER" into :info from "BEAS_REPORTAUSWERTUNG" where "ID"=<id> and "NR"=1
messagebox=<info>
 
// Display this as List
tools=isql=select "ItemCode","ItemName","DistNumber","Level" from "BEAS_REPORTAUSWERTUNG" where "ID"=<id> Order by "NR"
Follow information available in table BEAS_REPORTAUSWERTUNG
Fieldname  | 
Description  | 
|---|---|
itemcode  | 
Item Code  | 
itemname  | 
Item Description  | 
distnumber  | 
Batch/Serial number (DistNumber)  | 
sysnumber  | 
Batch/Serial sysnumber  | 
version  | 
Item Version  | 
ag_id  | 
'Y' if serial managed, 'N' if not serial managed  | 
aplatz_id  | 
'Y' if batch managed, 'N' if not batch managed  | 
level  | 
the Level in tracer structure  | 
bitmapname  | 
project_green.png if batch released, project_blue.png if not released, project_red.png if locked  | 
pos_text  | 
Status of batch as translated text  | 
colorid  | 
direct link (0), indirect link (grey)  | 
batch_serial_tracer  | 
save distnumber|distnumber|distnumber... as Text information, only in first row  | 
Additional Return code
The function return in variable "value" follow information
100 = Overrun Levels in Tracer
200 = to mutch entries
Settings:
Max. Level of Structures: tracer_maxlevel (default 15)
Max. count of entries: tracer_maxrows (default 200)
Example: Change count of max. levels
setsetup=trancer_maxlevel=20